[TYPO3-english] [solved] How to make "Insert link" and "Insert image" RTE's windows wider?

Sergey Alexandrov serg at alexandrov.us
Sat Aug 13 21:53:05 CEST 2011


I had to RTFM first :) This actually works perfect! Thank you!

On 8/12/2011 2:50 PM, Tony Lush wrote:
> Another solution which worked in our situation was in page TS config:
>
> RTE.default {
>     #Enforce dialogue box sizes
>     buttons.link.dialogueWindow.width = 600
>     buttons.link.dialogueWindow.height = 400
>     buttons.link.dialogueWindow.doNotCenter = 1
>     buttons.image.dialogueWindow.width = 600
>     buttons.image.dialogueWindow.height = 400
>     buttons.image.dialogueWindow.doNotCenter = 1
> }
>
> Thanks -- Tony
>
> On 8/11/2011 5:31 PM, Sergey Alexandrov wrote:
>> Actually, I figured it out:
>> - search the code for thePreviewWindow, it should give you something 
>> like
>> thePreviewWindow =
>> window.open("'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').TYPO3_mainDir.'show_item.php?table="+url,"ShowItem","height=300,width=410,status=0,menubar=0,resizable=0,location=0,directories=0,scrollbars=1,toolbar=0"); 
>>
>>
>>
>> change width :) - do not remember if there are more, take a look on the
>> js/backend.js also. Everything is hard-coded :(
>>
>> it's inside sysext/rtehtmlarea and dam extensions, then I cleared all
>> cache, icluding typo3temp, and browser's cache, restarted browser.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list