|
This is a small bug fix for the users of the Millennium Earth template which, is a free download over at joomla-templates.com The newly released Camel Tickler Road Trips and Destinations web site use a customised version of this free template. Problem: The template uses a fixed width of 770 in all page views. When a member logs in and tries to post a new item; the TinyMCE editor breaks the template layout, because it's too wide by about 100 pixels. Here is the fix for the Joomla TinyMCE Resize Problem:
Using your text editor open: components/com_content/content.html.php Search for: PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols editorArea( 'editor1', $row->introtext , 'introtext', '500', '200', '45', '5' ) ; PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols editorArea( 'editor2', $row->fulltext , 'fulltext', '500', '200', '45', '5' ) ; You need to change the width and cols settings in both code snips. This will affect the size of ALL editors you may have loaded in Joomla not just TinyMCE. To reduce the edit window to 450 wide, you'll also have to uncheck some option buttons using the TinyMCE Mambot link in when loogged into your administrator manager. Remember, if you're going to start "fiddling" with Joomla's backend code; you better make a back-up of each file. That way, if things go "camel-tits-up", you can always restore the defaults. Would your business use and appriciate a Content Management System to administer your web site? Use the contact link at the top of this page to make an enquiry. AskJack is a Sterling eConsultancy Project. |