I need a really simple menu -- basically just a text without graphic effect, either horisontal or vertical, with a look like breadcrumbs. If possible, I would also like to get rid of the ID numbers of the pages (13.3, etc.).
Anyone got any tips or ideas?
/Ylle
Anyone done a really simple menu?
Re: Anyone done a really simple menu?
Explore the default menu's included in CMS Made Simple.Ylle wrote: Anyone got any tips or ideas?
Take a look at the Module Manager help and the default Navigation stylesheets.
See also http://wiki.cmsmadesimple.org/index.php ... nu_Manager
Re: Anyone done a really simple menu?
OK, I think I got it right as far as font and simplicity goes. I'm using the minimal_menu.tpl and the same CSS as for the rest of the design. But how do I get rid of the list display:
When I really want it to just look like:
Or possibly:
Any ideas?
Oh, one more thing, is it possible to have the menu display the current page only, with children, but without displaying the siblings on the same level? I mean without using the page alias, but rather just hooking up on the current side -- i.e. I want all the pages on the same level to show current page and children but not the siblings. I couldn't find any parameter for that -- is there one?
Best regards,
Ylle
Code: Select all
· Tiger (parent)
· Beteende (child)
· Föda (child)
· Systematik (child)
· Våra djur (child)
Code: Select all
Tiger · Beteende · Föda · Systematik · Våra djur
Code: Select all
Tiger
Beteende
Föda
Systematik
Våra djur
Any ideas?
Oh, one more thing, is it possible to have the menu display the current page only, with children, but without displaying the siblings on the same level? I mean without using the page alias, but rather just hooking up on the current side -- i.e. I want all the pages on the same level to show current page and children but not the siblings. I couldn't find any parameter for that -- is there one?
Best regards,
Ylle
Last edited by Ylle on Fri Oct 13, 2006 12:02 am, edited 1 time in total.
Re: Anyone done a really simple menu?
Just style the lists with CSS, take a look here:
http://css.maxdesign.com.au/listamatic/
http://www.alistapart.com/articles/taminglists/
http://css.maxdesign.com.au/listamatic/
http://www.alistapart.com/articles/taminglists/
Re: Anyone done a really simple menu?
Actually, previous links are for basic list styling. As menu's are nested lists this one is probably more appropriate:
http://css.maxdesign.com.au/listamatic2/
Also check: http://www.w3schools.com/css/css_list.asp
To get rid of the bullet use list-style-type: none; on the list
Set margin-left: 0; on the listitems to prevent indenting
Set display: inline; on the listitems to place them horizontally
I think for the menu you can return the current page from a UDT and use it as start_page or start_element parameter for the {menu} call in your template.
http://css.maxdesign.com.au/listamatic2/
Also check: http://www.w3schools.com/css/css_list.asp
To get rid of the bullet use list-style-type: none; on the list
Set margin-left: 0; on the listitems to prevent indenting
Set display: inline; on the listitems to place them horizontally
I think for the menu you can return the current page from a UDT and use it as start_page or start_element parameter for the {menu} call in your template.
Re: Anyone done a really simple menu?
I'm afraid you lost me there, could you elaborate a bit on this one?Dee wrote: I think for the menu you can return the current page from a UDT and use it as start_page or start_element parameter for the {menu} call in your template.
Re: Anyone done a really simple menu?
If you go to Extensions » Modules and click the word Help, in newer ver. the name of the module will clik to help, here you will see the parameters that the menu tag takes...
{menu show_root_siblings="1"}
(optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
{menu show_root_siblings="1"}
(optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
Re: Anyone done a really simple menu?
Hi Mark, and thanks!mark wrote: If you go to Extensions » Modules and click the word Help, in newer ver. the name of the module will clik to help, here you will see the parameters that the menu tag takes...
{menu show_root_siblings="1"}
(optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
But been there, done that...

What I want is a general template menu that shows:
--------------------------------------------
ON PAGE A - template "parent"
--------------------------------------------
Menu (showing only children to A):
- child a
- child b
- child c
(etc.)
----------------------------------------------------------------------
ON PAGE B (sibling to page A) - template "parent"
----------------------------------------------------------------------
Menu (showing only children to B):
- child a
- child b
- child c
(etc.)
---------------------------------------------------------
ON PAGE a (child to A) - template "child"
---------------------------------------------------------
Menu (sowing only A and children to A):
Parent A
- child b
- child c
(etc.)
---------------------------------------------------------
ON PAGE a (child to B) - template "child"
---------------------------------------------------------
Menu (sowing only B and children to B):
Parent B
- child b
- child c
(etc.)
I can't find any parameters that makes that work. Are there any?
/Ylle
Re: Anyone done a really simple menu?
You can code each template with items="ParentA,childb,childc,etc," or whatever combo you want...