[TYPO3-core] RFC: #16039: Move TCEforms HTML templates to template file
Sven Juergens
t3 at blue-side.de
Mon Oct 18 19:52:02 CEST 2010
Am 18.10.10 11:38, schrieb Steffen Kamper:
> Hi,
>
> sry, missed to include the template file, done now.
>
> vg Steffen
hi Steffen,
what do you think about the possibility to override the templateFile
with some configuration stuff ?
Maybe like in typo/template.php [1], so you add own (CSS) classes,
styles or something like that, or some step further a hook to add own
markers ? :)
Best Regards
Sven
[1]
function getHtmlTemplate($filename) {
if ($GLOBALS['TBE_STYLES']['htmlTemplates'][$filename]) {
$filename = $GLOBALS['TBE_STYLES']['htmlTemplates'][$filename];
}
if (substr($filename,0,4) != 'EXT:') {
$filename = t3lib_div::resolveBackPath($this->backPath . $filename);
} else {
$filename = t3lib_div::getFileAbsFileName($filename, true, true);
}
return t3lib_div::getURL($filename);
}
More information about the TYPO3-team-core
mailing list