Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:15 pm EST
Geeklog Forums
How to Configure FCKeditor in the new 1.4
Status: offline
phpsocialclub
Forum User
Junior
Registered: 03/05/03
Posts: 30
Location:North Carolina
I am in love with the new FCKeditor that is included with the GL 1.4.
I have been installing FCKeditor in all of my GL sites (10+) for a while now, and have had to reinstall it everytime I upgraded. Now I can stop that practice, I thought everyone would enjoy some information about how to customize the editor.
If you want to change the tool bar options, you can change this file
/public_html/javascript/staticpages_fckeditor.js
Line 14: oFCKeditor1.ToolbarSet = 'editor-toolbar3' ;
there are other options for the tool bar and they are listed in
/public_html/fckeditor/fckconfig.js
There are a lot of options in this file, but if you make changes, you must either clear your cache or reload this file directly, so that your browser will not cache the old version. I would save a copy of this file, because you can hose your install if you muck it up to much.
If you add a tool bar with the "Style" option, you can load a list of styles that is detailed in this file
/public_html/fckeditor/fckstyles.xml
If you want to put styles from your site into this file, it is xml and pretty easy to figure out if you take a look at it.
You can also edit the templates that are available in this file
/public_html/fckeditor/fcktemplates.xml
You can add details of tables that you can add to the site if you are creating a lot of pages that need a common theme.
If you want to change the types of files that you can upload with the "browser server" behavior you can edit
/public_html/fckeditor/editor/filemanager/browser/mcpuk/connectors/php/config.php
This file contains all of the restrictions for the types of files that can be uploaded, from file type to size
for example if you want to change how the editor adds the URL to your images instead of making them relative to the site root, you can change line 46 and make
$fckphp_config['urlprefix'] = $_CONF['site_url'];
into
$fckphp_config['urlprefix'] = "/"; and it will not add the domain name to the image path,
this is great if you are working on a site on a dev server and do not want to go around and redo all the image links,
enjoy and thanks again to all the GL developers for adding this to the core
I work for a Wilmington NC Attorney
I have been installing FCKeditor in all of my GL sites (10+) for a while now, and have had to reinstall it everytime I upgraded. Now I can stop that practice, I thought everyone would enjoy some information about how to customize the editor.
If you want to change the tool bar options, you can change this file
/public_html/javascript/staticpages_fckeditor.js
Line 14: oFCKeditor1.ToolbarSet = 'editor-toolbar3' ;
there are other options for the tool bar and they are listed in
/public_html/fckeditor/fckconfig.js
There are a lot of options in this file, but if you make changes, you must either clear your cache or reload this file directly, so that your browser will not cache the old version. I would save a copy of this file, because you can hose your install if you muck it up to much.
If you add a tool bar with the "Style" option, you can load a list of styles that is detailed in this file
/public_html/fckeditor/fckstyles.xml
If you want to put styles from your site into this file, it is xml and pretty easy to figure out if you take a look at it.
You can also edit the templates that are available in this file
/public_html/fckeditor/fcktemplates.xml
You can add details of tables that you can add to the site if you are creating a lot of pages that need a common theme.
If you want to change the types of files that you can upload with the "browser server" behavior you can edit
/public_html/fckeditor/editor/filemanager/browser/mcpuk/connectors/php/config.php
This file contains all of the restrictions for the types of files that can be uploaded, from file type to size
for example if you want to change how the editor adds the URL to your images instead of making them relative to the site root, you can change line 46 and make
$fckphp_config['urlprefix'] = $_CONF['site_url'];
into
$fckphp_config['urlprefix'] = "/"; and it will not add the domain name to the image path,
this is great if you are working on a site on a dev server and do not want to go around and redo all the image links,
enjoy and thanks again to all the GL developers for adding this to the core
I work for a Wilmington NC Attorney
10
10
Quote
Hi phpsoacial,
I have a problem activation the FCKeditor.
I have change config.php to
$_CONF['advanced_editor'] = true;
But I don't see this editor anywhere on my pages. Not in "new topic" nor
in "post reply". Can you help me? Where can I check the FCKeditor?
I have a problem activation the FCKeditor.
I have change config.php to
$_CONF['advanced_editor'] = true;
But I don't see this editor anywhere on my pages. Not in "new topic" nor
in "post reply". Can you help me? Where can I check the FCKeditor?
11
12
Quote
All times are EST. The time is now 03:15 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content