[TYPO3-german] Gridelements TYPO3 6.2
Matthias Eberlein
skydivematy at gmail.com
Tue Apr 1 22:18:51 CEST 2014
Schau mal was geht.
Ich habe eine BasicPage Extension welche so die Wichtigsten Dinge macht. Unter anderm folgendes
in die ext_localconf.php
// // Include static TypoScript files from extensions using a hook.
// // @see http://blog.causal.ch/2012/05/automatically-including-static-ts-from.html
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSources'][] =
'EXT:' . $_EXTKEY . '/Classes/Hooks/TypoScriptTemplate.php:CuarentaUno\CuarentaUnoBasicPageSetup\Hooks\TypoScriptTemplate->preprocessIncludeStaticTypoScriptSources';
\CuarentaUno\CuarentaUnoBasicPageSetup\Hooks\TypoScriptTemplate::getInstance()->addStaticTemplates(array(
'EXT:css_styled_content/static',
// 'EXT:seo_basics/static',
'EXT:gridelements/Configuration/TypoScript',
'EXT:cuarenta_uno_gridelements/Configuration/TypoScript',
'EXT:news/Configuration/TypoScript',
'EXT:cuarenta_uno_forms/Configuration/TypoScript',
// 'EXT:source_opt',
));
Damit hast du keine Probleme mehr StaticTemplatesFromExt einzubinden.
Gruss
Matthias
Sorry, gehöt zwar nicht zu Thema, aber....;)
More information about the TYPO3-german
mailing list