Hi!,

    New release with useful new features.  More info in
http://backdoor.rubyforge.org/ .

    From the changelog:

=== 0.3.0
* Implemented a <r:else> tag for both <r:if> and <r:unless> tags.  Now
it's possible to do:

        <r:if cond="...">
                This is the if part
                <r:else>
                        And this the else part
                </r:else>
        </r:if>

* Implemented a <r:tag> and <r:erb_tag> tags which allow to define new
tags easily:

        <!-- define a new tag -->
        <r:erb_tag name="article">
                <div class="<%= tag.attr[ "class"] || "article" %>">
                        <div class="article-title"> <%= tag.attr[ "title"] %> 
</div>
                        <div class="article-body"> <%= tag.expand %> </div>
                        <div class="article-footer"> Posted in <page/> </div>
                </div>
        </r:erb>

        <!-- use it -->
        <article title="New BackDoor release">
                Blah, blah, blah
        </article>

* Added a <r:erb:expand> tag that solves a problem where tags inside
ERB templates expand only once when used inside ruby loops

     /AITOR
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to