• 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.

Item5902: $topic results variable does not render if combined with string

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension DBCachePlugin Normal No Action Required   n/a  

Edit Form Data

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


Here's a simple test:
%DBQUERY{topic="WebHome" format="   * $topictest"}%
...that results in:

  • $topictest

Also, I noticed that the $topic format variable is not listed under DBQUERY tag. Was this an oversight?

-- TWiki:Main/LynnwoodBrown - 08 Aug 2008

That's no bug. This is done by purpose to match exactly the string $topic. There are plugins that expand different variables, e.g. $parent, $parenttitle, $parentsummary.

To concatenate the result of $topic with test use $topic$noptest

-- TWiki:Main.MichaelDaum - 08 Aug 2008

Summary $topic results variable does not render if combined with string
ReportedBy TWiki:Main.LynnwoodBrown
SVN Range TWiki-5.0.0, Sun, 03 Aug 2008, build 17280
AppliesTo Extension
Component DBCachePlugin
Priority Normal
CurrentState No Action Required
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2008-08-08 - MichaelDaum
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback