gottberg Posted March 8, 2012 Posted March 8, 2012 Hi, and thank you for this wonderful CMS, perfect for my needs! Im a newbie so i would have some questions. I was wondering how i could create a menu like this: http://www.dynamicdrive.com/style/csslibrary/item/nested_side_bar_menu/ Could somebody show me an code example? I got i working but they would have to enter the parent page before. Thank you! Simon
SiNNuT Posted March 8, 2012 Posted March 8, 2012 Hi gottberg and welcome to the forums. Searching these forums with the term 'treemenu' will give u 4 or 5 topics which deal with various ways to do multi-level/recursive navigation. Just choose the one which best suits your needs. In one of those topics apeisa mentioned something about a simple navigator module but i don't know if this was ever made. On a side note, and in case Ryan is reading this: These questions about menus and navigation come up a lot. Wouldn't i be a good idea to expand this page: http://processwire.c...art/navigation/ to include some information about approaches to do multi-level stuff. Maybe some common scenarios and corresponding functions? 1
Soma Posted March 8, 2012 Posted March 8, 2012 I took the chance to make a simple navigation module: http://processwire.c...mplenavigation/ Just commited it for download a post in the module forum. It enables you to do something like this everywhere in your templates: echo $treeMenu->render();
gottberg Posted March 9, 2012 Author Posted March 9, 2012 Thanks for the replys! Im gonna take a look at the module when i get home. Have a nice weekend! Simon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now