My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 36: TINYMCE_JS_ROOT not honorred
1 person starred this issue and may be notified of changes. Back to list
Status:  MoreInfo
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by bobleers, Mar 30, 2009
I'm requesting an URL which points to a model in the admin site.
The model imports models as tinymce_models, and has a field defined as
tinymce_models.HTMLField().

According to the doc. section about configuration one could override the
variable:
TINYMCE_JS_ROOT (default: settings.MEDIA_ROOT + 'js/tiny_mce')

PROBLEM:
It doesn't work, or is it just me?
When I override it and point the path into my project's media/js/tinyc_mce
directory or any other directory.

I get an error that the following pah doesn't exist:
/Library/Python/2.5/site-packages/django/contrib/admin/media/js/tiny_mce/tiny_mce.js

Making a symlink does solve this, for example:

from: .../<project-dir>/media/js/tiny_mce
to:
/Library/Python/2.5/site-packages/django/contrib/admin/media/js/tiny_mce/tiny_mce.js
What version of Django are you using? On what operating system?
=> 1.0.2 on OS X Leopard (10.5.x)

What version of django-tinymce are you using?
=> 1.5


Comment 1 by joost.cassee, Apr 06, 2009
It looks like Django is looking in the admin media location. What is the new value
for TINYMCE_JS_ROOT?
Comment 2 by joost.cassee, Apr 09, 2009
(No comment was entered for this change.)
Status: MoreInfo
Comment 3 by joost.cassee, Apr 20, 2009
Your problem has probably more to do with the TINYMCE_JS_URL setting. The
TINYMCE_JS_ROOT setting is only used by the compressor. Are you using the compressor?
Sign in to add a comment

Hosted by Google Code