Re: [TYPO3-english] Updating old extention 2

2014-10-11 Thread Jan Bednarik
Hi, have a look at CoolUri, it's running under 4.5 and 6.2 as well. It's done like this: if (!class_exists('t3lib_SCbase')) { class t3lib_SCbase extends \TYPO3\CMS\Backend\Module\BaseScriptClass {} } and then you can use class tx_cooluri_module1 extends t3lib_SCbase { Regards Jan Dne

[TYPO3-english] Updating old extention 2

2014-10-10 Thread Christian Tauscher
If the Extention should run with Pre 6.2 and with 6.2+ I tryed the following: if($typo3Version < 6002000) { // DEFAULT initialization of a module [BEGIN] unset($MCONF); require_once('conf.php'); require_once($BACK_PATH.'init.php'); require_once($BACK