Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Navigation menus for tree structures

posts: 17 United States

Hello all,

I'm looking to see if there's a way to add a side nav in a module that would behave like the side nav here https://help.comodo.com/topic-72-1-451-4738-The--Virtual-Kiosk.html. The side nav automatically recognizes the page and expands the tree structure under it while still showing other branches below and above it.
Breadcrumbs is good for power users, but not so good for casual non-technical users. A more intuitive navigation scheme would be great.

posts: 3665 United States

Are your pages in a Tiki Structure? If so , you can simply use the Menu module to show the pages in the Structure. If you want a collapsable/expandable, visible tree (instead of the normal droplist), simply use the CSS/Superfish = N option.

Image1

Please see the docs for details.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 17 United States

This is exactly what I'm looking for. I will say that the function to open the menu up automatically to the selected page (assuming it's the setSelected option) does not appear to be working.

The bootstrap version of this seems like it has bugs. I ran into several issues using it.

1. There's only 1 root item. However, the menu shows a couple of child items as if it were a root .

2. I set the display toLevel=1 because I don't want the menus expanding more than the root level. Issue here is that I can expand the root to display categories, but I can't further expand the 2 level categories to display the next level items. Clicking on them takes me directly to the page instead of expanding the folder.

3. If I set the display toLevel=2, issue #1 becomes a lot worse. There are tons of children appearing at the root level.

Thanks Rick, as always I really appreciate your help!


Upcoming Events

1)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3) 
Tiki birthday
4)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting