![]() |
Putting some Static Pages in Categories Menu
Hi,
basically all my static pages appear under a new menu which I created underneath my Categories menu. However I would like to put some static pages under the Categories menu. They of doing so that i had figured was to create a static page in the backend, disable it and manually insert it into the categories menu. Is this the right way of doing it? Thanks |
Re: Putting some Static Pages in Categories Menu
Can you still see it if it's disabled?
It is the right way to do it, but if you only want it to appear in the categories menu, you need to disable the loop in your other menu that displays all the pages. Then hard code (as you have done) the pages you want, in whatever menus you want. |
Re: Putting some Static Pages in Categories Menu
Ok so Ive tried to hard code everything which actually works however the names of the pages are not showing up right in the menu. All pages carry the name of the first statics page. They take you to different pages however the names are all the same. Any ideas?
My categories.tpl Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} My sell_menu.tpl which is the menu where all my static pages show up Code:
{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *} Thanks |
Re: Putting some Static Pages in Categories Menu
It will, you have hard coded the code for each page to be:
{$pages_menu[pg].title} for each page. You need to change this for each line and put in exactly what you want to see displayed. So for Page 6, you want it to say This is a a page. and then for page 7, this is a different page. etc. |
Re: Putting some Static Pages in Categories Menu
Worked like a charm, cheers :)
|
All times are GMT -8. The time now is 12:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.