We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Old Extension: Shift FCKeditor

Development and Programming

Che's avatar
Che
7 posts
19 years ago
Che's avatar Che

I’d like to submit a new extension for people’s use and feedback.

Yep – it’s another FCKeditor extension. But trust me, it’s different to the existing extension, being much more flexible, and only slightly harder to use.

From the README:

One advantage of FCKeditor over TinyMCE is its ability to set editor options on a per-instance basis. That means you can have multiple FCKeditor fields in a publish form, all with different configurations. This extension enables this flexibility. You can select exactly which textareas you want to convert to WYSIWYG fields, and individually configure those fields. For example, one might be a big WYSIWYG field for body text with a full-featured editing toolbar; another a narrow field for a sidebar with custom CSS file for accurate preview, and a third an “image” field with a simple toolbar that only allows images to be uploaded to it. So how does it work? Each “Textarea” type field’s configuration directives are stored in the textarea that contains the options for “Drop-down List” type fields. Recent versions of EE require you to change the field-type to “Drop-down List” temporarily to see and edit these options. Setting the first line in this field to the string “wysiwyg” activates the extension, and transforms the textarea into an FCKeditor field with default configuration. Subsequent lines can contain relevant configuration parameters.

There’s a README file with full installation instructions for the extension. I don’t try to describe how to install/configure FCKeditor itself, which is another issue.

I’m interested to see if others find this useful.

       
jit2's avatar
jit2
14 posts
19 years ago
jit2's avatar jit2

Wow! Sounds like a great extension…Look forward to giving this a shot.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
19 years ago
Mark Bowen's avatar Mark Bowen

Hi Che,

Downloading and trying out now!!

Thanks for the file.

Best wishes,

Mark

       
sigork's avatar
sigork
155 posts
18 years ago
sigork's avatar sigork

The only problem is 2 lines (screenshot attached) where FCK is not used.

       
Oliv's avatar
Oliv
2 posts
18 years ago
Oliv's avatar Oliv

Does this extension works with EE 1.5.1 ? I tried installing it, but then in the CP I have 3 “Notice: undefined proprerty SPELL (cp.publish)” at its top.

Thank you !

       
James B's avatar
James B
29 posts
18 years ago
James B's avatar James B

I’m getting the same error as Oliv, any help is appreciated!

       
James B's avatar
James B
29 posts
18 years ago
James B's avatar James B

Figured out how to at least hide the error. Go to ADMIN > System preferences > Output and Debugging Preferences > Turn your debug preferences to 0

       
PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys

Awesome Extension!

I don’t know why this isn’t more popular. I’m using EE 1.6.7 and this works great! The other extension doesn’t automatically load FCKEditor, but this one does! The setup isn’t that difficult, you just need to follow the README exactly.

What I love about this extension is not every textarea has to use FCKEditor. Plus, each textarea field that does have FCKEditor can have a different toolbar, skin, and everything. So if you just wanted to give the ability to bold and underline for one textarea, you can do it!

I haven’t found any bugs yet, I just installed it and replaced my TinyMCE with this. FCKEditor blows TinyMCE out of the water but the other extension made it lackluster.

Use this! 😊

       
Che's avatar
Che
7 posts
16 years ago
Che's avatar Che

I think there are definitely a couple of bugs in my extension.

One causes wierdness if a WYSIWYG field is the first custom field – that is, not preceeded by a regular EE field type. I think this is due to a bug in the REGEX based replacement technicque the extension uses – which I lifted wholesale from the approach the Mark Huot uses in his field extensions.

The other bug creates the double-up of the field options, as shown in the post above. This never affects me, as I NEVER use those fields, and turn them off to reduce the noise of the publish form.

So I’m glad you’ve had success. We use this at our office a lot, to create all sorts of highly optimised WYSIWYG fields.

       
birdie's avatar
birdie
68 posts
16 years ago
birdie's avatar birdie

I installed this extension but can’t get around a problem where the frame just shows “File not found”, it seems to be an issue with FCKEditor too, because the _samples show the same issue.

I’ve tried changing the paths in the extension and in FCKEditor itself, but no luck so far. Any tips?

http://d979401.ali166.enclave-technologies.com/fckeditor/_samples/default.html

Thanks!

       
PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys
I installed this extension but can’t get around a problem where the frame just shows “File not found”, it seems to be an issue with FCKEditor too, because the _samples show the same issue. I’ve tried changing the paths in the extension and in FCKEditor itself, but no luck so far. Any tips? http://d979401.ali166.enclave-technologies.com/fckeditor/_samples/default.html Thanks!

Seems to work perfectly fine for me. Try another browser, maybe you have a config issue in one of your browsers?

       
birdie's avatar
birdie
68 posts
16 years ago
birdie's avatar birdie

I re-uploaded the fckeditor folder and it’s sorted itself out, it must have missed some files when I uploaded the first time.

Thanks folks, carry on, nothing to see here…!

       
jensa's avatar
jensa
109 posts
15 years ago
jensa's avatar jensa

Trying it out and it works really well 😊

One bug: the CP throws some odd errors when using it?

Notice: Undefined property: Shift_fckeditor::$SPELL in /home/birdie1/birdie1.no/www/b1sys/cp/cp.publish.php on line 5073 Notice: Trying to get property of non-object in /home/birdie1/birdie1.no/www/b1sys/cp/cp.publish.php on line 5073 Notice: Undefined property: Shift_fckeditor::$SPELL in /home/birdie1/birdie1.no/www/b1sys/cp/cp.publish.php on line 5073 Notice: Trying to get property of non-object in /home/birdie1/birdie1.no/www/b1sys/cp/cp.publish.php on line 5073

Any idea of how to get rid of that? I can’t seem to find any way to disable/enable spell checking?

J

       
PhireGuys's avatar
PhireGuys
525 posts
15 years ago
PhireGuys's avatar PhireGuys

You can hide errors in EE’s control panel.

CP Home › Admin › System Preferences › Output and Debugging Preferences

My last two options are set to No.

       
Macrike's avatar
Macrike
137 posts
15 years ago
Macrike's avatar Macrike

Does this work with CKEditor? If not, any chance of getting it to work with CKEditor?

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.