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

Advertisements

8 thoughts on “Adding tinyMCE WYSIWYG In Sweetcron Blog Editor

  1. 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

  2. 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?

  3. 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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s