Calling plugin from other extension does not work
|Status:||On Hold||Start date:||2012-04-04|
|Priority:||Must have||Due date:|
|Assignee:||Robert Heel||% Done:||
I would like to include a map created by odsosm into another extension with cObjGetSingle().
$osmconf['marker.']['tt_address'] = implode(',', $uids);
$osmconf['height'] = '400';
$osmconf['width'] = '500';
$osmconf['external_control'] = 0;
$osmconf['mouse_navigation'] = 1;
$osmconf['show_popups'] = 1;
$osmconf['zoom'] = 13;
$osmconf['lat'] = $mylat;
$osmconf['lon'] = $mylon;
$cObj = t3lib_div::makeInstance('tslib_cObj');
$content .= $cObj->cObjGetSingle('USER', $osmconf);
I replaced the $pagerender->addJsFile() calls by $GLOBALS['TSFE']->additionalHeaderData = ... which fixed this part of the problem, but the code for T3_onloadWrapper() is still missing.
Either am doing something totally wrong or there should be a switch to change the way js code is inserted.
|related to Core - Bug #22273: PageRenderer does not work for USER_INT plugins||Resolved||2011-08-25|