Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • juanjovv Friend
    #130688

    I’m trying to implement a google map in a simple article, but I only get the code of mossmap like this:

    {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’|tooltip=’DWO’|marker=’1’| align=’center’}

    I have tryed to test next code I get in the forum for other template:

    Adding in joomla root index.php

    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);

    after

    // trigger the onAfterRender events
    JDEBUG ? $_PROFILER->mark(‘afterRender’) : null;
    $mainframe->triggerEvent(‘onAfterRender’);

    But does not work

    Thanks

    juanjovv Friend
    #259018

    Sorry… it’s working fine.

    Sherlock Friend
    #260047

    OK
    i will mark this topic is solved

    juanjovv Friend
    #260098

    ok
    Sorry and thanks again

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  juanjovv 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum