Question
I tried to create search for topics tagged with the same tags as currently shown topic. First possibility is to use
%TAGME{ tpaction="showalltags" topic="%TOPIC%" }% command as the parameter for including another page with
%TAGME{ tpaction="query" tag="%URLPARAM{"tag" multiple="on"}%" }%. A drawback of this approach is that only topic containing ALL tags of currently shown topic are found (until logical OR is implemented for the tag search).
I tried a second way, include pages in the format parameter according to the rules of
FormattedSearch. E.g.
%TAGME{tpaction="showalltags" by="me" topic="%TOPIC%" format="$percntINCLUDE{\"TWiki.TagMeSearch\" by=\"me\" tag=\"$tag\"}$nop()%" }%
Unfortunatelly, the result shown in html was:
$percntINCLUDE{"TWiki.TagMeSearch" by="me" tag="tag1"} op()% $percntINCLUDE{"TWiki.TagMeSearch" by="me" tag="tag2"} op()%
- unrecognized
$percnt and $nop
variables.
Is there any other way to do this? Thanks!
Environment
--
PetrKlika - 01 Oct 2007
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.
Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed, or to post in the
TagMePluginDev topic.
--
PeterThoeny - 02 Dec 2007