Adding googlemap to skeleton template

  • No avatar image
  • kohjacky
  • Posts: 2
  • Joined: Tue Nov 18, 2008 4:07 pm

Poston Fri Nov 28, 2008 5:16 pm kohjacky said:

hi..

i have been trying out with the skeleton template and i would say it has been a good experience to date..

i have an issue which i would need some help from you. i've been trying to add the google map plugin to work with the contact page..

i have read about this solution
**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);

But i was not able to find this $mainframe->render();: in the index page of the skeleton template..

Please advice if possible.. and thanks alot for the template..

Re: Adding googlemap to skeleton template

  • No avatar image
  • kohjacky
  • Posts: 2
  • Joined: Tue Nov 18, 2008 4:07 pm

Poston Fri Nov 28, 2008 7:43 pm kohjacky replied:

hi.. i have found it.. i should edit the core files index.php instead of the template file..

Anyway thanks for the template.. it works wonderful!


Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest