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
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