Re:How about change SyntaxHighlighter plugin to a system type plugin?
Saturday, 27 February 2010 09:45
I think that everything can correspond if this plugin is a plugin of the system.
However, because the system should analyze a lot of texts, I think that it is not necessarily good.
For instance, it is possible to correspond to this plug-in by the thing written like the following codes.
$dispatcher =& JDispatcher::getInstance();
JPluginHelper::importPlugin('content');
$results = $dispatcher->trigger('onPrepareContent', array (& $item, & $item->params, 0));At this time, the code should be in
$item->text.