Hello all,

Sorry if this is a newbie-ish question; I've checked the FAQ and skimmed the
source a bit, and haven't found any obvious solution.

I'm in a position where I want to evaluate a Radius tag and insert the
resulting text into the value of an HTML attribute. My use case involves the
page_attachments extension, and I'm trying to do something like this:

<r:attachment:link title="<r:attachment:author />"> Click here
</r:attachment:link>

Which is to say, I want the title of the link to be the attachment author's
name. However, this is not well-formed XML, and anyhow the Radius parser
doesn't seem to parse into attribute values.

Is there a canonical way to do what I want? I'm aware that I could simply
tweak page_attachments_tags to do things my way, but that feels like
cheating to me...

Cheers,
   -Tony
_______________________________________________
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