Tags:
create new tag
view all tags

SID-01006: Tree webtopmenu

Status: Answered 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
    • Empty transparent 16x16 spacer Child1x1
    • Empty transparent 16x16 spacer Child1x2
    • Empty transparent 16x16 spacerEmpty transparent 16x16 spacer Child1x2x2
    • Parent2
    • Empty transparent 16x16 spacer Child2x1
    • Empty transparent 16x16 spacer 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Tree webtopmenu
SupportCategory TopMenuSkin
TWiki version 5.0.0
Server OS Debian 5 lenny, 2.6.29
Web server Apache/2.2.14 (Debian)
Perl version v5.10.0
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2011-01-04 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.