Project

General

Profile

Actions

Bug #22553

closed

t3lib_extMgm should provide API to determine whether ext is installed or not

Added by Tolleiv Nietsch over 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

isInstalled.patch (1011 Bytes) isInstalled.patch Administrator Admin, 2010-04-30 12:26
14258-v2.diff (1.1 KB) 14258-v2.diff Administrator Admin, 2010-05-28 19:49

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #19739: TypoScript Condition to check for installed extensionsClosed2008-12-24

Actions
Related to TYPO3 Core - Bug #22170: sysext:version needs doNotLoadInFE => 0ClosedChristian Kuhn2010-02-23

Actions
Actions

Also available in: Atom PDF