SID-01006: Tree webtopmenu
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
v5.10.0 |
| Category: |
TopMenuSkin |
Server OS: |
Debian 5 lenny, 2.6.29 |
Last update: |
15 years ago |
Hello, I want to create tree view of my main web on webtopmenu.
On the index topic i created this by treeplugin, but with the webtopmenu I can not understand. Depth of my catalog is 2: Parent1 * Child1 * Child2 Parent2 * Child1 * Child2 ... etc
How do I put this menu (with parents and childs) at the top? Thank a lot.
--
KirillBychkov - 2010-10-26
Discussion and Answer
The top menu cannot handle nested bullets beyond level 2 at this time. You can simulate that if you create a single level bullet that has indented items using spacers. Example:
- Topic Hierarchy
- Parent1
-
Child1x1
-
Child1x2
-

Child1x2x2
- Parent2
-
Child2x1
-
Child2x2
Written as:
* Topic Hierarchy
* [[Parent1][Parent1]]
* [[Child1x1][%ICON{empty}% Child1x1]]
* [[Child1x2][%ICON{empty}% Child1x2]]
* [[Child1x2x2][%ICON{empty}% %ICON{empty}% Child1x2x2]]
* [[Parent2][Parent2]]
* [[Child2x1][%ICON{empty}% Child2x1]]
* [[Child2x2][%ICON{empty}% Child2x2]]
Which renders in top menu as follows. The "Pretty Hierarchy" menu uses pretty block graphics to indicate the parent-child relationship:
--
PeterThoeny - 2010-10-26
Peter,
Thank you!
How to do that when i add a new topic (child or parent) on the web, it automatically created in the webtopmenu?
Thank you!
--
KirillBychkov - 2010-10-27
Look into the
TreePlugin and
TreeBrowserPlugin. Not sure if they support formatted output. You could try using
SpreadSheetPlugin formulae to convert a hierarchy (nested bullets) into above bullet list.
--
PeterThoeny - 2010-10-27
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2011-01-04
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.