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

Item4041: Extend SEARCH to allow SQL-type queries over form fields

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   minor 4.2.0

Edit Form Data

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


See TWiki:Codev/SimpleFieldQueriesInMETASEARCH for details
(spec change: SEARCH is extended, not METASEARCH; see new topic link below)

-- TWiki:Main/CrawfordCurrie - 08 May 2007

First version just committed - see QuerySearch


Thanks Crawford, very quick turn-around! smile

Please follow-up in the new TWiki:Codev/SearchWithTWikiQueryLanguage topic.

-- PTh

See QuerySearch for the working syntax.


Waiting for release (well feedback as well, but if there is none it'll go as it is)


See Item4165: stringent IF syntax breaks templates

Now I am totally unclear on what syntax I need to use.

If I use %IF{ "defined USERLAYOUTURL" I get an error that no context is found.
If I use %IF{ "'$ USERLAYOUTURL = ''" I get this generated HTML: IF{ "'$ USERLAYOUTURL = ''" then="@import url('');" }: Syntax error in ''$ USERLAYOUTURL = ''' at '''

Also in the login template I cannot get the ERROR variable evaluated 'not empty'.

%IF{"'$ ERROR' != ''" then="%BR% _Error: %ERROR%_"}%
gives me the message with empty ERROR.

Also the "context" identifier leads to confusion. Is it correct that I need to write:

%IF{ "'context TablePluginEnabled'"
with additional single quotes? I get an error otherwise. But the doc is not clear on this.

-- AC - 30 May 2007

Thanks for highlighting this Arthur; it's possible that all you need to do is svn up - please try that first.

You are supposed to be able to use all the expressions you wrote above. Specifically the 'defined', 'context' and '$' operators are all supposed to accept an unquoted argument.

I will investigate; can you provide me with an example (which template breaks).


NOTE: please track this in Item4165


Summary Extend SEARCH to allow SQL-type queries over form fields
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-4.1.2, Thu, 03 May 2007, build 13616
AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins TWikirev:13668 TWikirev:13670 TWikirev:13677 TWikirev:13692 TWikirev:13709 TWikirev:13710 TWikirev:13738 TWikirev:13755 TWikirev:13883 TWikirev:13985 TWikirev:13986 TWikirev:13995
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r22 < r21 < r20 < r19 < r18 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r22 - 2008-01-22 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback