[Radiant] Overriding "breadcrumbs" tag
John W. Long
ng at johnwlong.com
Tue Aug 1 23:05:53 CDT 2006
Maurizio Balestrieri wrote:
> Hi. I've modified the breadcrumbs tag in page_context.rb. But I'd
> rather like to override that definition instead of modifying the
> original file. Where could I implement my new tag definition outside
> the default file? Thank you.
Create a plugin. In the init.rb file define the following:
Behavior::Base.define_tags do
tag "breadcrumbs" do
# new definition here
end
end
Hope that helps.
--
John Long
http://wiseheartdesign.com
More information about the Radiant
mailing list