View Single Post
  #3  
Old 11-12-2002, 03:14 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Quote:
I'd like to add my own set of templates rather than edit .../skin1

How can I add this and get the system to recognize it? I've been hunting around in the admin area, but I can't find anything to change to a different template set.

The settings for the skin1 side of things are within the install.php file
Code:
$templates_repository = "skin1_original"; $schemes_repository = "schemes"; $templates_directory = "skin1";
The code below that then creates a new directory called "skin1" and copies all templates from skin1_original.

Therefore if you were wanting to use you own complete template set, probably easiest to creat a copy of the templates within site1_original to your own directory, then do a fresh install of x-cart with the newly amended install.php site.

My question is why?

It is far easier to edit the skin1 templates and create a totally custom built site rather than editing the way that x-cart works where you could potentially have numerous bugs. Also, going down this route, would mean that future upgrades would be even harder and very few people on this forum could help if it went wrong.

Sorry to be a messenger of doom, but do weigh up the advantages and disadvantages before going there.

Funkydunk
__________________
ex x-cart guru
Reply With Quote