Re: Dojo Rich Editor Implementation in Admin.py

2012-05-02 Thread Gchorn
So after doing some more research and playing around with the settings, I want to post an updated version of my question. Here it is. I'm building a blog, with models "Post" and "Image" like so: class Post(models.Model): title = models.CharField(max_length=1000) author = models.CharFiel

Re: Dojo widgets inside Django

2009-05-20 Thread Guri
On May 19, 8:57 am, Guri wrote: > On May 19, 12:27 am, Alex Gaynor wrote: > > > On Mon, May 18, 2009 at 2:04 PM, Guri wrote: > > > > Hi, > > >          Is there are way to useDojowidgets insideDjangoforms.py? > > > > Any package, pointers or procedure will help. > > > > Thanks In Advance > > >

Re: Dojo widgets inside Django

2009-05-18 Thread Guri
On May 19, 12:27 am, Alex Gaynor wrote: > On Mon, May 18, 2009 at 2:04 PM, Guri wrote: > > > Hi, > >          Is there are way to use Dojo widgets inside Django forms.py? > > > Any package, pointers or procedure will help. > > > Thanks In Advance > > ~Guri > > http://code.google.com/p/dojango/

Re: Dojo widgets inside Django

2009-05-18 Thread Alex Gaynor
On Mon, May 18, 2009 at 2:04 PM, Guri wrote: > > Hi, > Is there are way to use Dojo widgets inside Django forms.py? > > Any package, pointers or procedure will help. > > Thanks In Advance > ~Guri > > > http://code.google.com/p/dojango/ aims to do just that. Alex -- "I disapprove of wh

Re: Dojo LayoutContainer and ContentPane as application frame?

2007-07-31 Thread [EMAIL PROTECTED]
ok the solution was dojo.io.bind({ url: "/projects/", load: function(type, data, evt){ docPane.setContent(data); }, mimetype: "text/html" }); sorry ... On 31 Jul., 22:37, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Group, > > I tried to setup a kind of frame architecture with the do

Re: dojo problem

2007-03-08 Thread Nathan R. Yergler
On 3/7/07, Mary <[EMAIL PROTECTED]> wrote: > > I have really tried with dojo and i worked with this steops exactly > http://code.djangoproject.com/wiki/AddDojoEditor > and i didn't see anything in my text Area field > > I have django 0.95.1 i have installed dojo 0.4 > > Can anyone help please as i

Re: dojo problem

2007-03-07 Thread Mary
I have really tried with dojo and i worked with this steops exactly http://code.djangoproject.com/wiki/AddDojoEditor and i didn't see anything in my text Area field I have django 0.95.1 i have installed dojo 0.4 Can anyone help please as i spent a lot of time to know what is the problem with not

Re: dojo problem

2007-03-07 Thread Nathan R. Yergler
On 3/6/07, Mary <[EMAIL PROTECTED]> wrote: > > here is my model : > text = models.TextField(help_text='Rich Text Editing.') > class Admin: > js = ['js/admin/AddRichTextEditing.js'] > > list_display = ('title','owner','time_created') > > i have added the dojo folder in my me

Re: Dojo vs Mochikit for Django dev?

2006-10-19 Thread Enquest
I would certainly look at jquery.com ! it's amazing Op di, 17-10-2006 te 11:53 -0700, schreef iain duncan: > I have not dug into either Dojo or Mochikit yet and am wondering if one > is more suited to Django dev than the other for adding AJAX type bells > and whistles. Pros and Cons of either? >

Re: Dojo vs Mochikit for Django dev?

2006-10-18 Thread Andrew
We use mochikit exclusively after playing with Dojo (it slowed our page loads way down for some reason). Mochikit doesn't give you components like Dojo does, nor does it give you any of the object-oriented scope tools that Dojo has, but the documentation is top notch. Mochikit also gives you bette

Re: Dojo vs Mochikit for Django dev?

2006-10-18 Thread sago
> On the other hand, its 'effects' module is entirely a red-herring, > providing only 'curved borders'. Its called 'visual', and it now provides some simple animations too - sorry, I haven't checked it out for a while. --~--~-~--~~~---~--~~ You received this messa

Re: Dojo vs Mochikit for Django dev?

