Tijeras94 / kv-webme

Automatically exported from code.google.com/p/kv-webme
0 stars 0 forks source link

Menu plugin: Show subelements from parent #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible to include the possibility to show the child elements of 
the current page as an <ul>?

E.g. website has 3 pages, "A", "B", and "C". "A" has no children, but "B" has 2 
("B.1" and "B.2") and "C" has 1 ("C.1").
When "B" is clicked, the menu will show the children, "B.1" and "B.2" as an 
<ul> and likewise when "C" is clicked, them menu will show "C.1", etc.

Original issue reported on code.google.com by Christof...@gmail.com on 25 Nov 2011 at 10:36

GoogleCodeExporter commented 8 years ago
interesting. so the option in the widget admin would be "only show children of 
current page" ?

Original comment by kae.verens@gmail.com on 25 Nov 2011 at 10:39

GoogleCodeExporter commented 8 years ago
Yes, exactly. 
But of course also if "B.1" is active, then the whole submenu with both "B.1" 
and "B.2" must be shown (return all the children of the parent of the current 
child - LOL).

The CMS, MODx, has a plugin called, Ultimate Parent, which returns a lot of 
stuff regarding to the parent/child issue, 
http://modx.com/extras/package/ultimateparent

Original comment by Christof...@gmail.com on 25 Nov 2011 at 11:33

GoogleCodeExporter commented 8 years ago
done. r589

working on that URL problem now.

Original comment by kae.verens@gmail.com on 12 Dec 2011 at 8:21