Detect installed plugins in .tpl files
Posted: Thu Jan 22, 2009 1:58 pm
I kind of seem to remember asking this before. Sorry if I did 
Is there any way in a current s9y to check within a .tpl file if a certain plugin is actually installed and active?
If not, we should most definitely have this. Thanks to serendipity_showPlugin, I can emit a plugin at almost any given location in a template. But if I do this and the user doesn't have an active instance of said plugin, the template will emit unnecessary code.
YL
Is there any way in a current s9y to check within a .tpl file if a certain plugin is actually installed and active?
If not, we should most definitely have this. Thanks to serendipity_showPlugin, I can emit a plugin at almost any given location in a template. But if I do this and the user doesn't have an active instance of said plugin, the template will emit unnecessary code.
YL