2006-10-18 Thread sago
I haven't used this shell. I guess because I've been mostly using MochiKit anyways, I didn't go hunting for an alternative interpreter. Just trying it, the shell 1.4 gives me an object error javascript alert (and no evaluation) on everything I type in IE6.1 (fine on Firefox). I'd say you are mis

Re: Dojo vs Mochikit for Django dev?

2006-10-18 Thread comechao
jQuery rocks. Light, powerfull and gd effects . YUI its nice, good dialogs and calendar. jQuery example: $("p.surprise").addClass("ohmy").show("slow"); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us

Re: Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread James Bennett
On 10/17/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > You know about Ruderman's shell, right? What's the interactive > interpreter do that the shell doesn't? The shell bookmarklet works in > the context of whatever page you were on when you opened it. Am I > missing something cool? Interactiv

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread Jeremy Dunck
On 10/17/06, sago <[EMAIL PROTECTED]> wrote: > IMHO MochiKit's interactive interpreter is an absolute > godsend to serious javascript development, and I find I can't do > without some of MochiKit for anything other than trivial javascript > coding. You know about Ruderman's shell, right? What's

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread Cheng Zhang
On Oct 18, 2006, at 2:53 AM, iain duncan wrote: > I have not dug into either Dojo or Mochikit yet and am wondering if > one > is more suited to Django dev than the other for adding AJAX type bells > and whistles. Pros and Cons of either? Recently we ran into JQuery [1], a very exciting Javasc

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread sago
I've used both MochiKit and Scriptaculous in Django production projects. I've only used Dojo in test projects. I've never used YUI. MochiKit is (pretty uniquely) focussed on providing programming features, rather than wiz-bang Web2.0 functionality. It does things like add easy handling of deferr

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread James Bennett
On 10/17/06, iain duncan <[EMAIL PROTECTED]> wrote: > I have not dug into either Dojo or Mochikit yet and am wondering if one > is more suited to Django dev than the other for adding AJAX type bells > and whistles. Pros and Cons of either? I don't know a whole lot about MochiKit, but I've liked w

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread Panos Laganakos
You might wanna give a look at http://script.aculo.us/ I've used it outside of Django and was pretty satisfied. On Oct 18, 3:18 am, João Cruz Morais <[EMAIL PROTECTED]> wrote: > I suggest using prototype or the smaller/limited version, mooflex. > > João > > Wilson Miner wrote: > > Dojo is design

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread João Cruz Morais
I suggest using prototype or the smaller/limited version, mooflex. João Wilson Miner wrote: > Dojo is designed to be flexible, but can be too heavyweight for small > tasks. Mochikit is designed to be super-lightweight but has a much > more limited scope as far as what it's capable of. > > On 10

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread Wilson Miner
Dojo is designed to be flexible, but can be too heavyweight for small tasks. Mochikit is designed to be super-lightweight but has a much more limited scope as far as what it's capable of. On 10/17/06, iain duncan <[EMAIL PROTECTED]> wrote: > > I have not dug into either Dojo or Mochikit yet and a

Re: Dojo vs Mochikit for Django dev?

2006-10-17 Thread Noah
I can't say for sure but I imagine the answer you're going to get from most people is to use whichever one you like. Since they aren't going to communicate with Django over a special API but rather through the same methods they would if you were using any other setup for development you're pretty

Re: Dojo Editor2 invocation from Django

2006-09-07 Thread patrickk
the filebrowser is free, of course: http://www.vonautomatisch.at/django/filebrowser/ I´ve read on the mailinglist that some other people are working on filebrowsers too. so there might come up something better. integrating with fck: no copy/paste - in the fck image-dialog-window, you have an i

Re: Dojo Editor2 invocation from Django

2006-09-07 Thread Gábor Farkas
patrickk wrote: > no, I didn´t use the singe file-upload provided by fck. > what I did is here: > http://www.vonautomatisch.at/django/filebrowser/fck_with_filebrowser.jpg > > but I think that it´s easy to customize the fck-upload. > wow, very nice is this a freely available component by an

Re: Dojo Editor2 invocation from Django

