Ok, thank you, I've changed my settings, with unfortunately no
result :

TINYMCE_DEFAULT_CONFIG = {
    'dialog_type' : "modal",
    'extended_valid_elements' : "a[name|href|target|title|onclick|
rel]",
    'theme':'advanced',
    'theme_advanced_toolbar_location' : "top",
    'theme_advanced_buttons1' :
"code,separator,forecolor,backcolor,separator,bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,undo,redo,separator,link,unlink,advimage,image,hr",
    'theme_advanced_buttons2' :
"bullist,numlist,separator,outdent,indent,separator,undo,redo,separator",
    'theme_advanced_buttons3' :
"table,row_props,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,row_after,row_before,split_cells,merge_cells",
    'plugins': "table,paste,advimage,advlink,inlinepopups",
    'file_browser_callback' : "CustomFileBrowser",
}
TINYMCE_JS_URL = MEDIA_URL + 'js/tiny_mce/tiny_mce_src.js'
TINYMCE_FILEBROWSER = True

FILEBROWSER_URL_TINYMCE = MEDIA_URL + "js/tiny_mce/"
FILEBROWSER_PATH_TINYMCE = MEDIA_ROOT + "js/tiny_mce/"
IMAGETHUMBNAIL_THUMBNAILS_PATH = 'images/thumbnails'
FOLDER_FILEBROWSER = "uploads/"
FILEBROWSER_URL_FILEBROWSER_MEDIA = MEDIA_URL + 'filebrowser/'
FILEBROWSER_URL_ADMIN = "/filebrowser/"
FILEBROWSER_URL_HOME = "/"
FILEBROWSER_PATH_SERVER = MEDIA_ROOT + FOLDER_FILEBROWSER
FILEBROWSER_URL_WWW = MEDIA_URL + FOLDER_FILEBROWSER



In my html template, I have those scripts loaded :
<script type="text/javascript" src="http://127.0.0.1:8000/medias/js/
tiny_mce/tiny_mce_src.js"></script>
<script type="text/javascript" src="/tinymce/filebrowser/"></script>

But I've seen in the Tiny Doc :
http://wiki.moxiecode.com/index.php/TinyMCE:Custom_filebrowser#Necessary_HTML_Output
Let's try with that.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to