Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 03:09:24 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Installing FCKeditor 2.5 on WB  (Read 1276 times)
heth

Offline Offline

Posts: 54


« on: December 28, 2007, 05:36:50 PM »

I've read a few people say on the forums that they've tried the new version of fckeditor and it works fine with WB. However I've also read on the forums "then hop over to the Add-On Repository and download the editor module from there. The version you find on sourceforge can not work, because it is not integrated."

I'm getting what looks like permissions errors when trying to install 2.5. Is there an alternative way of installing this without using the Add On Module installation in the admin panel or will it just not work?

Alternatively, do you know if there's a way to edit FCKeditor's styles? All I want to do is change it from fixed font sizes to relative. I think I'm currently using v2.1 of the editor

Thanks in advance

Heather
« Last Edit: December 28, 2007, 05:38:58 PM by heth » Logged
marathoner

Offline Offline

Posts: 495


« Reply #1 on: December 28, 2007, 06:03:17 PM »

You can install FCKeditor directly but why would you want to? You'll need to spend a lot of time to integrate with WB...the same things that are already done for you with the addon. The addon includes the necessary configuration (e.g. path to media directory, path to template CSS files, etc.) and permissions to work properly with WB. It will also enable WB to recognize it as a WYSIWYG editor so that you can control this from the settings section. The addon was recently updated to include the latest version of FCKeditor.

As far as styles you can change these by following the instructions at FCKedit website. If you use the addon then FCKedit will automatically use the editor.css file (if one exists) in your template directory so that you will see the same styles as your website visitors. You can still tweak the FCKedit configuration if you want to modify anything.

Save yourself time and headaches and use the addon.
Logged
heth

Offline Offline

Posts: 54


« Reply #2 on: December 28, 2007, 06:34:11 PM »

Thanks for the heads up on the add on page being updated. Now got the up to date version of the editor working. I like their plan of doing away with font tags  grin

I'm digging around in their forums... I need to stop the font size box from making things fixed fonts. I made a beautifully accessible website with different templates for different size fonts and its all going horribly wrong because of one little drop down box. grrr....
Logged
marathoner

Offline Offline

Posts: 495


« Reply #3 on: December 28, 2007, 08:02:27 PM »

I haven't tested it but take a look at /wb_config/wb_fckconfig.js line 130. I think you can change your font sizes to anything you want (ems, px, percentage, etc.). This will use a <span> tag and not the <font> tag. Let others know if this works for you.

Replace:
Code:
'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large'
With something like:
Code:
'0.8em;1.0em;1.2em'
« Last Edit: December 28, 2007, 08:46:16 PM by marathoner » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!