djcp / radiant-fckeditor
- Source
- Commits
- Network (8)
- Issues (2)
- Downloads (4)
- Wiki (1)
- Graphs
-
Branch:
master
radiant-fckeditor / README
| d7c96004 » | djcp | 2008-05-23 | 1 | = Fckeditor | |
| 06830f90 » | djcp | 2008-05-29 | 2 | This gives you the excellent FCKEditor (with file uploads and spell checking) in your Radiant page parts. | |
| d7c96004 » | djcp | 2008-05-23 | 3 | ||
| 06830f90 » | djcp | 2008-05-29 | 4 | == Requirements | |
| f12c2382 » | djcp | 2009-06-20 | 5 | This extension has been tested on Radiant version 0.8.0. It will not work on versions < 0.8.0. | |
| 6 | |||||
| 7 | If you need a version of this extension that works for Radiant < 0.8.0, please see the "radiant-0.7.1" (or other) tag on github. | ||||
| 06830f90 » | djcp | 2008-05-29 | 8 | ||
| 9 | You need to have aspell installed for spell checking to work. | ||||
| 10 | |||||
| 11 | == Installation | ||||
| 12 | In $RADIANT_ROOT | ||||
| 13 | |||||
| 14 | 1. Get the extension: | ||||
| 15 | git clone git://github.com/djcp/radiant-fckeditor.git vendor/extensions/fckeditor | ||||
| 16 | |||||
| 17 | 2. Install the relevant resources into $RADIANT_ROOT/app/public/javascripts/fckeditor* | ||||
| 18 | rake radiant:extensions:fckeditor:update | ||||
| 19 | |||||
| 20 | 3. Restart your deployment server. | ||||
| 21 | |||||
| 22 | == Uninstallation | ||||
| 23 | Remove: | ||||
| 24 | * vendor/extensions/fckeditor | ||||
| 25 | * public/javascripts/fckeditor/ | ||||
| 26 | * public/javascripts/fckconfig.js | ||||
| 27 | * public/uploads/File|Flash|Image|Media | ||||
| 28 | |||||
| 29 | == Notes | ||||
| 30 | * There are no changes to your Radiant database. | ||||
| 31 | * Uploaded files are saved in $RADIANT_ROOT/public/uploads | ||||
| 32 | * You can have FCKEditor handle only some page parts - it won't interfere with parts handled by another filter. | ||||
| eb400e06 » | djcp | 2008-06-12 | 33 | * You can upload JPG, PNG, GIF and flash files, along with many common video, audio, and office document formats, including text and HTML. | |
| 06830f90 » | djcp | 2008-05-29 | 34 | ||
| 35 | == Usage | ||||
| eb400e06 » | djcp | 2008-06-12 | 36 | Set the filter on your page part to "Fckeditor" and the editor will be instantiated. You can remove the editor from a page part by setting the filter back to something other than "Fckeditor." | |
| 06830f90 » | djcp | 2008-05-29 | 37 | ||
| eb400e06 » | djcp | 2008-06-12 | 38 | Use the "browse server" button on the Image, Flash, and Link tools to invoke the file upload feature. | |
| 06830f90 » | djcp | 2008-05-29 | 39 | ||
| 40 | == Gotchas | ||||
| 5f00264f » | djcp | 2008-06-05 | 41 | * Be sure to allow pop-ups from your Radiant site. The FCKEditor uses popups extensively. | |
| 42 | * Radius tags may get mangled by FCKEditor. We've done our best to ensure FCKEditor ignores them, but there will still be quirks. See the Filter Reference on the /admin/pages/edit/ page for details. | ||||
| 06830f90 » | djcp | 2008-05-29 | 43 | * If you don't have aspell installed, spell checking will never find errors. It'll always return "no errors found." | |
| 44 | |||||
| 45 | == TODOS | ||||
| 46 | * Look into integrating this plugin with the PageAttachments plugin so that files live on pages and the same uploads are available in FCKEditor and Radius tags. | ||||
| eb400e06 » | djcp | 2008-06-12 | 47 | * Create an admin tab to allow for the specification of allowed MIME-types and customization of toolbar buttons. | |
| 06830f90 » | djcp | 2008-05-29 | 48 | ||
| 49 | == See Also | ||||
| 50 | Based upon Scott Rutherford's Rails 2.0 plugin: | ||||
| 51 | http://blog.caronsoftware.com/2008/2/6/fckeditor-plugin-0-4-3-released | ||||
| 52 | |||||
| 53 | http://www.fckeditor.net/ | ||||
| 54 | |||||
| 55 | == Author | ||||
| 054863c1 » | djcp | 2009-02-16 | 56 | * Dan Collis-Puro, dan at collispuro.net | |
| 57 | * The first versions of this plugin were done on www.endpoint.com's dime. Thanks guys! | ||||
| 7b89b880 » | djcp | 2008-05-31 | 58 | ||
| 59 | == Contributors | ||||
| 60 | * Jereme Claussen, www.jeremeclaussen.com, for debugging help. | ||||
| f12c2382 » | djcp | 2009-06-20 | 61 | * http://github.com/dko for the assistance getting this to work under Radiant 0.8.0. | |
| 62 | |||||
| 63 | |||||
