WikiMatrix

#1 2006-10-09 16:01:03

ACalderon
Member
Registered: 2006-10-06
Posts: 4

One last question...

Is it possible to nest a METASEARCH within a formatted search?

Offline

 

#2 2006-10-17 02:04:38

PeterThoeny
Member
From: San Jose, CA
Registered: 2005-12-14
Posts: 265
Website

Re: One last question...

I have not tried that, but it should be possible. In the format parameter you probably need to escape the METASEARCH so that it fires off one for each search hit. One way to escape the search is to use $percnt instead of the percent signs. For example, to escape this METASEARCH:

%METASEARCH{ type="parent" topic="SomeTopicFound" }%

in a SEARCH do this search:

%SEARCH{ "...." .... format="$percntMETASEARCH{ type=\"parent\" topic=\"$topic\" }$percnt" }%

The preferred place to ask for free TWiki support is the TWiki Support web at http://twiki.org/cgi-bin/view/Support/WebHome (or ask me for a professional support contract.)

See TWiki details on WikiMatrix.

-- Peter AT StructuredWikis DOT com - http://www.structuredwikis.com/ - http://twiki.org/

Offline

 

You are not logged in.


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB