![]() |
layout change
home.php picks customers/home.tpl
product.php also picks customers/home.tpl but for products.php no tpl file is associated. how can i declare a .tpl file for products so that i can design my layout as needed. thanks |
Re: layout change
products.php performs search (with include/search.php) and results are assing to search_result.tpl which calles other tpls...
|
Re: layout change
i have created a categories.tpl and i want this layout to be applied for only subcategories and products under a category.
How can i do this. any help? Quote:
|
Re: layout change
Use an if statement something like
{if $cat eq 'xxx'} {include file=" yyy.tpl"} {else} {include file="zzz.tpl"} {/if} |
Re: layout change
should i add this in home.php ?
and how can i make this work for all categories not for one category |
Re: layout change
Use it in the template that calls the template you want to replace and you can use it for any category. webmaster mode will tell you which template
|
All times are GMT -8. The time now is 06:34 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.