While trying to express what it was I was really after, I came up with this and it works fine for what I wanted. Thank you for you assistance.

<select>
<r:all_tags:each><option value="/tags/?tag=<r:name />"><r:name /></ option></r:all_tags:each>
</select>

//Steven

On Feb 9, 2009, at 7:17 PM, N. Turnage wrote:

Steven Southard wrote:
Really? It looks like it would make a nice dropdown of something, yet I don't see how that accesses tags at all.

<r:find url="/something/">
This tells radiant to look in the "something" tree.
<select>
<r:children:each>
This sets up a for each loop.
<option value="<r:slug />"><r:title /></option>
This inserts the value of the slug (think "something-child-one") as the value of the select option with the title (think "Something Child One") as the visible option.
</r:children:each>
</select>
</r:find>
These of course close those tags.

What exactly are you trying to do with a dropdown list?


// Nate

_______________________________________________
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