many plugins are meant to be called from the content. How exactly this has to be done is described in the plugin's help. But typically there are 3 different ways to accomplish the same result:
- "classic" CMSimple scripting:
- Code: Select all
#CMSimple $output=preg_replace("/".chr(35)."CMSimple.*?".chr(35)."/",plugin_function(),$c[$s]);#
- the "new" plugin call:
- Code: Select all
{{{PLUGIN:plugin_function(...);}}}
- using the hi_pd_scripting plugin
[1] many plugins use <div>s or other block level elements to structure their output, but inside a <p> no block level elements are allowed
[2] some plugins insert content dynamically with JS, but some browser's JS engines choke on invalid (X)HTML that should be created dynamically
Christoph

