Hi Jian,
I will explain what I mean, and I agree with you it's a worse to
implement RQL into a template. My first question was is it possible to get
the result of a Rendertag from RQL. The answer was no, it's not possible.
But i hate if if anthing doesn't work :-)
And now i found a solution. The problem was: My client create today
filenames with RQL inside the Masterpage :-( they do this because they use
a navigation path (Delivery Server has no structure,SEO and so on) so
that's the fact today. And i think it's realy better to create the filname
if the page was released by the workflow.
In this case is the main question how can i get the structure of the side
without a rendertag? hm... I think it's cost a lot of resources and to much
scripting. So the idea was can i use the rendertag? Yes i can!
In the template is only this code:
<reddot:cms>
<if>
<query valuea="Context:CurrentRenderMode" operator="!=" valueb="Int:2">
<htmltext>
<!--
<bb_RDTag><%!! Navigation:OutputArea(BreadCrumb,Bool:True)
!!%></bb_RDTag>
-->
</htmltext>
</query>
</if>
</reddot:cms>
not more and this cost no performance or other resources.
I let create the workflow a XML file and with this information can I get
the page preview from outside with RQL. You are right i can also use the
xmlhttp request with Ajax. But I have a lot of RQL Classes which i use and
my scripts working on V.10 and V:11 this is a must, because all customer
migrate at this moment to Version 11.
I see a little mistake in the RQL above: I wrote strPageID :-( but correct
is strPageGUID
I don't preexecute RQL inside templates :-) I know what i do and what
happens with all these kind of Projects :-) you can trust me.
For your Information, i'm working with these products since 1998 and i
belive i know what best practise is :-)
I thought it's a god idea to post this Information if someone has a similar
Problem and it offers a lot of ideas with rendertags.
Best Regards and thank's for your answer. It's nice to talk with you.
Bernd
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.