title: Trigger Plugin from model - Joomla
body: <p>I created a custom plugin for my joomla extension, it all works well while trying to trigger it from a template override (just for test).
  But when I try to fire it from the extension model (the same code that works in the override) it doesn't trigger the event.</p>
  
  <p>Is there anything specific that needs to be done to the extension to be able to trigger it from the model?</p>
  
  <p>here is what I am using and works in the template override but doesn't work in the model</p>
  
  <pre><code>JPluginHelper::importPlugin('bookingnotification');
  $dispatcher = JEventDispatcher::getInstance();
  $dispatcher-&gt;trigger('onHelloWorld', array());
  </code></pre>
  
  <p>I am clueless</p>