Tags:
create new tag
, view all tags

Question

I find the "web" names aren't as informative as I would like for various user communities and would like to list the SITEMAPWHAT in the web list of the WebLeftBar. I've found examples of how to do this, but all include the web name. I simply want the SITEMAPWHAT displayed as the rest tends to make the link too long for the LeftBar.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core 3 - 2.6.12-1.1381_FC3smp
Web server: Apache/2.0.53
Perl version: v5.8.5
Client OS: various.
Web Browser: Firefox/IE
Categories: Missing functionality

-- DanaCarrington - 22 Mar 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

SITEMAPWHAT is simply an example. I would like to create a DISPLAYNAME variable to display in the web list.....for example I have a web that is for education and support but is only named education -- I would like to display the entire description.

-- DanaCarrington - 22 Mar 2006

%WEBLIST{"      * <a href=\"%SCRIPTURLPATH{"view"}%/$name/%HOMETOPIC%\"><img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" />&nbsp;%$markerVAR{\"SITEMAPWHAT\" web=$qname}$marker%" webs="public"</a>"}%
-- DanaCarrington - 22 Mar 2006

You got it basically right. Here it is a working example:

You can define your own setting in the WebPreferences, e.g. create a shorter DISPLAYNAME instead of the vervose SITEMAPWHAT.

-- PeterThoeny - 23 Mar 2006

 
Topic revision: r3 - 2006-03-23 - 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.