Project

General

Profile

Actions

Feature #20325

closed

function module can be configurred only in ext_tables.php

Added by Franz Holzinger about 15 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

If you want to add an addition to the function module, you must do this in the file ext_tables.php of your extension. However this is not usefull, because this file is intended to make changes to the $TCA and not for the module configuration. This forces you to have the file ext_tables.php in your backend extension. But normally a backend extension does not modify the $TCA.

This strange behaviour happens only because the $TBE_MODULES_EXT is unset in config_default.php . This should not be unset here.

(issue imported from #M10931)


Files

TBE_MODULES_EXT.diff (348 Bytes) TBE_MODULES_EXT.diff Administrator Admin, 2009-04-20 11:46
Actions #1

Updated by Alexander Opitz about 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #2

Updated by Franz Holzinger almost 11 years ago

The problem seems to still exist in TYPO3 6.0.

The file is now called
./typo3/sysext/core/Classes/Core/Bootstrap.php

Everything is unset in
protected function unsetReservedGlobalVariables() {

This is weired. You should not unset it.

Actions #3

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to New
Actions #4

Updated by Benni Mack over 9 years ago

  • Target version set to 7.1 (Cleanup)
Actions #5

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #6

Updated by Benni Mack almost 9 years ago

  • Status changed from New to Closed

The intended behaviour is indeed to define this in ext_tables.php as long as we don't have the new Backend Module API in place.

TCA changes should nowadays go into Configuration/TCA/ or Configuration/TCA/Overrides and backend module API registrations need to go into ext_tables.php due to the nature of the bootstrap. The core modules are registered through ext_tables.php as well currently, so this is fine.

Actions

Also available in: Atom PDF