By d.deman on
I would like to create a web tree of my primary links menu without using the category module.
I have set up my site without using the category module and it seems a bit overkill to set up an entire category structure just for one page. I just want to display the same thing as is displayed in de menu's module under primary links. I think it should be possible because the menu module is already displaying this menu structure.
Can anyone help?
Comments
Definitly and simple.
Each root menu tree automatically gets a block in admin/block, for example, you can enable the Primary Links block, and in its visibility options make it only appear in the page in question.
If you are looking to expose part of a menu tree (e.g a sub-tree), then you have to take a note of the mid of this starting point, this can be done by visiting admin/menu and hovering over edit" link for that point/item, and the id should be in your browser status bar, let's say it was 19. Then add a new block with the following php:
Then again, tweak the block's visibility options to show the block in desired page only.
Hope that was any useful for what you want to do.
forgot all about that
I forgot all about that option. Thanks for reminding me and solving my problem. I'm not using the primary links block on any other page so I could easily publish it in the content of the web tree page.
Thanx a lot