• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6201: TOPICLIST variable only works for current web

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine TWikiVariables Normal Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:



I cannot make the TOPICLIST variable display a list of topics in any web other than the current web.

Leaving the WEB paramater out works fine, as does

<select>%TOPICLIST{" <option $marker value='$web.$name'>$web.$name</option>" web="%WEB%" separator=" " selection="%HOMETOPIC%"}%</select>

The above retrieves the list of topics for the current web.

But this does not work:

<select>%TOPICLIST{" <option $marker value='$web.$name'>$web.$name</option>" web="FrontOffice" separator=" " selection="%HOMETOPIC%"}%</select>

I get an empty select box.

I've also tried removing the SELECT from the equation, and TOPICLIST still behaves the same.

Ideally I would like to use this with a URLPARAM

-- TWiki:Main/KathyDeLaCruz - 04 Mar 2009

Does the FrontOffice web has a NOSEARCHALL preferences setting set to on? That would explain why you do not get any result.

-- TWiki:Main.PeterThoeny - 26 Mar 2009

Verified on 4.3.0, 4.2.1 and 4.2.3 codebase. the %TOPICLIST% for web="different web" works very well. I am closing the bug.

--TWiki::Main.SopanShewale - 10 Apr 2009

Summary TOPICLIST variable only works for current web
ReportedBy TWiki:Main.KathyDeLaCruz
Codebase 4.1.2, 4.2.4
SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Engine
Component TWikiVariables
Priority Normal
CurrentState Closed


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2009-04-10 - SopanShewale
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback