Changerequest for pluginscontentgpstoolsgpstools.php
Changerequest for pluginscontentgpstoolsgpstools.php
Hi Maverick,
In our implementation we integrate the GPSTOOLS-extension in the EVENTSBOOKING-extension. As i mentioned before this is working perfectly. In EVENTSBOOKING you can add a long and short description. For the long description de GPSCONTEXT-plugin with complete description (with map and so on) is ok. For the short description I would like to shorten this. Thats why I have made the following change in pluginscontentgpstoolsgpstools.php.
if(empty($options->nomap))
{
$content = $content . TracksHelper::renderLayout($layout.'.track.map', array('data'=>$data));
$content = $content . TracksHelper::renderLayout($layout.'.track.charts', array('data'=>$data));
$content = $content . TracksHelper::renderLayout($layout.'.track.stats', array('data'=>$data));
$content = $content . TracksHelper::renderLayout($layout.'.track.waypoints', array('data'=>$data));
$content = $content . TracksHelper::renderLayout($layout.'.track.download', array('data'=>$data));
}
The yellow marked text has been added by me. By adding "nomap":1 to the GPSCONTENT-text the map, charts, stats, waypoints and download-button will be removed. This was exactly what I wanted.
Would it be possible to add this to this plugin?
Kind regards, Hans
Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.