Skip to main content

Plugin instructions for Joomla 4

57 Views
0 Replies
1 min read

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)
{

 

0 Replies

No Replies Yet

Topic Author

B

bwd

@bwd

Topic Stats

Created Thursday, 08 June 2023 18:08
Last Updated Saturday, 10 June 2023 03:04
Replies 0
Views 57
Likes 0

Share This Topic