Guest Posted August 23, 2007 Share Posted August 23, 2007 I am trying to figure out if its possible to make some sort of if/else statement in the template files. I want to have some items that show up through out the site but not on the home page and some things want on the home page and no ware else. I think with learning how to do this I can make awesome skins by controlling the style of my layout by including or excluding items on the home page. I just need help finding out if there's any info about this on the forums or if anyone knows how to accomplish this. Quote Link to comment Share on other sites More sharing options...
markscarts Posted August 23, 2007 Share Posted August 23, 2007 you cannot use an if/else conditional in template files, XTemplate system allows only html, placeholders and parsing markers in template files. Each template file has a corresponding php file, most of these are found in includes/boxes and includes/content The global .tpl files correspond to the php files in the root of your store. Look to the php files to find solutions you seek. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.