Tags:
create new tag
, view all tags

Feature Proposal: Limit Parameter for WEBLIST Variable

Motivation

The new TopMenuSkin (proposal PatternSkinWithPulldownMenuBar) shows the list of webs in the "Home" pulldown menu. This is OK if there are 20+ webs, but is unusable if there are 100+ webs. It is also a performance issue.

Description and Documentation

Add a limit="" parameter to VarWEBLIST to limit the number of webs.

Add also a overlimit="" parameter to show an alternate text if there are more webs than the limit specified.

Example

Show bullet list of up to 20 webs, and a "more" link if there are more than 20 webs:

%WEBLIST{
  format="   * [[$name.%HOMETOPIC%][$indentedname]]"
  limit="20"
  overlimit="[[%SYSTEMWEB%.SiteMap][more...]]"
}%

Impact

WhatDoesItAffect: Rendering

Implementation

-- Contributors: PeterThoeny - 2010-04-13

Discussion

Peter - this would be very useful feature for skin developers. The pull-down menu's or left/right bars need better usability/and control over the content which needs to be displayed. this feature would definitely help such requirements.

-- SopanShewale - 2010-04-13

i support this proposal

-- SopanShewale - 2010-04-13

This is now implemented and documented in SVN trunk.

-- PeterThoeny - 2010-04-19

 
Topic revision: r4 - 2010-04-19 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.