Yes in fact without routes.py it works perfectly. I think it's due to the 
fact that my routes.py configuration take off the 'default' controller name 
from the URL.
mydomain.com/my_app/default/my_page - It works
mydomain.com/my_page - It don't works

I'm gone search to resolve it but if someone have the solution he's welcome 
!

Il giorno giovedì 13 febbraio 2014 13:32:12 UTC+1, Dragan Matic ha scritto:
>
> I am using the same plugin in my project and it works perfectly, users can 
> upload images without problems. If you think problem is in routes try 
> without it.
>
> On Thursday, February 13, 2014 12:53:36 PM UTC+1, Gael Princivalle wrote:
>>
>> Hello all.
>>
>> I need to add a WYSIWYG editor in my web2py application, with image 
>> upload capabilities.
>> I suggest that it could be available in the basic packaging of future 
>> web2py versions.
>>
>> I'm trying to use this plugin from Bruno Rocha:
>> https://github.com/rochacbruno/web2py_ckeditor
>>
>> For the text it works great, but when I try to upload an image web2py 
>> turns me this error:
>> Invalid function (default/plugin_ckeditor)
>>
>>
>> I think there's a routes problem, here is my routes.py :
>> routers = dict(
>>     BASE = dict(
>>         domains = {            
>>             'mysubdomain.mydomain.com' : 'myapp',
>>         },
>>         default_application='welcome',    
>>     ),
>>     myapp = dict(languages=['en', 'it'], default_language='it'),
>> )
>>
>> Someone have a solution for this problem, or another way to have a WYSIWYG 
>> editor with image upload capabilities ?
>>
>> Thanks, regards.
>> PS: I've try also with this solution but the widget don't load nothing:
>>
>> https://groups.google.com/forum/#!searchin/web2py/ckeditor/web2py/hfvdNeet1Sc/YBR7deCpgSMJ
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to