![]() |
Help: Logic to specify what pages .tpl text editing shows up on
I have recently discovered that I can add text above and below the tables in x-cart pages by editing the dialog.tpl file. What I DON'T want to happen is for the text I am entering to show up on all of my pages (only the product and products pages, that is what I call product thumbnail pages and product detail pages). Can someone tell me how to apply logic to .tpl pages so my editing will only apply to certain pages?
Thank you! |
Re: Help: Logic to specify what pages .tpl text editing shows up on
Either use {if} statements to only show items on product and category pages, or create a duplicate of dialog.tpl and call that from subcategories.tpl and product.tpl.
|
Re: Help: Logic to specify what pages .tpl text editing shows up on
You would probably be better off to edit the product.tpl and products.tpl pages to add the text you want around the dialogs there.
|
All times are GMT -8. The time now is 01:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.