Guest KillerBuzz Posted April 17, 2007 Share Posted April 17, 2007 I need to move the functionality of: <!-- BEGIN: cat_img --> <img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" /> <!-- END: cat_img --> Found in \styleTemplates\content\viewCat.tpl to function correctly in \styleTemplates\global\index.tpl any ideas on how to repoint that loop to a new files? THANKS! Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 17, 2007 Share Posted April 17, 2007 {IMG_CURENT_CATEGORY} places the current category image on the viewCat page. It is the image of the category you are in. Since you are not in any category on the home page, your request really doesn't make any sense. You have to code the php file to make this work in a differennt tempolate file, but still would place a "current category" image on a page that is not a category page :rolly: Quote Link to comment Share on other sites More sharing options...
Guest KillerBuzz Posted April 17, 2007 Share Posted April 17, 2007 Unfortunitly, Im in the middle of a complicated template mod, which uses both a "brands" and "advanced expanding dynamic cataroies" mod, plus a designer who has the catagories image located all the way across the page, rather than just the {PAGE_CONTENT} section. Maybe a better question is, how do I get it to go all the way across the page and above the "colLeft" and "colMid" div tags? Quote Link to comment Share on other sites More sharing options...
Guest diazangulo Posted June 21, 2007 Share Posted June 21, 2007 hi, im working some months ago to add the current category image in the product page, but im very sad cause i cant did it, i really dont know how can do that, i tryed to add the same code that be in viewCat_inc.php in viewProd.inc.php and add the tags in viewprod.tpl but doesnt work, if anybody can help me i will be very very glad. Quote Link to comment Share on other sites More sharing options...
markscarts Posted June 22, 2007 Share Posted June 22, 2007 The original quaetion posted did not make so much sense, but as to your question, not too tough I thin. You can make the code work in viewProd.tpl but you have to mod includes/content/viewProd.inc.php with code from includes/content/viewCat.inc.php regarding the category image in order to make this work. 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.