[TYPO3-dev] Plugin blank after upgrade to Typo3 4.0 [SOLVED]

Neil Bertram neil at tasmanstudios.co.nz
Thu Apr 13 16:46:27 CEST 2006


> 
> Earlier versions of tt_news (v1.x, which were shipped with TYPO3 3.8.1)
> added TypoScript on installation of the extension. Later ones (starting
> with v2.x, I think) didn't do that, which is why you don't get any
> output until you add one of the provided static templates to your main
> template (either "table based" or "css based"). Maybe this is what
> happened, since tt_news is no longer being shipped with TYPO3 4.0 and
> you might have needed to install it from TER.
> 
> What are you doing in your extensions ext_localconf.php?
> 
> Cheers,
> Ernesto

I'm using a new version of tt_news designed for 4.0 (from a link posted 
on the english list some time ago)... It's working perfectly now, thanks!


My extension is straight out of the kickstarter, here's ext_localconf.php:

<?php
if (!defined ("TYPO3_MODE")) 	die ("Access denied.");

   ## Extending TypoScript from static template uid=43 to set up 
userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY,"editorcfg","
	tt_content.CSS_editor.ch.tx_tasmtemperature_pi1 = < 
plugin.tx_tasmtemperature_pi1.CSS_editor
",43);


t3lib_extMgm::addPItoST43($_EXTKEY,"pi1/class.tx_tasmtemperature_pi1.php","_pi1","list_type",0);
?>


I just exported it from that install and tried it on another, and it's 
working there. I can't see what the difference is! This is very 
confusing, but it's probably my fault somewhere.

Thanks for your help :)


Neil




More information about the TYPO3-dev mailing list