Page 1 of 1
Integrate a plugin into a template
Posted: Wed Jan 03, 2007 5:16 pm
by d_cee
Hi
is is possible to integrate a plugin into a template so the the plugin does not have to be enabled by the user?
thanks
Dave
Re: Integrate a plugin into a template
Posted: Wed Jan 03, 2007 5:21 pm
by garvinhicking
Hi!
Yes, you could do that all via config.inc.php, and by injecting your plugin into the global $sreendipity array of plugins. But I don't really suggest to do this.
Plugins should be kept distinct, and not mixed with Themes. That's why people enjoy Serendipity so much - it's not a plugin-pain like WP was.
Best regards,
Garvin
Posted: Wed Jan 03, 2007 6:04 pm
by d_cee
Hi
thanks Garvin - I'll not do it then
Dave