Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building a multilevel Navigation
#1
Hi,

first I want to say how great this project ist. After only 2 Minutes of reading through the Docu it seams clear how to build a complete Theme. - you really keep it simple here.

What I miss in GetSimple is an easy way to build a multilevel navigation. There is a way to create the structure in the backend, but none to print it out in the frontend.

WHat I want to do is building a top-level with Home, private, work, contact - and under private there would be images, links ...
the later should only be visible if the user is somewhere in "private"

As far as I know the only way to do this is by using menu_data('p'), (with a slug that not exists) to get the complete structure of my site. Next step is to loop through the array to build a navigation structure,
check for Pages where (parent-slug == [current slug]) or (parent_slug == [current page parent_slug])
and print out the subnavigation.

What is the best way to get the complete list? using an undefined slug seems hacky to me.
Why can't I ask for the menudata under a specified parent? (menu_data('private/') or menu_data('private') won't give me what I expect.

there is a very rapid update-cycle for getSimple at the moment. Can we expect thet multilevel-navigations will be supported out of the box in near future?

thanks and greetings
Stil
*******************
http://blog.projekt2k.de
*******************
Reply


Messages In This Thread
Building a multilevel Navigation - by StilgarBF - 2009-08-27, 17:28:13
Building a multilevel Navigation - by StilgarBF - 2009-08-27, 22:34:10
Building a multilevel Navigation - by yxcvbnm - 2009-08-28, 07:11:47
Building a multilevel Navigation - by ccagle8 - 2009-08-28, 10:46:26
Building a multilevel Navigation - by ccagle8 - 2009-09-27, 03:35:11
Building a multilevel Navigation - by andymci - 2009-10-19, 02:38:13
Building a multilevel Navigation - by StilgarBF - 2009-10-19, 22:51:30
Building a multilevel Navigation - by wizzy - 2009-10-20, 02:08:00
Building a multilevel Navigation - by Alexey - 2009-10-22, 17:59:29
Building a multilevel Navigation - by StilgarBF - 2009-10-22, 20:56:03
Building a multilevel Navigation - by Alexey - 2009-10-22, 22:14:44
Building a multilevel Navigation - by n00dles101 - 2009-10-22, 22:56:21
Building a multilevel Navigation - by StilgarBF - 2009-10-22, 23:21:53
Building a multilevel Navigation - by Patricia - 2009-11-01, 20:16:13
Building a multilevel Navigation - by n00dles101 - 2009-11-07, 06:01:21
Building a multilevel Navigation - by Patricia - 2009-11-07, 19:12:44
Building a multilevel Navigation - by yxcvbnm - 2009-11-07, 20:41:04
Building a multilevel Navigation - by homershines - 2009-11-10, 15:36:19
Building a multilevel Navigation - by Texta - 2009-11-13, 01:46:59
Building a multilevel Navigation - by Texta - 2009-11-17, 04:11:31



Users browsing this thread: 1 Guest(s)