SID-00155: Topic list for other web
| Status: |
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
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.