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)
-   -   Creating new Menu for Static Pages (https://forum.x-cart.com/showthread.php?t=24054)

Zaja 08-12-2006 05:59 AM

Sorry, my mistake, I forget capture menu code, use this code:

Code:

{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *}
{capture name=menu}
<div class="categories">
{section name=pg loop=$pages_menu}
&raquo;{$pages_menu[pg].title}
{/section}
</div>
{/capture}
{ include file="menu.tpl" menu_title="Sell Books" menu_content=$smarty.capture.menu }


soyuz02 08-12-2006 06:12 AM

Got it thanks.

Very greatful for your effort!

soyuz02 09-13-2006 07:54 AM

Re: Creating new Menu for Static Pages
 
I cant get the menu to show up any more in 4.1.3. Any ideas whats wrong?

sunset 10-29-2007 05:09 AM

Re: Creating new Menu for Static Pages
 
Hi there

I have followed the exact instructions in the first part of this thread. So that was a success creating the first help menu in the left hand vertical menu on my site.

However, I cant for the life of me, change the first help label. I want a new menu title for the block of links called FAQ, Links & Colour Chart, but just cant seem to get it right. Can anyone shed some light: My store below is:
http://www.sunsetcrystals.com.au/home.php?shopkey=1234

Hoping someone can shed some light.

Thanks

chamberinternet 10-29-2007 07:43 AM

Re: Creating new Menu for Static Pages
 
That should be a language variable called 'lbl_help'.

But i'd suggest you create a new variable as i'm guessing lbl_help is probably used in other areas of the XC site as well as the administration area.

sunset 10-29-2007 03:16 PM

Re: Creating new Menu for Static Pages
 
Thanks for your reply chamberinternet.....i have now changed it and it works great.

sunset 10-29-2007 03:18 PM

Re: Creating new Menu for Static Pages
 
Just another question, if i only want one of the static page links to go in the new menu, and leave the rest in the help menu, what coding do i use to do that?

chamberinternet 10-30-2007 01:09 AM

Re: Creating new Menu for Static Pages
 
These two posts should answer your query:

http://forum.x-cart.com/viewtopic.php?t=30112
&
http://forum.x-cart.com/showthread.php?t=24113

sunset 10-30-2007 02:21 AM

Re: Creating new Menu for Static Pages
 
Brilliant chamberinternet...really appreciate your help.

vivienne 11-06-2007 02:24 AM

Re: Creating new Menu for Static Pages
 
I copied the code from Zaja but had to change the menu_cat.tpl to menu.tpl for it to work in my 4.1.8 - not sure if that is a right thing to do but it seems to have worked.

{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *}
{capture name=menu}
<div class="categories">
{section name=pg loop=$pages_menu}
&raquo;{$pages_menu[pg].title}
{/section}
</div>
{/capture}
{ include file="menu_cat.tpl" menu_title="Sell Books" menu_content=$smarty.capture.menu }


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

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