![]() |
New menu for Static Pages
Hi,
I wanted my static pages to appear in a new menu rather than the help menu. The first thing I did was to go to the help.tpl file and quoted out the include: {*{include file="pages_menu.tpl"}*} I then created a new menu rsinfo_menu.tpl: {* $Id: rsinfo_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} <a href="pages.php?pageid={$pages_menu[pg].pageid}">» {$pages_menu[pg].title}</a> {/section} </div> {/capture} { include file="menu_cat.tpl" menu_title="RADAR SPRAY INFO" menu_content=$smarty.capture.menu } Then I went on to insert this menu in the skin1/customer/home.tpl file. The new menu now appears on my site however it does not list the static pages. Also when I create static pages and try to access them, xcart tells me that the requested page cannot be found. Any ideas on this? Thanks guys. |
Re: New menu for Static Pages
Replace this:
<div class="categories"> {section name=pg loop=$pages_menu} <a href="pages.php?pageid={$pages_menu[pg].pageid}">» {$pages_menu[pg].title}</a> {/section} </div> with this: {include file="pages_menu.tpl"} |
Re: New menu for Static Pages
Yeah that didnt work unfortunately, I really cant understand it... Thanks
|
All times are GMT -8. The time now is 09:05 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.