[geeklog-modules] PLG_showCenterBlock

geeklog-modules-admin at lists.geeklog.net geeklog-modules-admin at lists.geeklog.net
Sat Jun 7 21:51:22 EDT 2003


Dirk,

I had a few questions upon reviewing the new PLG_showCenterBlock API.

Looking at the function in lib-plugins: I see you are calling the function more then once. You are setting a flag so that you only build the array $PLG_bufferCenterAPI with the names of the plugin centerblock functions once.

It appears that all plugins (centerblock functions) will need to trap for $where, $page and $topic and only return a formatted block once so that it will not appear more then once. If $where is 0 then that can optionally replace the entire page.

The idea appears that we may only want the centerblock to appear on 1 page or in 1 topic and that they are optional.

Thanks,
Blaine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://eight.pairlist.net/pipermail/geeklog-modules/attachments/20030607/39fa8fe7/attachment.htm>


More information about the geeklog-modules mailing list