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.
__________________
X-Cart Version :: 4.1.6 (Finally)
X-Cart Mods :: Kids Skin by 7dana
Running on :: SUSE Linux 9.3 with Plesk 7.5.4
Webserv :: Apache 2.0.53
mySQL :: 4.1.10
PHP :: 4.3.10
|