To integate in the community builder you have to hack Joomla, see:
Joomla 1.0.x:
tech.reumer.net/google-maps/documentation-of-plugin-googlemap/maps-in-components--contact.html
Joomla 1.5.x:
tech.reumer.net/google-maps/documentation-of-plugin-googlemap/maps-in-components-modules--contact-joomla-1.5.x.html
To integrate in CB have a look at the jreviews integration as an example:
tech.reumer.net/google-maps/documentation-of-plugin-googlemap/using-google-maps-with-jreviews.html
If CB has templates then you best can edit them. Add for example:
echo "{mosmap address='".$address."'} to the template on the right place to show it.
Please Log in to join the conversation.
Please Log in to join the conversation.
tech.reumer.net/google-maps/documentation-of-plugin-googlemap/maps-in-components-modules--contact-joomla-1.5.x.html
you can make the plugin work in components, modules and contacts in Joomla 1.5!
You have to hack the index.php of Joomla 1.5.x in the root of your site.
Add these lines at line 84 after $mainframe->render();:
JPluginHelper::importPlugin('content');
$tmp_row->text = JResponse::getBody();
$tmp_params = new JParameter(null);
$mainframe->triggerEvent('onMap', array( &$tmp_row, &$tmp_params ), true );
JResponse::setBody($tmp_row->text);
Now it will show the map if it's placed in components, modules and the contact form of Joomla!
It's not recommended to hack Joomla and it's for your own risk.
Please Log in to join the conversation.
Usage:
{mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'|zoom='3'| zoomType='Large'|zoomNew='0'|mapType='Satellite'| showMaptype='1'|overview='0'|text='sv DWO'|lang=''}
(remove returns or < br /> when you copy this example)
Please Log in to join the conversation.
Please Log in to join the conversation.
I am trying to get this plugin to work, but no success.
I needed a google key.
I signed up for a key but have no idea where to put that key.
My key is about 50 characters long.
Is that correct?
Greetings,
Mark
Please Log in to join the conversation.