X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add New side menu box (https://forum.x-cart.com/showthread.php?t=49702)

rct 09-15-2009 11:57 AM

Add New side menu box
 
Hi,

I am trying to add a new side menu ..vertical menu box on the right. I understand that I need to edit in home.tpl.

<div id="right-bar">
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/button.tpl"}
{/if}
{if $active_modules.Feature_Comparison && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{include file="customer/misc.tpl" } <-- I added this.
************************************************** ***************
Then I have add a new tpl call misc.tpl. ( this might be wrong)
{*
$Id: menu_Miscellaneous.tpl,v 1.8 2008/10/29 16:50:48 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $miscellaneous_menu ne ''}
{capture name=menu}
<ul>
{foreach from=$miscellaneous_menu item=m}
<li><a href="miscellaneous.php?manufacturerid={$m.manufac turerid}">{$m.manufacturer}</a></li>
{/foreach}
{if $show_other_miscellaneous}
<li><a href="miscellaneous.php">{$lng.lbl_misc}</a></li>
{/if}
</ul>
{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_misc content=$smarty.capture.menu additional_class="menu-Miscellaneous"}
{/if}

************************************************** *************
added the label in language. Not sure what else do I have to edit or add in order for the box to appear on the customer website? Please advice. Thanks in advance.

candc 09-15-2009 01:06 PM

Re: Add New side menu box
 
You should find everything you need here

http://forum.x-cart.com/showthread.php?t=47197

HTH

rct 09-15-2009 02:44 PM

Re: Add New side menu box
 
Thanks for the link!


All times are GMT -8. The time now is 12:14 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.