Project

General

Profile

Actions

Bug #21869

closed

t3lib_tceforms does not respect mod.SHARED.disableLanguages

Added by Xavier Perseguers over 14 years ago. Updated almost 10 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When a flexform does not disable inline translation (that is it enables it):

<meta>
<langDisable>0</langDisable>
</meta>

all languages are made available. However a page option mod.SHARED.disableLanguages allow languages to be deactivated.

As such the behavior is not respected as when setting langDisable to 1 (CE are localizable with mod.SHARED.disableLanguages taken into account).

Solution: use same code as within tx_cms_layout.php.

(issue imported from #M13068)


Files

13068.diff (1.03 KB) 13068.diff Administrator Admin, 2009-12-19 15:50
13068_v2.diff (1.84 KB) 13068_v2.diff Administrator Admin, 2009-12-19 17:09

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #20014: Page TS option to disable available languagesClosed2009-02-13

Actions
Actions #1

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Bernhard Eckl over 10 years ago

I just had the same problem. I used mod.SHARED.disableLanguages = 1 and it will not be displayed when using the templavoila page module. But when using the core page module (I use both at this installation until I can drop tv) the language is still in the dropdown menu. It is in the page module and when editing the content element, in both views it should not be present.

Actions #3

Updated by Bernhard Eckl over 10 years ago

I just checked again, it is not true, the disabled language will only be shown if there is already a translation of that language created. But there is still the problem that in the content element itself one language cannot be disabled through page tsconfig. It should be hideable completely. In my case I have default language german and a second language english (and two others), but at a special part of the page tree the default language should be english so the second english language (default lang + english lang) should not be displayed in that part of the page tree.

Actions #4

Updated by Alexander Opitz over 10 years ago

@Bernhard

which TYPO3 Version did you use?

Actions #5

Updated by Alexander Opitz over 10 years ago

  • Is Regression set to No

@Bernhard

which TYPO3 Version did you use? As TYPO3 4.5 only gets security fixes, it should be tested with 6.1.7.

Actions #6

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Xavier Perseguers)

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF