Need help getting head around menu
Posted: Fri Oct 10, 2008 10:33 am
I am not designer, but Im trying to make a website from cmsms.
I've figured a lot of stuff out on my own and using the documentation but I just can't seem to grip the menu.
What I want is just the simple horizontal menu across the top of the page under the site logo. I don't want the feature that opening up sub menus when I hover over them and I don't want them changing colour. What I do want is to have new content pages be added to the menu automatically and instead of plain text, use a gif image of the word.
So lets say I make a new page called 'example', on the menu which already has 'home' on it, it adds 'example' to it (the menu seems to do this already).
What I would usually do in this situation is find the code that pulls the conentent page names and puts them into the menu, and instead of just the page name write img src="/images/{page name}gif" and make sure I make a gif called home.gif and example.gif into a folder somewhere so instead of just printing the word 'home' it would display my home image.
I can't find where the cms pulls the names of pages and lays them out though. I found one bit of code that changes the font colour in Navigation: CSSMenu - Horizontal
I'm sorry if I haven't explained what I mean very well, but to sum up I just want to make a menu that runs horizontally, has 1 simple background colour and instead of page names in text, pulls pre made images from somewhere.
What I'm at it, where can I change what variables are? In the news templates Im trying to change things around and I wrote:
"By: {$author_label}{$entry->author}" which obviously gave me the result on the webpage "By: Posted by: Mowen"
Is there a place to change what certain things say? Like, change what will appear when I put {$author_label}
I've figured a lot of stuff out on my own and using the documentation but I just can't seem to grip the menu.
What I want is just the simple horizontal menu across the top of the page under the site logo. I don't want the feature that opening up sub menus when I hover over them and I don't want them changing colour. What I do want is to have new content pages be added to the menu automatically and instead of plain text, use a gif image of the word.
So lets say I make a new page called 'example', on the menu which already has 'home' on it, it adds 'example' to it (the menu seems to do this already).
What I would usually do in this situation is find the code that pulls the conentent page names and puts them into the menu, and instead of just the page name write img src="/images/{page name}gif" and make sure I make a gif called home.gif and example.gif into a folder somewhere so instead of just printing the word 'home' it would display my home image.
I can't find where the cms pulls the names of pages and lays them out though. I found one bit of code that changes the font colour in Navigation: CSSMenu - Horizontal
I'm sorry if I haven't explained what I mean very well, but to sum up I just want to make a menu that runs horizontally, has 1 simple background colour and instead of page names in text, pulls pre made images from somewhere.
What I'm at it, where can I change what variables are? In the news templates Im trying to change things around and I wrote:
"By: {$author_label}{$entry->author}" which obviously gave me the result on the webpage "By: Posted by: Mowen"
Is there a place to change what certain things say? Like, change what will appear when I put {$author_label}