TinyPortal

Development => Support => Topic started by: knat on April 07, 2007, 10:49:57 AM

Title: HELP NEEDED: How to resize article editor text box ?
Post by: knat on April 07, 2007, 10:49:57 AM
Attached image to show what i need.. i want to make it bigger to make it easyer for me to see that stuff i am working with.. is it possible to change inside a file somewhere.. does anyone know how to do this.. i would love to make it twice the height it is now.. thanks

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpix.nofrag.com%2F71%2Fbd%2F2ff117325d85c836d7d6eeaac802.jpg&hash=0dde6236bc2874fdb6d66558ab5f0619788f987e) (http://pix.nofrag.com/71/bd/2ff117325d85c836d7d6eeaac802.html)
Title: Re: HELP NEEDED: How to resize article editor text box ?
Post by: PeterLawrence on September 15, 2008, 06:23:34 PM
This option would be nice to have in Tinyportal.

However, for the time being I’ve simply added the full screen edit option to the FCKEditor toolbar.

To do this you need to edit the fckconfig.js file found in the FCKEditor folder and add the FitWindow option to the default toolbar.

Search for

['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton'],
['TextColor','BGColor'],
'/',

And replace it with

['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton'],
['TextColor','BGColor','FitWindow'],
'/',

Now you don’t have to edit an article just within a letter box sized frame anymore.
Title: Re: HELP NEEDED: How to resize article editor text box ?
Post by: Ianedres on September 16, 2008, 10:16:32 AM
The height of the FCKeditor is set in TPortalAdmin.php in your Sources directory.

Make a backup copy of this file prior to editing.

Find the following (around line #1647):FCKContent.Height = "400";

Replace the "400" with your preference, as this is the number of pixels set for the height of the IFRAME.

I agree that this could be an option for future versions of TP, and will submit it as such.