Mr Romero's been holding out on the goods it seems. This something I need as well. A simple tutorial and app example on web2py slices would be most excellent.
Thank you for the work Jon! - David On Nov 25, 11:29 am, "mr.freeze" <nat...@freezable.com> wrote: > Yes, more please! > > On Nov 25, 11:03 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > Hey, what's this awsome CMS? we want to know more. > > > On Nov 25, 10:36 am, Jon Romero <darks...@gmail.com> wrote: > > > > Sorry for the late reply! > > > I have already integrate CKEditor WITH uploading into web2py (check a > > > screenshot here:http://emotionull.com/blog_files/ckeditor.png) for a > > > new CMS my company is building (yeap, in web2py and probably it will > > > be released as opensource). > > > You just need to create an action/view to upload the file which > > > returns the vars CKEditorFuncNum and url: > > > > def upload_file(): > > > url = "" > > > form = SQLFORM(db.files, showid=False, fields=['title', > > > 'uploaded_data']) > > > if form.accepts(request.vars, session): > > > response.flash = T('File uploaded successfully!') > > > url = URL(r=request, f="download", args = > > > db(db.files.title == > > > request.vars.title).select(orderby=~db.files.created_on) > > > [0].uploaded_data) > > > > return dict(form=form, cknum=request.vars.CKEditorFuncNum, > > > url=url) > > > > If you have any problems, I could write a tutorial an release a small > > > app. > > > > On Nov 25, 2:33 pm, David <digitalcry...@gmail.com> wrote: > > > > > Also found this: > > > > >http://zerokspot.com/weblog/2009/09/09/custom-filebrowser-callbacks-c... > > > > > On Nov 25, 5:53 am, David <digitalcry...@gmail.com> wrote: > > > > > > I don't know if this helps but I've found this: > > > > > >http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(... > > > > > > and > > > > > >http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(...) > > > > > > On Nov 19, 10:23 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > > > > > I don't think it needs RPC. Just to return XML data. > > > > > > > It shouldn't be hard, we just need to start gathering data that gets > > > > > > communicated between CKFinder and the server. They don't really > > > > > > have any > > > > > > examples for implementing backend code, since they expect you to > > > > > > use their > > > > > > written code, which is way more complicated than it needs to be. > > > > > > > -Thadeus > > > > > > > On Thu, Nov 19, 2009 at 10:18 PM, Wes James <compte...@gmail.com> > > > > > > wrote: > > > > > > > > web2py has xmlrpc service - would that help any? > > > > > > > > -wes > > > > > > > > On Thu, Nov 19, 2009 at 9:05 PM, Thadeus Burgess > > > > > > > <thade...@thadeusb.com> > > > > > > > wrote: > > > > > > > > As far as integratingCKeditor, easy. > > > > > > > > > Integrating something like CKFinder however, is a whole nother > > > > > > > > story. I > > > > > > > have > > > > > > > > been researching, and it seems that the backend code will need > > > > > > > > to be > > > > > > > ported > > > > > > > > from their examples, to web2py. CKFinder uses mostly XML to > > > > > > > > communicate > > > > > > > for > > > > > > > > file browsing etc, and with a little bit of firebug magic and > > > > > > > > some time, > > > > > > > I > > > > > > > > think a workable back end is possible. > > > > > > > > > I'm thinking this can be designed as a web2py plug-in. > > > > > > > > > -Thadeus > > > > > > > > > On Thu, Nov 19, 2009 at 9:48 PM, Darcy Clark <d4r...@gmail.com> > > > > > > > > wrote: > > > > > > > > >> I'm willing to help on this - however I'm hoping someone with > > > > > > > >> a deeper > > > > > > > >> knowledge of web2py can provide some guidance on where to > > > > > > > >> start and > > > > > > > >> best practice etc... > > > > > > > > >> On Nov 20, 12:26 pm, blackthorne <francisco....@gmail.com> > > > > > > > >> wrote: > > > > > > > >> > That was one my first intentions when I got into web2py. > > > > > > > >> > Just to say > > > > > > > >> > I'm willing to work for that. Get a WYSIWYG web based editor > > > > > > > >> > like kupu > > > > > > > >> > or TinyMCE or FCKeditor in web2py for rich content handling. > > > > > > > >> > My idea > > > > > > > >> > for that would be to turn it as a optional setting (namely > > > > > > > >> > for the > > > > > > > >> > views). > > > > > > > >> > Afaik kupu started outside the Plone project but became > > > > > > > >> > "assimilated". > > > > > > > >> > Seems to me it should be possible to integrate it on any > > > > > > > >> > project but > > > > > > > >> > probably harder than with TinyMCE or FCKeditor/CKeditor. > > > > > > > > >> > Anyone feels like putting hands-on this? > > > > > > > > >> > On Nov 19, 12:09 am, Darcy Clark <d4r...@gmail.com> wrote: > > > > > > > > >> > > I've come to web2py from a Plone CMS background. Plone > > > > > > > >> > > integrated a > > > > > > > >> > > WYSIWYG editor called kupu which allowed theuploadand > > > > > > > >> > > integration > > > > > > > of > > > > > > > >> > > images while you were editing rich content (i.e. web > > > > > > > >> > > pages). It made > > > > > > > >> > > for a smoother more integrated content editing experience > > > > > > > >> > > in that > > > > > > > you > > > > > > > >> > > didn't have to separatelyuploadthe images and remember or > > > > > > > calculate > > > > > > > >> > > their URLs. I'd really like to have something like this > > > > > > > >> > > for web2py. > > > > > > > Is > > > > > > > >> > > it feasible ? I think some of the available WYSIWYG > > > > > > > >> > > editors have > > > > > > > some > > > > > > > >> > > sort of image/fileuploadfeature (including nicEdit), but > > > > > > > >> > > we'd have > > > > > > > >> > > to tweak it to work with a back-end controller of some > > > > > > > >> > > sort. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.