Hi,
I’m wondering how I would go about implementing a new breadcrumb
Radius tag, so I can do something like
…
....in my XHTML layouts.
Hi,
I’m wondering how I would go about implementing a new breadcrumb
Radius tag, so I can do something like
…
....in my XHTML layouts.
Dave C. wrote:
I’m wondering how I would go about implementing a new breadcrumb
Radius tag, so I can do something like…
Drop this in vendor/plugins/my_fancy_breadcrumb_plugin/init.rb:
Behavior::Base.define_tags do
tag “breadcrumbs” do |tag|
…
end
end
You should probably have a look at page_context.rb where the original
tag is defined:
http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/page_context.rb#L322
–
John L.
http://wiseheartdesign.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs