small problem with django-filebrowser and tinymce integration

2011-09-24 Thread xpanta
Hi, I am trying to integrate django-tinymce with django-filebrowser for my django admin. Everything (almost) works fine. - manage.py test filebrowser, works ok - http://localhost:8000/admin/filebrowser/browse/ works, too however when I press the button on the windows popup of of tinymce button

Re: FileBrowser and TinyMCE

2009-01-20 Thread krylatij
You are welcome )) --~--~-~--~~~---~--~~ 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+u

Re: FileBrowser and TinyMCE

2009-01-20 Thread martyn
I changed function CustomFileBrowser(field_name, url, type, win) { into function DjangoFileBrowser(field_name, url, type, win) { and it works ... Thank you krylatij, it was not a setting problem, anyway, thank you :) On 20 jan, 11:11, martyn wrote: > I have > > tinyMCE.init( ... > "file_b

Re: FileBrowser and TinyMCE

2009-01-20 Thread martyn
I have tinyMCE.init( ... "file_browser_callback": "DjangoFileBrowser" ) using django-tinymce. What's wrong ??? This app doesn't look at the settings ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: FileBrowser and TinyMCE

2009-01-20 Thread martyn
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_butt

Re: FileBrowser and TinyMCE

2009-01-20 Thread krylatij
not magic)) incorrect settings. make sure that all required javascript is avaliable. --~--~-~--~~~---~--~~ 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

Re: FileBrowser and TinyMCE

2009-01-20 Thread martyn
some magic... mh 'file_browser_callback' : "Abracadabra", On 20 jan, 09:01, krylatij wrote: > Look into your settings again. > I've had such problem before. > After some magic with settings everything works. --~--~-~--~~~---~--~~ You received this message

Re: FileBrowser and TinyMCE

2009-01-20 Thread krylatij
Look into your settings again. I've had such problem before. After some magic with settings everything works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

FileBrowser and TinyMCE

2009-01-19 Thread martyn
Hi, I'm trying to get TinyMCE working with django-filebrowser. I started to make Tiny working : # === settings.py : INSTALLED_APPS = ( #... 'tinymce', 'filebrowser', #... ) TINYMCE_JS_URL = MEDIA_URL + 'js/tiny_mce/tiny_mce_src.js' URL_TINYMCE = TINYMCE_JS_URL TINYMCE_DEFAULT_CO