BlogTimes how-to
How to add MTBlogTimes like plugin to COREBlog.
BlogTimes is well-known MovableType Plugin, which record time of your posts and draw a bar-code like chart.
To install COREBlogBlogTimesPlugin, follow instructions bellow.
Download and install Plugin Product.
First, install PIL.
Then download COREBlogBlogTimesPlugin.
This is Zope product, which works with COREBlog.
Extract archive to Product directory, and restart Zope.
Add Plugin object
Go to COREBlog's contents tab. Then add COREBlogBlogTimesPlugin. ID must be default.
Add hook method
In Contents tab, you can see Folder named methods. Add Python Script in this folder, ID is addEntryHook. Following are additinal information for hook method.
- Parameter List : d
- Contents : container.blog_times.update()
Add some code to DTML
In contents tab -> folder modules -> index_html, add code to show plugin image.
<dtml-var blog_times>
That's all.
Have fun :-).