| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help: Logic to specify what pages .tpl text editing shows up on | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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.
__________________
Richard Williams Rogue Wave Limited Initial Inventory Imports Daily Inventory Updates Daily Inventory Reports Drop Ship Support Order Export to Shipper/Supplier Shopping Feeds That Work Programming for X-Cart richard@roguewavelimited.com http://www.roguewavelimited.com |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|