Adding tinyMCE WYSIWYG In Sweetcron Blog Editor

In previous post, I have release a multiple user version of sweetcron. One of the sweetest feature on that version is the tinyMCE WYSIWYG blog editor. In this post, I would like to point out how to do that on your already installed sweetcron.

Firstly, download the tinyMCE package from here.

After finished downloading the package, put the extract jscript folder from the package into the folder

sweetcron/system/application/views/admin/

In order to enable the WYSIWYG feature into the blog post editor, we need to add some code in the file:

sweetcron/system/application/views/admin/write.php

just add this script before the form.

what the code does is initializing the tinyMCE instance with specified mode, theme and plugins. You can modify the arrangement of the tinyMCE toolbar button as you like by modifying the code. for more information on the tinyMCE  go to the tinyMCE homepage:

http://tinymce.moxiecode.com/

Easy right? enjoy!!

preview:

picture-3

Published in:  on January 16, 2009 at 8:12 am Comments (8)
Tags: , , ,

The URI to TrackBack this entry is: http://codegenius.wordpress.com/2009/01/16/adding-tinymce-wysiwyg-in-sweetcron-blog-editor/trackback/

RSS feed for comments on this post.

8 Comments Leave a comment.

  1. Hmm, doesn’t work here. Could you please send me a mail with your write.php?

  2. Cheers for this – great work!

    A copy and paste from this page doesn’t work at the moment – there are smart quotes and line breaks all over the place.

    I’ve uploaded a txt file with the plain text here: http://is.gd/g8VY

  3. Thank you Tom. Works now.

  4. owh. my bad.. i’ve fixed it. thank you for telling me

  5. This is a great add for Sweetcron.Thanks!But no matter what I do it doesn’t work.I just can’t figure out where the problem is.I’m doing absolutely everything but it still doesn’t work.Can you help please?

  6. Great work. Thank you!

  7. I’ve been looking for this. This is a great help. Thanks!

  8. Hi,

    I am trying to add code for a tinybrowser to your code but seem to be stuck as I am very much an amateur when it comes to these things. Would you be able to post some code as to how to combine Sweetcron/TinyMCE and TinyBrowser?

    Thanks,

    R


Leave a Comment