[TYPO3-dev] Detecting the version of Typo3 for my extensio

Luc Franken [TenToday] typo3 at tentoday.com
Fri May 19 15:45:44 CEST 2006


Sure?

I thought something like this should work: $GLOBALS['TYPO_VERSION']

Tapio Markula schreef:
> Luc Franken [TenToday] wrote:
>> Try in your script something like: debug($GLOBALS) in that array I guess.
> 
> it tested with print_r($GLOBALS); - typo3 version is not stored there
>>
>> Tapio Markula schreef:
>>
>>> Hi
>>>
>>> I would need condition if($TypoVer >= 4.0)
>>>
>>> how I could get the version of Typo3?
>>>
>>> $TypoVer= ...?
>>>
>>> I would need it at least for one language label
>>> because 'Edit page properties' use different
>>> language label than 'Edit page header' in older Typo3 versions.




More information about the TYPO3-dev mailing list