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
--
DanaCarrington - 22 Mar 2006
Answer
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%\" /> %$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