Project

General

Profile

Actions

Bug #16148

closed

IFSUB and ACTIFSUB of Menus fails with pagetype shortcut as subpage

Added by Franz Koch over 18 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-05-15
Due date:
% Done:

0%

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

Description

This bug is related due to missing SQL-Query-Result fields in the function "getMenu()" (in class.t3lib_page.php) called by function "isSubMenu" from "class.tslib_menu.php".
The function getMenu provides a function-variable (operator? - I'm no developer) in which the whished fields for the result rows can be given. Nice feature, but the problem is that the function also does the submenu check (ISSUB etc.) and therefore needs certain fields in the result row. If these are not part of the values passed in the function call, those checks will always fail (which currently does).

Therefore there are 2 possible solutions:
Either parse the field-values passed to the function variable with a t3lib_div::uniqueInList($passed_fields.",".$required_fields_by_function_itself) or simply add those fields to the functioncall in line 1343 of class "class.tslib_menu.php".
The missing fields in the function call are "shortuct" and "shortcut_mode".

(issue imported from #M3493)


Files

tslib_menu.diff (232 Bytes) tslib_menu.diff Administrator Admin, 2006-08-22 15:55

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #15931: Menu: IFSUB condition not working correctly (RC3)ClosedWolfgang Klinger2006-04-07

Actions
Related to TYPO3 Core - Bug #17632: t3lib_page::getMenu does not check for existance of language overlayClosed2007-09-27

Actions
Actions

Also available in: Atom PDF