Hi, Andrew.
Yes, there is :) You may try one of Magic Mike template hacks ;)
Copy this file:
ROOT/components/com_community/templates/default/events.viewevent.php
to:
ROOT/templates/your-template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)
Edit file and replace this (lines 287-292):
<!-- Event Location -->
<dt><?php echo JText::_('COM_COMMUNITY_EVENTS_LOCATION');?></dt>
<dd id="community-event-data-location">
<a href="http://maps.google.com/?q=<?php echo urlencode($event->location); ?>" target="_blank"><?php echo $event->location; ?></a>
</dd>
<!--Event Occurence -->
with this:
<!-- Event Location -->
<dt><?php echo JText::_('COM_COMMUNITY_EVENTS_LOCATION');?></dt>
<?php if($event->location != 'On-line Event') { ?>
<dd id="community-event-data-location">
<a href="http://maps.google.com/?q=<?php echo urlencode($event->location); ?>" target="_blank"><?php echo $event->location; ?></a>
</dd>
<?php } else { ?>
<dd id="community-event-data-location">
<?php echo $event->location; ?>
</dd>
<?php } ?>
<!--Event Occurence -->
And this (line 381 after previous change)
if(CMapping::validateAddress($event->location)){
with this:
if(CMapping::validateAddress($event->location) AND $event->location != 'On-line Event'){
!IMPORTANT!
This hack will work ONLY if you type "
On-line Event" as EVENT LOCATION. It must be EXACTLY
On-line Event !
What this hack do?
It checks if in location field is typed "On-line Event". If yes then no map is displayed and Event Location in Event details is "On-line Event" also. But still if you type some location e.g Berlin, map for event will be displayed.
I attached demo file.