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

Tony Lush tlush at advancewm.com
Fri Aug 12 20:50:51 CEST 2011


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.


More information about the TYPO3-english mailing list