I patched Radius so that you can use tags as attributes in other tags. (Posted to this list five days ago) Extremely useful and only a couple of lines have to be changed actually.
If anyone is interested I can make a patch. Manuel On Thu, Oct 16, 2008 at 7:12 PM, Chris Parrish <[EMAIL PROTECTED]> wrote: > For sure Radiant's parser won't permit tags within tags but this sounds like > a job for... > an extension I built and need to re-release. > > I have some pretty lofty goals for this weekend involving Radiant. And > getting my conditionals extension back online is one of them. So maybe > I'll have something for you next week (fingers crossed). > > Just FYI, using my extension you'd do something like: > <r:if cond="page.url matches page.slug"> your stuff here </r:if> > > -Chris > > > Jeffrey Jones wrote: >> >> 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 > > _______________________________________________ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant