[Portfolio] FCKEditor question

Noah Botimer botimer at umich.edu
Mon Apr 2 13:01:35 PDT 2012


I've been meaning to write the list in more detail on this. Meanwhile, see https://jira.sakaiproject.org/browse/SAK-21126 and https://jira.sakaiproject.org/browse/SAK-17883.

The short story is that you'll have to modify whichever formCreate.xslt you're using (PortfolioAdmin/system or otherwise) to include the header material (getRichTextHead) and call the right method (getRichTextScript or getRichTextLaunch) depending on whether you have pulled in SAK-21126 (because of the compatibility enhancement in XsltFunctions.java and formFieldTemplate.xslt). Everything should behave right in the stock files in trunk/2.9.x/2.8.x, so just follow the example.


On Apr 2, 2012, at 3:34 PM, McPherson, David wrote:

> Hello,
> We're working on getting the CKEditor running in our upgrade to 2.8.1 and I'm having trouble getting both the FCK and the CK editor rendering in a portfolio form.  If I use the default renderers than everything works ok, but if I add a custom renderer then the function chef_setupformattedtextarea(textarea_id) doesn't get generated. Does anyone know anything about which set of code writes that function and/or where that might exist so I can go check it out.
> Thanks,
> Dave
> --
> David McPherson
> dmcphers at vt.edu<mailto:dmcphers at vt.edu>
> 540-231-8993
> _______________________________________________
> portfolio mailing list
> portfolio at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/portfolio
> TO UNSUBSCRIBE: send email to portfolio-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/portfolio/attachments/20120402/d32bb5d6/attachment.html 

More information about the portfolio mailing list