[Radiant] Calling a radius tag from my custom tag
Alex Wayne
rubyonrails at beautifulpixel.com
Wed Jun 18 15:59:51 CDT 2008
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.
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list