Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 9:23 pm (All times are UTC )

 




Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Fri Mar 07, 2008 10:57 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 12, 2006 9:31 am
Posts: 12
Hello all,
I'm writing my first component and want to use the googlemap plugin in my component. But I can't get it to work. Here is my code in my html.php file in the component directory:

Code:
<?php   
$plugin =& JPluginHelper::getPlugin('content', 'plugin_googlemap2');
$plugin_params = new JParameter( $plugin->params );
$mainframe->triggerEvent('onPrepareContent', $plugin_params);
?>   
{mosmap lat='51.26'|lon='4.51'}

I know that the code might be wrong, but I searched on the forums and documentations and found several code examples but none of them seem to work.

Regards


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: defiant, falsinfab, ianmac, kevrux, nailson_imgn, ot2sen, shiznit and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group