Install Kaltura FCKEditor plugin

Description

Once the Kaltura SAS service is released to the UM community [mid fall 2012 term], we need to deploy the Kaltura FCK Editor [in the 2.7.2B release]. This will complement Kaltura-Sakia extension [Media Gallery] stealth deployed in the 2.7.2A release.
(Note the Media Gallery will be un-stealthed in 2.7.2B)

These steps describe how to modify Sakai so the FCK editor will work with the Kaltura Media Gallery.

NOTE: there are also patch files for sakai 2.7 which will do steps 2-4 for you (you still have to do step 1 and step 5)

1. Copy the "kaltura" directory to
{SAKAI_ROOT}/reference/library/src/webapp/editor/FCKeditor/editor/plugins/kaltura
Example:
cp -R kaltura_tool/fckeditor/kaltura reference/library/src/webapp/editor/FCKeditor/editor/plugins

2. Add the following line to {SAKAI_ROOT}/reference/library/src/webapp/editor/FCKeditor/config.js (around line 56):

FCKConfig.Plugins.Add( 'kaltura' );

and then edit the FCKConfig.ToolbarSets["Default"] to include the 'Kaltura' plugin (around like 108):

['Kaltura','Image','Flash','Table','Rule','Smiley','SpecialChar'],['Style'],

NOTE: you should change this config anywhere you see this text:

"['Image',..." => "['Kaltura','Image',..."

3. In line 201 of {SAKAI_ROOT}/reference/library/src/webapp/editor/FCKeditor/fckconfig.js,
remove the string "class":

FCKConfig.RemoveAttributes = 'style,lang,width,height,align,hspace,valign' ;

4. Add the following script to {SAKAI_ROOT}/portal/portal-render-engine-impl/pack/src/webapp/vm/defaultskin/includeStandardHead.vm (around line 49):

<script type="text/javascript" language="JavaScript" src="/kaltura/javascript/kaltura-display.js"></script>

5. Re-deploy the reference and portal projects.

mvn clean install sakai:deploy -f reference/pom.xml
mvn clean install sakai:deploy -f portal/pom.xml

Contib tool available at:
https://source.sakaiproject.org/svn/msub/unicon.net/kaltura/tags/20111221/

Environment

None

Test Plan

None

Activity

Savitha Prakash August 29, 2012 at 10:14 AM

Resolved.

[] ~/builds/ctools272b/src/reference$ svn ci -m "UMICH-560-Install Kaltura FCKEditor"
Sending library/src/webapp/editor/FCKeditor/config.js
Sending library/src/webapp/editor/FCKeditor/fckconfig.js
Sending patches.txt
Transmitting file data ...
Committed revision 111951.

[] ~/builds/ctools272b/src/portal$ svn ci -m "UMICH-560-Install Kaltura FCKEditor"
Sending patches.txt
Sending portal-render-engine-impl/pack/src/webapp/vm/defaultskin/includeStandardHead.vm
Transmitting file data ..
Committed revision 111952.

Beth Kirschner August 28, 2012 at 11:01 AM

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created June 15, 2012 at 8:08 AM
Updated November 9, 2012 at 8:22 AM
Resolved August 29, 2012 at 10:16 AM