View Single Post
  #4  
Old 08-25-2015, 04:11 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: XCart 4 - How to know which template is used in a particular section of the page?

Quote:
Originally Posted by aneel13
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?
1. Use the 'Webmaster mode', it will show you the whole structure of templates on the current page. Check the 'Tools' > 'Webmaster mode' section in your admin area to activate it.
2. You will need to manually specify templates you'd like to use in your code. X-Cart 4 will not overwrite them.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote