Tags:
create new tag
view all tags

SID-01870: Searching for webs

Status: Answered Answered TWiki version: 6.0.0 Perl version: 5
Category: TopMenuSkin Server OS: RHEL5 Last update: 12 years ago

I am aware of VarWEBLIST but cannot work out how to search for webs starting with a letter. Any ideas if this is possible?

To explain, we are upgrading from TWiki4 to TWiki6. We have over 80 active webs so would like a home menu which has alphabetical categories and corresponding submenus listing the webs i.e.

Would like the submenus listing the webs to be generated dynamically either through the WEBLIST variable or via search.

Is this possible?

-- Seeta Patel - 2014-02-10

Discussion and Answer

Two things need to be done to accomplish what you want:

  1. Create an indented web list grouped by alphabet
  2. Show the indented web in the Home menu

1. Create an indented web list grouped by alphabet:

The first part can be done with VarWEBLIST and a somewhat complicated VarCALCULATE. The complication comes from the fact that the SpreadSheetPlugin eats leading spaces in parameters, whereas a bullet list requires leading spaces.

Here is an example showing the TWiki.org webs bucketized by alphabet:

(Look at the raw text to see how this works.)

You could use the TreeBrowserPlugin to get multi-level menus, e.g. a collapseable tree.

2. Show the indented web in the Home menu:

The TopMenuPlugin currently does not support indented menu items, so you cannot show the indented bullet list as menu items. You could hire a TWiki consultant if this feature is important to you. This is a good way to support the open source TWiki community.

-- Peter Thoeny - 2014-02-10

Thanks for the prompt reply Peter.

-- Seeta Patel - 2014-02-10

      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 Searching for webs
SupportCategory TopMenuSkin
TWiki version 6.0.0
Server OS RHEL5
Web server Apache
Perl version 5
Browser & version IE10, Chrome, Firefox
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2014-02-10 - SeetaPatel
 
  • 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.