[Radiant] Calling a radius tag from my custom tag
Sean Cribbs
seancribbs at gmail.com
Wed Jun 18 16:06:57 CDT 2008
Alex,
"Foo title: #{render_tag('title')}" should work.
Sean
Alex Wayne wrote:
> Lets say I create a custom tag in an extension: <r:foo />
>
> I want that tag to basically wrap some HTML around an existing radius
> tag. In non working psuedo code:
>
> tag 'foo' do
> "Foo title: <r:title />"
> end
>
> In this contrived example, I could just use the ruby objects available
> to the tag, but I want to encapsulate more complex radius tags. Things
> like <r:navigation> for instance.
>
> There has to be a simple way to do this, I just can't quite figure out
> the syntax.
>
More information about the Radiant
mailing list