The forum is in read only mode.
the Map is not coming out when I try to print out the event. looks like the link is wrong... It's pulling ... 'http:/MYURL.com/maps.google.com......' instead of ' maps.google.com ......' How can I fix this problem?
Hi MJay, This is valid bug, I already reported to our developer for this one. thank you
Alright... but can you tell how to manually fix it for now or provide a patch to fix the problem? Thank you.
Hi MJay, I will let me know as soon as possible when I have the patch for this. thank you
Any Updates? Let me know. Thank you.
Hi MJay, For fixing this, please you open this file components/com_community/libraries/mapping.php, find this code :
const STATICMAP_URL = 'maps.google.com/maps/api/staticmap?';
const STATICMAP_URL = 'https://maps.google.com/maps/api/staticmap?';
$config = CFactory::getConfig(); $my = CFactory::getUser(); // We need to attach the javascirpt manually $js = JURI::root(true) . '/components/com_community/assets/joms.jquery-1.8.1.min.js'; $script = '<script type="text/javascript" src="' . $js . '"></script>'; $js = JURI::root(true) . '/components/com_community/assets/script-1.2.min.js'; $script .= '<script type="text/javascript" src="' . $js . '"></script>'; $creator = CFactory::getUser($event->creator); $creatorUtcOffset = $creator->getUtcOffset();
$config = CFactory::getConfig(); $my = CFactory::getUser(); $js = JURI::root(true) . '/components/com_community/assets/joms.jquery-1.8.1.min.js'; $script = '<script type="text/javascript" src="' . $js . '"></script>'; $js = JURI::root(true) . '/components/com_community/assets/script-1.2.min.js'; $script .= '<script type="text/javascript" src="' . $js . '"></script>'; $creator = CFactory::getUser($event->creator); $creatorUtcOffset = $creator->getUtcOffset();
It worked. Thank you.
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW