Project

General

Profile

Actions

Bug #14385

closed

HMENU special=language does not work if L in linkvars

Added by old_pneff over 19 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-11-13
Due date:
% Done:

0%

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

Description

The 3.7 language menu generates a faulty URL for language switch. When rendering a page with the L querystring in the URL (e.g. index.php?id=10&L=2), the links in the language menu contain two L query strings (e.g. index.php?id=10&L=2&L=1).

This seems to happend only then L is in config.linkVars.

I have created a small patch which fixes the problem. Basically it removes the existing L parameter from $GLOBALS['TSFE']->linkVars before rendering the language menu. This is probably fault, because it would at least have to backup $GLOBALS['TSFE']->linkVars and set it back to the backuped value after the menu is generated (I'm really just guessing here).
(issue imported from #M490)


Files

0000490-class.t3lib_tstemplate.php.diff (1.06 KB) 0000490-class.t3lib_tstemplate.php.diff Administrator Admin, 2005-03-24 17:52
class.tslib_content_2.diff (1.2 KB) class.tslib_content_2.diff Administrator Admin, 2005-04-06 22:22
class.t3lib_tstemplate_3.diff (1.17 KB) class.t3lib_tstemplate_3.diff Administrator Admin, 2005-04-07 13:53
class.t3lib_tstemplate_4.diff (1.05 KB) class.t3lib_tstemplate_4.diff Administrator Admin, 2005-04-07 13:53

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15557: in relation to 0000490: HMENU special=language does not work if L in linkvarsClosed2006-02-02

Actions
Actions

Also available in: Atom PDF