[TYPO3-core] RFC: Multimedia in "Text w. Image" / Feature #6840

Tapio Markula tapio.markula at xetpoint.fi
Mon Nov 26 22:21:39 CET 2007


Martin Kutschker
> Sound nice but the MULTIMEDIA object sucks ;-)

I would propose a hook because there might be unexpected problems

{						
					if (is_array ($GLOBALS['TYPO3_CONF_VARS']...['CType_multimedia'])) {
						foreach  ($GLOBALS['TYPO3_CONF_VARS']...['CType_multimedia'] as 
$classRef) {
							$hookObj= &t3lib_div::getUserObj($classRef);
							if (method_exists($hookObj, 'CType_multimedia'))
								$content .= $hookObj->CType_multimedia($incFile,$parArray);
							}
						}
					else 	$content .= '<embed '.implode(' ',$parArray).'></embed>';


More information about the TYPO3-team-core mailing list