plugins/recent_content/lib/recent_content_plugin.rb
require_dependency File.dirname(__FILE__) + "/recent_content_block"
class RecentContentPlugin < Noosfero::Plugin
def self.plugin_name
"Recent Content Plugin"
end
def self.plugin_description
_("A plugin that adds a block where you can display the content of any of your blogs.")
end
def self.extra_blocks
{
RecentContentBlock => { position: ["1", "2", "3"] }
}
end
def self.has_admin_url?
false
end
def stylesheet?
true
end
end