Project

General

Profile

Actions

Feature #25741

closed

TScript condition to distinguish module loaded

Added by Martin Mädler over 13 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2011-04-04
Due date:
% Done:

0%

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

Description

It would be nice to have a condition in TSscript to distinguish which module is currently loaded.

That way it would for example be possible to hide pages in a specific module.

User TSConfig:
[ModuleLoaded = Page]
options.hideRecords.pages = 42
[global]

There are probably a whole lot of other use cases for this.

Actions #1

Updated by Xavier Perseguers over 13 years ago

  • TYPO3 Version changed from 4.5 to 4.6

Features cannot go to a stable release

Actions #2

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from New to Accepted
  • Target version set to 7.4 (Backend)
Actions #3

Updated by Benni Mack over 9 years ago

  • Status changed from Accepted to Rejected

This is not going to happen unfortunately.

Module Settings are distinct and built by mod.web_page. e.g. - setting DataHandler options for modules does not work, as DataHandler is not aware (and won't be) of the current module.

Actions

Also available in: Atom PDF