Posted on: 12/29/02 08:40am
By: Anonymous (dokus)
I'm using the gameserver theme and was wondering how i could adapt horizontal menu on top.
I noticed i can add links to it by using the static pages plugin, but i would like to remove some from it like for example "contribute" or "webresources" because i don't need them on my site.
Is there anyone that can tell me how i could acomplish this ?
thx a million in advance !
Adapting the menu
Posted on: 12/29/02 12:51pm
By: Dirk
If you have a look at the header.thtml file of the Gameserver theme, you'll find a variable {menu_elements}. This is replaced with a fixed set of menu entries. If you don't want all those menu entries, then take out that variable and replace it with links to only those entries that you want.
bye, Dirk
Adapting the menu
Posted on: 12/29/02 02:16pm
By: Anonymous (dokus)
Thx a lot !
Adapting the menu
Posted on: 01/14/03 12:09pm
By: jiminfantino
I may not have understood this correctly. I edited the header.thtml file in my layouts/mystyle directory so that I have hard coded the horizontal top menu items - but now there is a serious problem with my static pages. If I use absolute addresses in my links in the header file, it logs out the user when they go from a static page to the calendar or polls or links or anything else not in the static_pages directory. Is there some trick to gettin them all to get along? Or is there some other less destructive way to modify the menu_elements?
thanks in advance -
Jim---unpop for the unpopulous!
Adapting the menu
Posted on: 01/14/03 04:31pm
By: Dirk
I can only guess what you did (URL?), but I would assume that you have configured your site URL to be something like www.yoursite.com and made the links to yoursite.com (without the www.) - or vice versa. If that's the case, try using the {site_url} variable and making all links relative to that, e.g. {site_url}/submit.php etc.
bye, Dirk
Adapting the menu
Posted on: 06/12/03 10:26am
By: jiminfantino
Thanks. I should have though about it a bit longer. I wasn't using the
{site_url} at all - which was causing the problem.---http://bigego.com