2006-09-07 Thread patrickk
no, I didn´t use the singe file-upload provided by fck. what I did is here: http://www.vonautomatisch.at/django/filebrowser/fck_with_filebrowser.jpg but I think that it´s easy to customize the fck-upload. patrick Am 07.09.2006 um 00:31 schrieb gabor: > > patrickk wrote: >> I´ve been able to us

Re: Dojo Editor2 invocation from Django

2006-09-07 Thread patrickk
I don´t really get why you have html-code in your view. if you just want to test the editor, why not use direct_to_template: see http://www.djangoproject.com/documentation/generic_views/#django- views-generic-simple-redirect-to Am 07.09.2006 um 05:43 schrieb Gloria: > > OK, so here is what I'm

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread Gloria
OK, so here is what I'm trying to render from the Django view (so I don't have to deal with the correct way to reference static content just yet): # Create your views here. from django.http import HttpResponse def index(request): return HttpResponse(''' dojo.require("dojo.widget.Edito

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread gabor
patrickk wrote: > I´ve been able to use my filebrowser with fckeditor within hours. I > ´ve customized the upload- and link-dialogs and everything works fine. > on the other hand, just take a look at the tinymce-configuration > (there´s a lot you can do). did you connect the upload-dialog to d

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread Gloria
Patrick, thank you. I appreciate this feedback. --~--~-~--~~~---~--~~ 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

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread patrickk
I´ve had problems with rich-text-editors for a while now, tested everyone with regards to how easy they are to customize and how clean is the code they generate ... Am 06.09.2006 um 21:51 schrieb Gloria: > > Thank you for your responses. The steps Patrickk lists are > repretitive, > just l

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread Gloria
Thank you for your responses. The steps Patrickk lists are repretitive, just like the ones listed in the link I had referenced, except #4 and the comment below it. Those were helpful, thank you. Re: The bugs in the Dojo Editor2: Are they so serious that you would not consider fixing them if you w

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread patrickk
some points on using the dojoeditor: 1. right now, I don´t recommend it (there´s a new editor2 with lots of bugs) 2. with fckeditor, it´s very easy to connect your own scripts (e.g. your own file uploader) - but there´s still the whole "paragraph-vs- break"-issue when using enter. 3. tinymce

Re: Dojo Editor2 invocation from Django

2006-09-06 Thread Gábor Farkas
Gloria wrote: > Hi there. I found this nifty when I searched for Django and Dojo: > > http://code.djangoproject.com/wiki/AddDojoEditor > > The thread on this link is closed, so I am starting a new one. > > Please explain how I invoke this code. I am fairly new to Django, and > I've avoided java

Re: dojo

2006-05-31 Thread patrickk
done ... see http://code.djangoproject.com/wiki/AddDojoEditor patrick Am 18.05.2006 um 20:29 schrieb lcaamano: > > You should add these dojo info to the cookbook mentioned above. > > http://code.djangoproject.com/wiki/CookBookAdminTools > > -- > lpc > > > > --~--~-~--~~---

Re: dojo

2006-05-19 Thread patrickk
i still have to do some testing with different browsers. after that, i will add the script/manual to the wiki. patrick Am 18.05.2006 um 20:29 schrieb lcaamano: > > You should add these dojo info to the cookbook mentioned above. > > http://code.djangoproject.com/wiki/CookBookAdminTools > > -- >

Re: dojo

2006-05-18 Thread lcaamano
You should add these dojo info to the cookbook mentioned above. http://code.djangoproject.com/wiki/CookBookAdminTools -- lpc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: dojo

2006-05-18 Thread va:patrick.kranzlmueller
just found out an easier way: forget nr. 3 and change AddRichTextEditing.js to this: document.write(''); document.write('dojo.require ("dojo.widget.Editor2");'); var AddEditor = { init: function() { var helptext = document.getElementsByTagName('p'); for

Re: dojo

2006-05-18 Thread va:patrick.kranzlmueller
i guess you mean the editor widget: 1. drop dojo (kitchen sink) into /media/ (like /media/dojo) 2. add this script as AddRichTextEditing.js into /media/js/admin/ ### this script looks for the help text "Rich Text Editing" and replaces the textarea before with the dojo widget var AddEditor = {

Re: dojo

2006-05-18 Thread olive
I use TinyMCE which is very good. There is an how-to in the Wiki at http://code.djangoproject.com/wiki/CookBookAdminTools --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,