Rick DeNatale added that at our January hack night, and it debuted in 0.7.0.

Sean

Jim Gay wrote:
There is an "Available Tags" reference on every page edit screen where you can search for "unless_last"

I don't recall this being added recently, but I've got it in a local 0.7.1 site.

On Apr 21, 2009, at 10:29 AM, nicolas couturier wrote:

I used this syntax:
<r:parent>
<ul class="sousmenu2" id="<r:slug/>">
   <r:children:each>
     <r:unless_last >
      <li>
        <r:link <r:if_self> class="current" </r:if_self> />
      </li>
     </r:unless_last>
     <r:if_last >
       <li  style="padding-bottom:0;">
       <r:link <r:if_self> class="current" </r:if_self> />
     </li>
     </r:if_last >
   </r:children:each>
</ul>
</r:parent>

a bit spread out to try to understand.
And got this :

undefined tag `unless_last'

*i'm working wih version 0.6.9 (gem).
Is there a typo or this tag is undefined.
Thx for any help,
Nicolas.

*



2009/4/20 nicolas couturier <n.coutur...@gmail.com>

Thx that did the trick.
have a good day, Nicolas.

2009/4/20 Jim Gay <j...@saturnflyer.com>


On Apr 20, 2009, at 3:15 PM, nicolas couturier wrote:

Hi,
got this error message :
* end tag not found for start tag `'*

using version 0.6.9 (gem).
The problem seems at first to be in this snippet :

<r:if_url matches="^/$" />
 <ul id="nav">
   <r:children:each/>
     <li class="<r:slug/>" id="">
       <r:link/><r:title/></r:link>
       <ul class="<r:slug/>">
         <r:children:each/>


You made that one self closing. The previous line should be
<r:children:each> (no slash)

           <r:link/><r:title/></r:link>
         </r:children:each>
       </ul>
     </li>
   </r:children:each>
 </ul>
</r:if_url>


Also, you can just do <r:link />. It uses the title as the default text.


Is there something i've done wrong ?
Thx for any help.

Nicolas.
_______________________________________________
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

_______________________________________________
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

Reply via email to