| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
templating in 4.2.2 and folder structures | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
templating in 4.2.2 and folder structures
Hi,
I have built a number of xcart stores in 4.2.2 and have just started using 4.4.2 today. From what I can see the skin folder now contains a common files and a folder for each template. I can understand why this has been done, so that you can switch between the pre installed themes easily. However, I am finding it difficult to implement a new custom theme as i have to find template files across two folder structures. What decides if a file should be in common_files/customer or {yourtheme}/customer? Should I not touch the files in common_files at all and just edit {yourtheme}/customer? Is the idea that a file in your theme folder overrides a file in the common_files folder. I have read through the latest menual updates and there is no explanation for this. Any ideas? |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: templating in 4.2.2 and folder structures
I think the way ot works is that XC is looking for the file in {yourtheme} - if it finds one will use it if not will use the one form common_files. You can leave common_files as is and any template you want to change just recreate files structure in {yourtheme} and have copy of that file there.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: templating in 4.2.2 and folder structures
Thanks for that.
Should have asked this from the beginning before hacking away at the common_files. That all makes sense and much better way of doing it |
|||||||||
|
|||
X-Cart forums © 2001-2020
|