Sorry, Tony, I am not experienced using RQL. Can you give me a hint?

On Jul 16, 2:33 pm, Tony Gayter <tonygay...@googlemail.com> wrote:
> Have you used reflector to see if there is any hidden rql methods which
> might help?
>
> On 16 July 2010 13:30, Daniel <daniel.h...@buerkert.com> wrote:
>
> > Hello all,
>
> > I want to use some PreExecute Code or RenderTag in a PageTemplate to
> > prevent a part of the template of being published, if the Filename of
> > the published file does not match a certain extension. I tried
> > different things to have this work, but every single try failed with
> > the same result.
>
> > I tried the following:
> > - Render Tags: Context:CurrentMasterPage.GetUrl().EndsWith(Str:php)
> > - Prexecute substr() combined with the
> > Context:CurrentMasterPage.GetUrl()
> > - Prexecute substr() combined with an info element "Page: Published
> > file name"
>
> > The point is that "Context:CurrentMasterPage.GetUrl()" or the info
> > element use to return the correct filename as long as I use it alone
> > or write it directly to the page via an echo for example. But if I use
> > the rendertag EndsWith-method, or the php substr (or any other), then
> > the URL or page name string gets changed in a string like this:
> > /*--IOHREFBEGIN linkguid=GUID pageguid=GUID projectvariantguid=GUID
> > languagevariantguid=GUID islink=1 type=1002 subtype=20*//*--IOHREFEND-
> > */
>
> > If someone out there has an idea how I can solve this, or why RedDot
> > does behave like this, or how I can get around this behavior, I will
> > be more than happy.
>
> > Best regards,
> > Daniel
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "RedDot CMS Users" group.
> > To post to this group, send email to reddot-cms-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > reddot-cms-users+unsubscr...@googlegroups.com<reddot-cms-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to