Change auth.wiki _create form

32 views
Skip to first unread message

Ezer Silva

unread,
Jan 5, 2014, 11:04:30 AM1/5/14
to
I'm trying to change the auth.wiki's _create form to put ckeditor as the widget. Is that possible?
Actually I could alter web2py's code to allow me to pass an widget to the Field 'body' as an argument, but I don't think that's the best solution

Happy new year everybody and good luck to Massimo on the Edison Awards!

Ezer Silva

unread,
Jan 5, 2014, 11:04:53 AM1/5/14
to
Well, the solution was much simpler, just put these lines in db.py:

auth.wiki(resolve=False)
db.wiki_page.body.widget = advanced_editor

Dave S

unread,
Jan 6, 2014, 1:12:53 PM1/6/14
to web...@googlegroups.com
:-)

/dps
 
Reply all
Reply to author
Forward
0 new messages