Though Emily's plugin answer is likely easier, I thought I should post
the RQL to do the task as well:
<IODATA loginguid="[!guid_login!]" sessionkey="[!key!]">
<PROJECT>
<TEMPLATE>
<TEMPLATEVARIANT action="load" readonly="1"
guid="[!guid_templatevariant!]" />
</TEMPLATE>
</PROJECT>
</IODATA>
The server response will be something like:
<IODATA>
<TEMPLATE languagevariantid="ENU" ...bunch of attributes...>
<TEMPLATEVARIANT action="load" ...bunch of attributes... >
<!-- template code -->
<HTML><HEAD><title>RQL - Doku</title></HEAD></HTML>
<!--end template code -->
</TEMPLATEVARIANT>
</TEMPLATE>
</IODATA>
So basically the value of the TEMPLATEVARIANT node will be the code of
your template, and you could search that any number of ways depending
on your medium.
Happy coding!
Casey
On Jan 12, 9:37 am, emily stange <[email protected]> wrote:
> Vinodh,
>
> There is already a plug-in created and available on the Solution Exchange
> website that performs this functionality. Please disregard the description
> (there was a copy and paste error), but I believe it does what you're
> looking for..http://www.solutionexchange.info/FindIt-2.htm
>
> -Emily
>
>
>
> On Tue, Jan 11, 2011 at 11:41 PM, Vinodh <[email protected]> wrote:
> > Hi,
>
> > Is there any way to search for a text inside the Template using RQL.
>
> > Thanks
> > Vinodh.- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.