[TYPO3-english] Using css_styled_content hook / TYPO3 6.1/6.2
Thomas Skierlo
tsk at pix-pro.eu
Thu Sep 12 10:18:57 CEST 2013
Hi everybody,
I am trying to use the "render_textpic" hook from "css_styled_content" im my own extension (key: portable_layout). For testing purposes it should just return <p>hello world</p>. But it doesn't. I've tried it with about 100 variants in ext_localconf.php. Last one was:
(ext_localconf.php)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['css_styled_content']['pi1_hooks']['render_textpic'][] = 'EXT:' . $_EXTKEY. '/Classes/Hooks/CssStylesHooks.php:Tx_PortableLayout_Hooks_CssStylesHooks->render_textpic';
(ext_tables.php)
t3lib_div::requireOnce(t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Hooks/CssStylesHooks.php');
No success, no logging of any errors - just nothing happening. I expect it to be a naming/namespace problem, but I have no idea of the right way (the one for september 2013) to do it.
All my BE/Core hooks from my other extensions are working just fine.
Thanks for any help,
Thomas
More information about the TYPO3-english
mailing list