content_breadcrumbs_block.rb
837 Bytes
class BreadcrumbsPlugin::ContentBreadcrumbsBlock < Block
settings_items :show_cms_action, :type => :boolean, :default => true
settings_items :show_profile, :type => :boolean, :default => true
settings_items :show_section_name, :type => :boolean, :default => true
attr_accessible :show_cms_action, :show_profile, :show_section_name
def self.description
_("<p>Display a breadcrumb of the current content navigation.</p><p>You could choose if the breadcrumb is going to appear in the cms editing or not.</p> <p>There is either the option of display the profile location in the breadcrumb path.</p>")
end
def self.short_description
_('Breadcrumb')
end
def self.pretty_name
_('Breadcrumbs Block')
end
def help
_('This block displays breadcrumb trail.')
end
def cacheable?
false
end
end