Bug #22553
closedt3lib_extMgm should provide API to determine whether ext is installed or not
100%
Description
For a long time "t3lib_extMgm::isLoaded()" was used to determine whether an extension is installed or not . but due to the "doNotLoadInFE" feature the result of "isLoaded" might not be enough to determine whether the extension really exists or not.
Therefore I propose to add a related "isInstalled" method.
Why is that relevant - check https://svn.typo3.org/TYPO3v4/Extensions/tt_news/trunk/pi/class.tx_ttnews.php - where "t3lib_extMgm::isLoaded('version')" is used to determine whether "versioning" is enabled or not. This worked fine for years but doesn't anymore due to the fact that "version" is not loaded in the frontend.
(issue imported from #M14258)
Files
Updated by Chris topher over 14 years ago
Quoting what Joey wrote in #19739:
We already got globalString, which can use a regular expression on
TSFE:TYPO3_CONF_VARS|EXT|extList_FE
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
Is this feature request still valid or does something already changed here?
Updated by Chris topher over 11 years ago
- Status changed from Needs Feedback to Closed
- % Done changed from 0 to 100
The issue is no longer present. The property "doNotLoadInFE" has been removed (in TYPO3 6.0 I think) so that this property can no longer distort the results of "t3lib_extMgm::isLoaded()".