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

Sheye Rosemeyer's avatar
Sheye Rosemeyer
39 posts
15 years ago
Sheye Rosemeyer's avatar Sheye Rosemeyer

Anybody find a fix for this:

Notice: Undefined property: Shift_fckeditor::$SPELL
       
PhireGuys's avatar
PhireGuys
525 posts
15 years ago
PhireGuys's avatar PhireGuys

If you ever have a conflict with this extension causing others to not work, below is some code to fix that.

I had a conflict with FoxEE not working properly with this extension. This was the modification to Shift’s that HCC development made for me.

At line 42 of ext.shift_fckeditor.php right befor the following code:

return $r;

Add this code:

if(is_string($EXT->last_call) === TRUE) {
    $r = $EXT->last_call . $r;
}
       
PhireGuys's avatar
PhireGuys
525 posts
15 years ago
PhireGuys's avatar PhireGuys
Anybody find a fix for this:
Notice: Undefined property: Shift_fckeditor::$SPELL

Yeah, just go to around line 94 where you see this code:

if ($fckEnabled)
{
    $r .= $DSP->input_hidden('field_ft_'.$field_id, 'none'); // Coerce fieldtype for WYSIWYG content
}
elseif ($field_query->row['field_show_fmt'] == 'y')
{
    $r .= Publish::text_formatting_buttons($field_id, $field_query->row['field_fmt']); // don't have access to the "entry id", so don't know status of the field_format; hence, defaults
}
else
{                
    $r .= $DSP->input_hidden('field_ft_'.$field_id, $field_query->row['field_fmt']); 
}

Comment it all out. You don’t need it.

       
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.