Radiant CMS extensions

expandable r:-tag parameters (for radiant-0.6.1)

<r:page name=”<r:title />”>
In normal radiant tag inside other tag parameter wont be expanded.
If you use radius.rb file provided below, anything between ” ” in tag parameter will be expanded.
If you want to prevent expansion - use ’ ’
Just overwrite your radiant-0.6.1/vendor/radius/lib/radius.rb with file attached below.
Works also with radiant 0.6.9.

if_gallery

<r:gallery name=”xxxx”>
what if gallery named xxxx does not exist?
</r:gallery>

You can prevent evaluating code for non existent galleries with this brand new <r:if_gallery> tag.
To install you just need to apply if_gallery.diff patch to vendor/extensions/gallery/lib in your radiant directory.

if_children

NOTE: Current version of radiant cms includes this tag by default

Radiant extension giving you <r:if_children> tag.
Content of the tag will be expanded only if the current page has at least one child.