Hi, This depends on the page type. The Problem is that the match is done against the url the page "sees". This is where the page paradigm fails. As I read you have a Gallery Page here? I kknow for sure that this does not work on "galleries". You could use some gallery specific tags.
btw. a super-duper ruby regexp checker is at http://rubular.com/ On 13.09.2010, at 09:56, Martin Stabenfeldt wrote: > Thanks for the tips, but it does not work I´m afraid. > > <r:if_url matches="^/blog/$"> > #1 Should only match /blog # MATCHES /blog AND /blog/dssp <br> > </r:if_url> > > <r:if_url matches="^/blog/."> > #2 Should only match /blog/dssp # NEVER MATCHES /blog/dssp NOR /blog <br> > </r:if_url> > > > 2010/9/13 Steven Southard <ste...@stevensouthard.com> > > On Sep 13, 2010, at 12:15 AM, Martin Stabenfeldt wrote: > >> Hi, >> >> I´m having some difficulties to get the if_url to work with Radiant 0.9.1. >> >> The ROOT match works, but as soon as I try to match deeper it fails. >> When I visit the url site.com/blog/dssp I would expect either the CHILD >> GALLERY match or the DSSP match to work, but non of them does. >> The template only contains one if_url. >> >> <r:if_url matches="^/blog/$"> >> ROOT GALLERY # Matches site.com/blog AND site.com/blog/dssp >> </r:if_url> >> >> <r:if_url matches="/blog/.+/"> >> CHILD GALLERY # Does not match site.com/blog nor site.com/blog/dssp >> </r:if_url> >> >> <r:if_url matches="/blog/dssp/"> >> DSSP # Does not match site.com/blog nor site.com/blog/dssp >> </r:if_url> >> >> >> What am I missing out? >> >> >> -- >> Martin Stabenfeldt >> Tlf: +47 93441707 > > > Try ^/blog/. > > > > -- > Martin Stabenfeldt > Tlf: +47 93441707 -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/ http://www.iteh.at | http://facebook.com/iTeh.solutions | http://at.linkedin.com/in/haselwanteredmund