[Radiant] <r:unless_url matches="/it/">

Adrian Madrid aemadrid at gmail.com
Tue Aug 1 13:05:30 CDT 2006


I'm no Regex guru but try this:

<r:unless_url matches="^/it/$">

I believe ^/$ mark start/end of string.

Hope it helps,


AEM

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
>


-- 
Adrian Esteban Madrid



More information about the Radiant mailing list