[TYPO3-core] RFC: #15711: Render ModuleMenu with ExtJs, remove the frameset

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Sep 17 11:48:10 CEST 2010


Hi Steffen,

looks great, and thanks also to Galinski for his in depth review. One
comment:

Steffen Kamper schrieb am 17.09.2010 11:39:

>> ## PageTree ##
>> ##############
>>
>> - "MountAsTreeRoot" context menu option does nothing
>> - "Hide/Unhide" via context menu does nothing
>> - "Edit" via context menu option does nothing
>> - "Cut&Copy&Paste" via context menu does nothing
>> - "Delete" via context menu does nothing
>> - "MoreOptions->Access" opens with wrong URL (subdirectory issue?)
> 
> all fixed

I had been looking at that stuff right now too. You fixed it by adding
to typo3/js/modulemenu.js:

top.content = {
 ...
                location:
TYPO3.Backend.ContentContainer.getIframe().location,
}

(btw, indent this with a tab also). And then you changed
typo3/alt_clickmenu.php so that it always renders in the "list_frame".

My comments:

1) if you are changing that, you might as well change it to
TYPO3.Backend.ContentContainer.getIframe() once and for all, so that at
least this part doesn't rely on backwards compatibility hacks.

2) also extensions might have added stuff to the click-menu and copied
these JS snippets from the core in the past. To keep them working,
another top.content definition is needed in the "backwards
compatibility" stuff:

top.content.document: TYPO3.Backend.ContentContainer.getIframe();

If you add that, you don't even need to change alt_clickmenu.php from
our original trunk one (thus proving that it is backwards compatible) ;)

Other than that, I will give a deeper review later that afternoon.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list