Hoi all,

Does anyone know how I could get the following working?

<ul class="sidemenu" id="<r:slug/>" <r:unless_url matches="<r:slug/>" ignore_case="true"> style="display: none;"</r:unless_url> >

Basically, if the page's slug is in the url somewhere I want the css style display to be none. I have tried with double and single quotes but this doesn't appear to be working. Using a hard-coded value instead works. I am assuming the <r:slug/> isn't being translated to the actual slug value before being matched in the regexp.

Thanks

Jeff


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to