Tags:
create new tag
view all tags

SID-00155: Topic list for other web

Status: Answered Answered TWiki version: 4.2.4 Perl version:
Category: CategoryMissingFunctionality Server OS: windows 2003 Last update: 17 years ago

Hello,

I'm having a problem using the TOPICLIST variable to display a list of topics in any web other than the current web.

I'm sure I'm missing something really obvious, and I"m hoping someone can point out my mistake to me!

Here's what I've got:

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

If I replace "FrontOffice" with %WEB% it works fine and retrieves the list of topics in the current web.

Ideally I would like to use this with a URLPARAM

I appreciate any help

Thank you,

Kathy

-- KathyDeLaCruz - 04 Mar 2009

Discussion and Answer

Looks like a bug to me. Could you please file a bug report? See link in sidebar.

Workaround: Use SEARCH instead of TOPICLIST:

<form>
<select name="topic">%SEARCH{ ".*" type="regex" scope="topic" nonoise="on" format="<option>$web.$topic</option>" web="Salgina" separator=" " }%</select>
<input type="submit" />
</form>

-- PeterThoeny - 04 Mar 2009

Thanks, Peter -- I just filed a bug report: TWikibug:Item6201

Will try with the SEARCH.

-- KathyDeLaCruz - 04 Mar 2009

Thanks!

-- PeterThoeny - 04 Mar 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Topic list for other web
SupportCategory CategoryMissingFunctionality
TWiki version 4.2.4
Server OS windows 2003
Web server apache
Perl version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-03-04 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.