TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 469
  • Total: 470
  • @rjen

HELP NEEDED: How to resize article editor text box ?

Started by knat, April 07, 2007, 10:49:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knat

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


PeterLawrence

#1
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.

Ianedres

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.