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