Project

General

Profile

Actions

Bug #15253

closed

navFrame for main module without subscripts - doesn't work

Added by Dutchak Vitaly almost 19 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-12-01
Due date:
% Done:

0%

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

Description

At creation main BE Module c navFrame without submodules, i have mistake Forbidden and path to connection navScript in which it is visible a mistake. Having seen a file typo3/class.alt_menu_functions.inc-> function getNavFramePrefix I have found a mistake in generating JS of a code:
if ($BE_USER->uc['condensedMode']) {
$prefix=$navFrameScript.$navFrameScriptParam.'&currentSubScript=';
} else {
$prefix='alt_mod_frameset.php?'.
'fW="+top.TS.navFrameWidth+"'.
'&nav="+top.TS.PATH_typo3+"'.rawurlencode($navFrameScript.$navFrameScriptParam).
'&script=';
}

exacly error is here:

$prefix='alt_mod_frameset.php?'.'fW="+top.TS.navFrameWidth+"'. '&nav="+top.TS.PATH_typo3+"'.rawurlencode($navFrameScript.$navFrameScriptParam).'&script=';

this bouble quotes Typo3 insert to the path without substitution JS vars it inserts them as the text

(issue imported from #M1964)


Files

bug.gif (33.1 KB) bug.gif Administrator Admin, 2005-12-05 10:30
Actions #1

Updated by Sebastian Kurfuerst almost 19 years ago

Hi,
can you please attach a unified diff with the fix to make your problem clearer?
Thanks & greets, Sebastian

Actions #2

Updated by Dutchak Vitaly almost 19 years ago

File typo3/class.alt_menu_functions.inc
Function getNavFramePrefix (Line 448-487)
If moudule doesn't have submodules, then in Lines 480-483 we have Error! Look at attachment file.

Actions #3

Updated by Christian Kuhn almost 14 years ago

This is not valid anymore with recent versions.

Actions

Also available in: Atom PDF