Thank you Sean! It is getting better and better ;-)

rainer

On 11.03.2008, at 15:16, Sean Cribbs wrote:

Alternatively, you can add this tag definition:

Page.class_eval do
tag "id" do |tag|
  tag.locals.page.id
end
end

You would need to add this in an extension or (less desirably) in config/environment.rb.

Sean

Mārtiņš Grunskis wrote:
Hi,

Meybe you can use child <r:slug /> instead of ID? Slug is unique and
that's all what is needed AFAIK.

Regards,
Martins

On 3/11/08, rainer griess <[EMAIL PROTECTED]> wrote:

Hi again,

I asked about something similar in the AJAX Interaction thread. But I
would like to make the question simler:

How can I get the child ID of the child within an <r:children:each>
loop?

I have to use the ID to define some CSS classes on the fly and
therefore I need a unique name.

Any ideas?

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


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



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

_______________________________________________
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