[EMAIL PROTECTED] wrote:
what id like to do, within the each iteration - is check whether the
current item is the current page we are on (to mimic the behaviour of
navigation's 'here') - but accessing r:url within the each only refers to
the current scope (ie, the iterator) and NOT the current page's r:url
value.

I haven't used it, but what about if_self?  According to its documentation:


<r:if_self />
Renders the contained elements if the current contextual page is also the actual page.

This is typically used inside another tag (like <r:children:each>) to add conditional mark-up if the child element is the current page.
Usage:

<r:if_self>...</if_self>

Cheers,
Mohit.
8/17/2008 | 3:30 AM.




_______________________________________________
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