Simplest plugin won't work - Joomla! Forum - community, help and support
hello, so in 3.1.1 version trying develop plugin in accordance tutorial: http://docs.joomla.org/j3.x:creating_a_ ... for_joomla i created xml , php file. plugin installs fine , have activated extension manager. trying echo hello world on onafterroute event since "global system event triggered on every page load" according to: http://docs.joomla.org/plugin/events/system so should see hello world in source page on website right? don't... my code: code: select all <?php // no direct access defined( '_jexec' ) or die( 'restricted access' ); class plgoffsiteref extends jplugin { function onafterroute() { echo 'hello world!'; } } ?> am missing something? am missing something? the name of class has follow convention, shown in tutorial, , include type of plugin, example plgsystemoffsiteref work. the onafterroute event bit modify page, done in content plugin events. if use echo, need exit statement or after ...