![]() |
XCart 4 - How to know which template is used in a particular section of the page?
I have a couple of questions concerning the XCart 4 templates:
1) How to know which template is used in a particular section of the page? 2) I am developing new modules, so how can I make sure that my tpl files are being used instead of tpl files from some other modules? |
Re: XCart 4 - How to know which template is used in a particular section of the page?
Not 100% on the answer to the 2nd question..
But on your 1st query - I would enable Debug Mode which outputs all the smarty variables and tpl files being used on any given page. |
Re: XCart 4 - How to know which template is used in a particular section of the page?
1. admin general setting - debug mode.
You can also enable development mode from config.php if you want to see all php messages 2. XC4 is not like XC5 - whatever template you tell it to use that would be the one to use. The change is manual so another module will not run its templates unless files are modified to do so. |
Re: XCart 4 - How to know which template is used in a particular section of the page?
Quote:
2. You will need to manually specify templates you'd like to use in your code. X-Cart 4 will not overwrite them. |
Re: XCart 4 - How to know which template is used in a particular section of the page?
After debug and webmaster mode on. Only the colour has changed for the site. How to find out the tpl files being used?
|
Re: XCart 4 - How to know which template is used in a particular section of the page?
Quote:
Please make sure that popup windows are allowed in your browser. |
Re: XCart 4 - How to know which template is used in a particular section of the page?
Yes got it
|
All times are GMT -8. The time now is 12:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.