[Radiant] <r:unless_url matches="/it/">
Sean Cribbs
seancribbs at gmail.com
Tue Aug 1 13:07:17 CDT 2006
Maurizio,
Consider adding $ to the end of your URL regex, i.e.
<r unless_url matches="/it/$">
The $ signifies the end of the string.
Sean Cribbs
seancribbs.com
On 8/1/06, Maurizio Balestrieri <maurizio at gmail.com> wrote:
>
> Hi. Inside a layout I need to select the home page to avoid showing
> the page title (which should be by default shown on all other pages).
> I thought to use the <r:unless_url matches="/it/"> tag. My site tree
> is organized like the following one:
>
> /
>
> /it/
> /it/benvenuti
> /it/...
>
> /en/
> /en/welcome
> /en/...
>
> The problem is that by singling out the "italian" home page with the
> <r:unless_url matches="/it/"> tag I also get (it matches) all the
> other Italian pages (in other words I'm not being able to
> differentiate the language-specific home page)... Any suggestion on
> how to solve this problem from a regex guru on this list? TIA. --M
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060801/61d34ccf/attachment.html
More information about the Radiant
mailing list