Plugin instructions for Joomla 4
Plugin instructions for Joomla 4
Hi: thanks for the great gps tools extension. Are there any new instructions for getting a plugin to work in J4? My gps tools ontrackaftersave plugin seems to no longer work.
Thanks
Dave
J4.3.2, GPSTools 5.3.7
https://docs.shondalai.com/gps_tools/extending_gps_tools_using_plugin_events/
require_once JPATH_ROOT.'/components/com_cjlib/framework/api.php';
require_once JPATH_ROOT.'/components/com_gpstools/router.php';
require_once JPATH_ROOT.'/components/com_gpstools/helpers/route.php';
class plgGpstoolsbwdgpsplugin extends JPlugin
{
public function __construct(& $subject, $config)
{
parent::__construct($subject, $config);
$this->loadLanguage();
$this->loadLanguage('com_gpstools', JPATH_ROOT);
}
public function onTrackAfterSave($context, $track, $isNew)
{
Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.