try playing around with:

     relative_urls : false,
     remove_script_host : true,

we´re using absolute_urls and we don´t remove the script_host.
if the URL is inserted into the tinymce_popup correctly, it doesn´t  
seem to be a problem with the filebrowser but a problem with  
tiny_mce. therefore, you may search the tinymce forum for more details.

Am 02.03.2007 um 23:16 schrieb Dirk Eschler:

> On Freitag, 2. März 2007, patrick k. wrote:
>> we´re also using more than one tinymce instance and we don´t have any
>> problems.
>> could you give more details about your specifications, e.g. how do
>> you init tinymce?
>>
>> patrick.
>
> Hello Patrick,
>
> thanks for your reply. In the model TinyMCE is loaded like:
>
>     class Admin:
>       # ...
>         js = (
>             'js/tiny_mce/tiny_mce.js',
>             'js/textareas.js',
>         )
>
> For the filebrowser integration i followed:
> http://trac.dedhost-sil-076.sil.at/trac/filebrowser/
>
> I had some problems getting the Filebrowser popup to send the link  
> into the
> TinyMCE popup. Clicking the arrow simply did nothing. I ended up  
> with two
> different files:
> - js/tiny_mce/tiny_mce_popup.js
> - js/tiny_mce/tiny_mce_popup_fb.js

for the filebrowser, the installation guide says that you should use  
tiny_mce_popup_fb.js with line 80 commented out, because otherwise  
there´s a mix of styles and the filebrowser popup just looks awful.  
this has nothing to do with the functionality of the filebrowser.

please let me know if you solved the problem ...

patrick.

>
> Both have the same content. The first file is sent when the TinyMCE  
> popup is
> loaded, the second when the Filebrowser popup comes (i've traced  
> this with
> LiveHttpHeaders). It was the only way to get it working at all.
>
> In templates/filebrowser/index.html the second JavaScript file is  
> referenced
> this way:
>
> {% ifequal is_popup '2' %}
> [...]
> <script language="javascript" type="text/javascript" src="{%
> admin_media_prefix %}/js/tiny_mce/tiny_mce_popup_fb.js"></script>
> [...]
> {% endifequal %}
>
> I have attached my textareas.js, which also contains the  
> Filebrowser callback
> i'm using. Please let me know if you need more information.
>
> Best Regards.
>
> -- 
> Dirk Eschler <mailto:[EMAIL PROTECTED]>
> http://www.krusader.org
>
> >
> <textareas.js>


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to