Skip to main content.

Tue, 11 Apr 2006

blosxom categories menu plugin: fix for static mode

So far I had found two blosxom plugins that will generate a menu from the directory hierarchy. Both work perfectly well in dynamically generated pages, but when static pages are generated by the blosxom perl script, the same script is iterating over every single post, causing these plugins to be called again and again, raising their counters to astronomic heights. One fix would be to disable the use of these counters which is configurable with both plugins, another was to place a locking variable to avoid duplicate counting of posts.
There may be a more elegant solution, such as calling this kind of plugins only once instead of once for every post, but I failed to find out if this is possible.

[/Site/blosxom] permanent link