| Joomla 1.5.x googlemap a kontaktoknál |
|
{mosmap address='ide jön a cím' | width='502' | height='350' | zoom='15' | zoomType='Large' | zoomNew='0' | mapType='Normal' | showMaptype='1' | overview='0' | text='a cég neve, címe, telefonszámok' | tooltip='cégnév' | marker='1' | align='center'} 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. Your index.php file is probably (hopefully) locked-down, for security reasons. So you may need to ask your hosting provider to temporarily adjust permissions, while you make the hack. Add these lines at line 84 after $mainframe->render();: JPluginHelper::importPlugin('content'); 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.
For contacts: Make a contact and in the field Miscellaneous Information place the code for {mosmap}. Make sure the contact is reachable on the site.
For module: Goto module manager, create a new module, select custom HTML, Place {mosmap} in Custom output. Now this module should show a map.
{mosmap width='150px' | height='150px' | showMaptype='0' | Overview='0' | zoomType='None' | lightbox='1' | effect='vertical'}My example has the following code: For modules you also can use module CustomContent. Forrás: Written by Mike Reumer |



