Project

General

Profile

Actions

Bug #17023

closed

JSMENU produces error if using baseurls

Added by Jens Köster over 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2007-02-21
Due date:
% Done:

0%

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

Description

The JSMENU does not work with baseurls set i.e. in realURL enviroments

The reasons for this:
1. Array property for number of elements is not .size but .length in t3lib/jsfunc.menu.js
2. the $GLOBALS['TSFE']->baseUrlWrap() has to be applied to nonempty URLs in typo3/sysext/cms/tslib/class.tslib_menu.php. Otherwise the javascript-code will not work properly on menu entries with noLink=1 Instead of staying at the current url, the baseurl is loaded.

(issue imported from #M5048)


Files

patchfile.patch (2.89 KB) patchfile.patch Administrator Admin, 2007-02-21 17:36
0005048.patch (2.15 KB) 0005048.patch Administrator Admin, 2007-02-24 15:13
Actions

Also available in: Atom PDF