Bug #15253
closednavFrame for main module without subscripts - doesn't work
0%
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.'¤tSubScript=';
} 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
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
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.
Updated by Christian Kuhn almost 14 years ago
This is not valid anymore with recent versions.