Project

General

Profile

Actions

Bug #60405

closed

PageTree cannot select/expand hidden nodes

Added by Oliver Hader over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Pagetree
Target version:
-
Start date:
2014-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3.Backend.NavigationContainer.PageTree.select(64) does not select the correct page, but tries to determine the correct node levels, fakes the local node states and reloads the page tree. One thing that might not be considered there is the fact that pages are represented in hex-values with a leading "p", thus the integer "64" with be converted to "p40" as node id.

To overcome this scenario and enable custom handling there, a new generic method is introduced:
TYPO3.Backend.NavigationContainer.PageTree.invokePageId(pageId, callback, allResults);

The methods "selectPageId" and "expandPageId" show how this is actually used.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #60406: Highlight page tree depending on current workspace elementClosedOliver Hader2014-07-20

Actions
Actions

Also available in: Atom PDF