Tuesday, 16 March 2010
 
  Home arrow News arrow Latest arrow Joomla TinyMCE Resize Problem Fix
AskJack is Managed & Marketed by Sterling eConsultancy
 
Member Login
Join AskJack - registration is free and only takes a few minutes...
Lost Password? No account yet? Register

Latest News
Popular
Main Menu
Home
News
Site Map
Links
Search
Panoramic Technology
Interesting RSS Feeds
Advertising
Amazing LPR Site Map
Article JackC
Recipe JackC
Search JackC
AJ Member Content
A Nude JackC
AskJackC Anything
FAQ Registration
FAQ Post Content to AJ
These are NOT Ad Links - Super Fast FREE Random Info

XML error: junk after document element at line 3, column 0

XML error: junk after document element at line 3, column 0

Who's Online
We have 1 guest and 1 member online

Advertisement

Joomla TinyMCE Resize Problem Fix

Written by Jack   
Monday, 11 February 2008

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.

Comments
Search RSS
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >
Camel Tickler
Build Your Own Holiday in Malta - Save Money
1st4 Sponsors AskJack Making this a FREE Unlimited Search service width=
SECURED LOANS
UNSECURED LOANS
 TENANT LOANS
 COMMERCIAL MORTGAGE
MORTGAGES
 REMORTGAGES
WAKE UP CALL
More than half

of ALL borrowers are continuing to pay over the odds for their mortgage each month.
NOTHING TO LOSE 
NO FEES & LOW RATES FREE QUOTE!
CLICK HERE
APPLY FOR YOUR "RATE SMART"
RE-MORTGAGE TODAY!
Malta for Low Cost Self Catering Holiday Apartments and Budget Flight Options 
DIY or Build Your Own holiday solutions have increased in popularity due to low cost airfares and flexible accommodation bookings. Large families often find their budget stretched to breaking point when using a traditional travel agent to book a holiday during high season and school holidays.

Build Your Own Holiday in Malta - Save Money