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 plugins\content\gpstools\gpstools.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

Like it on Facebook, Tweet it or share this topic on other bookmarking websites.
You do not have permissions to reply to this topic.

Powered by CjForum

Trending Topics

Consolidate report - missed chart
  • 8 replies
I have set a quiz contains 5 questions, 4 of them have 3 answer...

Another slider question
  • 3 replies
Is it correct that the response on a slider, I specifically set a...

PDF Reports/Format
  • 7 replies
hi maverick When downloading from the "Download PDF" button I am...

Selecting pm recipient requires permission
  • 4 replies
It seems that, to select the recipient of a PM, the group must be...

Changing Topic editor
  • 12 replies
The topic default editor option won't save  Setting is as...