CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #35672

Calling plugin from other extension does not work

Added by Uwe Steinmann about 1 year ago. Updated 12 months ago.

Status:On Hold Start date:2012-04-04
Priority:Must have Due date:
Assignee:Robert Heel % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 1 (View)

Description

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');
$cObj->start($this->cObj->data, '');
$content .= $cObj->cObjGetSingle('USER', $osmconf);

This does work only partially but not good enough to see an output. The html code with the div for the map is created but all the javascript in the header is missing.

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.

Uwe

Related issues

related to Core - Bug #22273: PageRenderer does not work for USER_INT plugins Resolved 2011-08-25

History

Updated by Robert Heel 12 months ago

  • Status changed from New to On Hold
  • Assignee set to Robert Heel
  • Priority changed from Should have to Must have

Yes, it's a core bug.

Also available in: Atom PDF