[geeklog-devel] PLG_itemDisplay() hook in lib-story

Dirk Haun dirk at haun-online.de
Tue Sep 29 15:57:13 EDT 2009


Greg Gillis wrote:

>Back around version 1.4 there was a proposed PLG_itemDisplay() hook in
>lib-story.php.
>http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3d49aa6f192d

Thanks for digging this up.


>I wrote a plugin to add your choice of social network icons to the bottom of
>each story and it requires this hook.

Is there anything that PLG_itemDisplay does that could not be done using
PLG_templateSetVars?

I guess the main difference is that you wouldn't need to modify the
story templates. But at the same time it would be more flexible, since
that implementation of PLG_itemDisplay only added things to one specific
template variable.

bye, Dirk


-- 
http://www.geeklog.net/
http://geeklog.info/




More information about the geeklog-devel mailing list