Typo Recent Posts sidebar plugin
I’ve just released a “Recent Posts” sidebar plugin for Typo, the Ruby on Rails blog engine that powers this blog. It displays the last posts title and a snippet of the post body.
You can configure the title of the plugin, the number of posts and the excerpt’s length in the sidebar admin.
Download and install
Download
Download Typo “Recent Posts” plugin.
Requirements
Typo V4.0 and above (trunk works) with plugins in /vendor/plugins.
Install
Just unpack the archive into the /vendor/plugins folder of your Typo install. Restart your Typo instance. Go to the admin / sidebar to configure it. You’re done.
Licence
The plugin is released under the MIT Licence.
Commentaires
Trackbacks
Les trackbacks sont fermés pour cause de spam.
Passionné d'informatique depuis l'âge de six ans, je travaille en tant que responsable qualité chez blueKiwi Software, éditeur spécialiste des outils collaboratifs en entreprise. Ma double formation en sciences politiques et en informatique me permet de porter un regard particulier sur les problématiques abordées par mon poste.
jorge 2 months later:
Frédéric de Villamil 2 months later:
I see, I guess it’s because Tyo plugins API has been changed between 4.03 and 4.1.
I’m sorry, but as I’m going to release the 4.1 version in the next days, I won’t fix this now.
ryan about 1 year later:
Hello, I just wanted to let you know that I couldn’t get recentpostssidebar plugin to work until I changed line 9 of lib/recentpostssidebar.rb to:
@recentposts = Article.findpublished(:all, :order => ‘published_at DESC’, :limit => count)
It was giving me an error before on “boolean = integer” that the function was invalid when looking for published = 1.