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

installing FCKeditor

Development and Programming

Terry Burke's avatar
Terry Burke
67 posts
16 years ago
Terry Burke's avatar Terry Burke

Umm… not working. Following the directions in the Wiki, copied and pasted the changes into the .ext file:

"var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = 'http://golfodulcenews.com/fckeditor/' ;
oFCKeditor.Config["CustomConfigurationsPath"]="http://golfodulcenews.com/eetest/eetestconfig.js";
oFCKeditor.ToolbarSet = 'eetestToolbar';
oFCKeditor.ReplaceTextarea() ;

…but the actual file has code before the wiki example so the whole Frankenstein thing looks like this:

$settings['script_url']        = $PREFS->ini('site_url', TRUE).'fckeditor/fckeditor.js';
        $settings['configuration']    = array('t', "var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = 'http://golfodulcenews.com/fckeditor/' ;
oFCKeditor.Config["CustomConfigurationsPath"]="http://golfodulcenews.com/eetest/eetestconfig.js";
oFCKeditor.ToolbarSet = 'eetestToolbar';
oFCKeditor.ReplaceTextarea() ;

anyway… getting late and I am a little confounded as to why this is all so obtuse. I have read all the controversy about bad code etc…. but jeez, all I want to do is add a paragraph into the publish form text easily and.. EE is supposed to make life easy right? So why not just include this stuff and not make me sweat troubleshooting into the dawn… not to mention having to do this customization every time I get another job. What a consummate waste of time!

Is there any REAL way to get a WSIWYG editor going in under 4 hours here?

One more thing… am I supposed to change something in the .lang file too?

       

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.