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
CC
Thanks Crawford, very quick turn-around!
Please follow-up in the new
TWiki:Codev/SearchWithTWikiQueryLanguage
topic.
--
PTh
See
QuerySearch for the working syntax.
CC
Waiting for release (well feedback as well, but if there is none it'll go as it is)
CC
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).
Thanks
NOTE: please track this in
Item4165
CC