Project

General

Profile

Actions

Bug #22553

closed

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

Added by Tolleiv Nietsch about 14 years ago. Updated almost 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 #1

Updated by Chris topher almost 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

Actions #2

Updated by Alexander Opitz almost 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?

Actions #3

Updated by Chris topher almost 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()".

Actions

Also available in: Atom PDF