| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding new categy box on left side | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() 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
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
#12
|
|||||||
|
|||||||
![]() 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!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#13
|
|||||||
|
|||||||
![]() 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:
thanks in advance for the help... |
|||||||
#14
|
|||||||
|
|||||||
![]() 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
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
|
|||
X-Cart forums © 2001-2020
|