Project

General

Profile

Actions

Bug #19125

closed

No Language in translated Workspacepages in Previewlink

Added by Schmidt Timo almost 16 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-18
Due date:
% Done:

0%

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

Description

If you view the preview of a translated page in a workspace and generate a Previewlink, the link does not link to the correct Languageversion of the page.

Solution:

1. Add the language Variable in "/typo3/mod/user/ws/wsol_preview.php" to the versionMod Frame (Line 143)

'versionMod' => ../../../sysext/version/cm1/index.php?id='.$pageId.'&L='.$language.'&diffOnly=1'

2. Add the language to the preview url (line 677):

$params='id='.$this->id.'&ADMCMD_view=1&ADMCMD_editIcons=1&ADMCMD_previewWS='.$GLOBALS['BE_USER']->workspace;
$language = intval(t3lib_div::_GP('L'));
if($language != 0){ $params .= '&L='.$language;}

(issue imported from #M9003)

Actions

Also available in: Atom PDF