[TYPO3-core] FYI24: #14026: Main module does not load different navFrames in submodules in dependency of navFrameScriptParam

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Apr 27 10:10:33 CEST 2010


Hi!

This is SVNM patch request.

Type: bug

Branches: 4.2, 4.3, 4.4

BT reference: http://bugs.typo3.org/view.php?id=14026

Problem: best described on DAM example. DAM uses different variations of a
tree view for various submodules. In some cases it is just a tree, in other
cases it is extra options. Due to the bug, the tree view (“navFrame”) is
not reloaded when user clicks on different submodules, only content frame
(rightmost) is reloaded. Thus the user does not see a proper tree view when
navigating between DAM modules.

DAM correctly uses $MCONF['navFrameScriptParam'] in conf.php to pass
parameters to the navigation frame and tell it what to show. TYPO3 core
knows about this parameter but fails to use it when working with navFrame.
Looks like another forgotten point.

Solution: append navFrame parameters to the navFrame URL. Though it is that
simple, it took lots of time stepping over JavaScript and PHP to find out
the cause and solution...

Note: the attached patch contains a part of #14207 patch. I will make a
correct commit of #14207 tomorrow followed by the rest of #14026.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14026.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100427/028c112c/attachment.txt>


More information about the TYPO3-team-core mailing list