Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: SpreadSheetPlugin, BeeWikiPlugin, ChartPlugin, CommentPlugin, EditTablePlugin, ExcelImportExportPlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TagMePlugin, TwistyPlugin, XinhaEditorPlugin
Server OS: RedHat, uname -a returned: Linux miss1.mou.cz 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
Web server: Apache/2.0.52
Perl version: v5.8.5 built for i386-linux-thread-multi
Client OS:  
Web Browser:  
Categories: Search, Plugins

-- PetrKlika - 01 Oct 2007

Answer

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.

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

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-12-02 - 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.