![]() |
Re New Category Box
Hi, I thought this question would answer my search, but no....
I want to actually add a menu to the Left Side. I Have Categories, Special, and Help by default. I want to add another menu for FAQs to have information on various product components. Can I do this??? vixnfox |
If you want to add a new menu, try these steps:
1. Copy one of the existing menus (special.tpl is an easy one) and create a new template. 2. Remove the code for the 'special' link in the new template, and add your own links. 3. Add the menu to customer/home.tpl (just copy the way special.tpl is called and change the name). Done! |
okay, I have been to that thread with no luck so far... And I really need to figure this out so I can continue with making the shop look better :)
here is my code for the subcategories.tpl please help please!!! I have not found out how to do it... Code:
{* $Id: subcategories.tpl,v 1.29 2002/11/26 14:55:13 alfiya Exp $ *} thanks in advance for the help... |
sorry to hijack your thread glow, just a thanks to Balinor (again!! what a man) for sorting my problem.
I am about to create a new menu. Taking balinors idea a little further, I just tracked the includes from home.php. After a while (cos I only had this thing a few days) you get the idea how the logic goes. The key is in $smarty->assign("main", <your name>"; in home.php home.php includes skin1/customer/home.tpl which itself includes home_main.tpl, and its here that the $smarty-> is switched, {if $main eg "yourname" } ( include file ="customer/main/yourname.tpl" } yourname.tpl of course is your stuff you want displayed. A start is to duplicate the "special" menu. In home.php, under the include special.tpl add {include file="skin1/customer/yourname.tpl"} duplicate special.tpl as yourname.tpl into skin1/customer You now have 2 "special" menus. Replace the .tpls with your own. Dont know if this helps you, but I felt good after I worked it out. vixnfox cheers from Oz |
All times are GMT -8. The time now is 06:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.