Archive for the ‘JavaScript’ Tag

TinyMCE with Django Newforms-Admin

After updating to newforms-admin the way how to add JavaSripts in the Admin-Interface changed a bit. I will show you how I included TinyMCE, a WSIWYG-Html Editor to the Admin-Interface.

Download The newest version from TinyMCE from http://tinymce.moxiecode.com/download.php

Unzip it and put the tinymce-folder (tinymce/jscripts/tiny_mce/) in your media folder (MEDIA_ROOT). In my case: “project/media/js/tinycme”

Create a basic config in “project/media/js/tinycme” called “basic_config.js” with a setup like this:
Read more »