Re: Adding Tinymce to Admin

2016-06-09 Thread Ankush Thakur
Nope. And you know why, coz I'm an idiot! :P Will try this and post here if I run into problems. Thanks a ton! ~~Ankush On Thursday, June 9, 2016 at 5:15:52 PM UTC+5:30, jorr...@gmail.com wrote: > > Have you looked at https://github.com/aljosa/django-tinymce ? > -- You received this message

Re: Adding Tinymce to Admin

2016-06-09 Thread Ankush Thakur
Ah, yes! I entirely forgot about admin.py, my head swirling with too many concepts to remember. Let me work on that see how it goes. Thanks! :-) ~~Ankush On Thursday, June 9, 2016 at 2:20:04 PM UTC+5:30, ludovic coues wrote: > > I'm pretty sure you can specify a widget to use in admin for each

Re: Adding Tinymce to Admin

2016-06-09 Thread jorrit787
Have you looked at https://github.com/aljosa/django-tinymce ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post

Re: Adding Tinymce to Admin

2016-06-09 Thread ludovic coues
I'm pretty sure you can specify a widget to use in admin for each model and field. Part 7 of the tutorial will show you how to alter the admin without changing the file in the virtualenv. The documentation on ModelAdmin have an example of what you are trying to do :) +33614874342 On 8 Jun 2016

Adding Tinymce to Admin

2016-06-08 Thread Ankush Thakur
I wish to add TinyMCE editor to my Django-powered app. My Model is a typical blog model, with a TextField for the actual post contents. Now what I want is, every time I'm editing the contents (or adding a new blog), I should be able to write in a WordPress-style editor. I understand that I'd need

Re: Toggle TinyMCE in admin

2010-02-22 Thread When ideas fail
Would that just do one field rather than all the text areas? On 22 Feb, 16:41, orokusaki wrote: > I think you can do this by adding the exact HTML that you need into > the label field for a form (I can't remember if you have to explicitly > turn off HTML filtering

Re: Toggle TinyMCE in admin

2010-02-22 Thread orokusaki
I think you can do this by adding the exact HTML that you need into the label field for a form (I can't remember if you have to explicitly turn off HTML filtering though, check the docs to be sure). I would just put Toggle The id_tag_of_field is of course available dynamically. -- You received

Re: Toggle TinyMCE in admin

2010-02-22 Thread When ideas fail
Oh I should mention I have already added the javascript function to the page by including the JS file. So I really only need to include the link next to textareas. On 22 Feb, 16:34, When ideas fail wrote: > Hello, I've been using TinyMCE for a WYSIWYG editor on my

Toggle TinyMCE in admin

2010-02-22 Thread When ideas fail
Hello, I've been using TinyMCE for a WYSIWYG editor on my admin text areas. However I would like to be able to toggle it on and off like this: http://tinymce.moxiecode.com/examples/example_01.php But I wasn't sure of the best way to do this. Does anyone have any suggestions? Andrew -- You

Re: TinyMCE in Admin (Practical Django Projects book)

2009-09-28 Thread Alex Robbins
If you use the net tab of firebug[1] you can tell when url/file paths are messed up. That is the only way I ever get tinymce running. [1]http://getfirebug.com/ On Sep 27, 7:29 am, Erik Kronberg wrote: > On Sun, Sep 27, 2009 at 1:54 PM, James Bennett

Re: TinyMCE in Admin (Practical Django Projects book)

2009-09-27 Thread Erik Kronberg
On Sun, Sep 27, 2009 at 1:54 PM, James Bennett wrote: > > On Sun, Sep 27, 2009 at 6:48 AM, Erik Kronberg wrote: > > I'm on chapter 3 of James Bennett's Practical Django Projects. My > > problem is that TinyMCE isn't showing up in the Admin -> New

Re: TinyMCE in Admin (Practical Django Projects book)

2009-09-27 Thread James Bennett
On Sun, Sep 27, 2009 at 6:48 AM, Erik Kronberg wrote: > I'm on chapter 3 of James Bennett's Practical Django Projects. My > problem is that TinyMCE isn't showing up in the Admin -> New Flatpage > text area. Using Linux (Ubuntu 9.04) First thing I'd recommend is checking it

TinyMCE in Admin (Practical Django Projects book)

2009-09-27 Thread Erik Kronberg
Hello! I'm completely stuck, double checked spelling and tried a couple of different things. I am really new at Django and just know a bit of Python, so don't expect me to understand any complicated terminology! I'm on chapter 3 of James Bennett's Practical Django Projects. My problem is that

Re: TinyMCE django admin

2009-06-25 Thread Dhruv Adhia
Yep you got me :) I am quite familier with django now, but haven't tried forms till now!! Thanks! On Thu, Jun 25, 2009 at 4:59 PM, Joost Cassee wrote: > > On Jun 25, 7:08 pm, Dhruv Adhia wrote: > > > I was just googling and came across all those old hacky

Re: TinyMCE django admin

2009-06-25 Thread Joost Cassee
On Jun 25, 7:08 pm, Dhruv Adhia wrote: > I was just googling and came across all those old hacky ways to integrate > tinymce which I finally did yesterday. Its working. But yes if its something > builtin now I should go for that. However I dont know If I can easily change >

Re: TinyMCE django admin

2009-06-25 Thread Dhruv Adhia
Hey Joost, I was just googling and came across all those old hacky ways to integrate tinymce which I finally did yesterday. Its working. But yes if its something builtin now I should go for that. However I dont know If I can easily change the properties that way for the editor. Right now in the

Re: TinyMCE django admin

2009-06-25 Thread Joost Cassee
On Jun 24, 6:51 pm, Dhruv Adhia wrote: > Second part is working. Great! > I am new to those firebug stuff. Can you guide me to docs? Firebug can be found at [1]. The docs are there as well. Basically you enable Javascript debugging for your site and watch for errors in the

Re: TinyMCE django admin

2009-06-24 Thread Dhruv Adhia
gt; > > I have following under models.py > > > > from django.db import models > > from django.contrib import admin > > from tinymce import models as tinymce_models > > > > class BlogPost(models.Model): > > > > title = models.CharField(max_length=

Re: TinyMCE django admin

2009-06-24 Thread Joost Cassee
On Jun 24, 6:10 am, Dhruv Adhia <druf...@gmail.com> wrote: > Hello All, > > I have following under models.py > > from django.db import models > from django.contrib import admin > from tinymce import models as tinymce_models > > class BlogPost(models.Model):

TinyMCE django admin

2009-06-23 Thread Dhruv Adhia
Hello All, I have following under models.py from django.db import models from django.contrib import admin from tinymce import models as tinymce_models class BlogPost(models.Model): title = models.CharField(max_length=150) body = models.TextField() #observe, thats how you get big

Re: TinyMCE in admin

2007-10-11 Thread Kenneth Gonsalves
On 11-Oct-07, at 10:51 AM, Jeremy Dunck wrote: >> . I still can't get django find the files textareas.js and >> tiny_mce.js. it's returning 404. Please help. Thank you >> > > What's your admin URL and what URL is being requested for the > textarea.js? > This is generally a matter of putting

Re: TinyMCE in admin

2007-10-11 Thread Jeremy Dunck
On 10/11/07, AniNair <[EMAIL PROTECTED]> wrote: > > I am trying to have tinyMCE for flatpages... Should I be using a model > for that? Ah, sorry, I missed that. Did you follow these steps? http://code.djangoproject.com/wiki/AddWYSIWYGEditor#UsingTinyMCEwithflatpages If so, you've just got your

Re: TinyMCE in admin

2007-10-11 Thread AniNair
I am trying to have tinyMCE for flatpages... Should I be using a model for that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: TinyMCE in admin

2007-10-10 Thread Jeremy Dunck
On 10/11/07, AniNair <[EMAIL PROTECTED]> wrote: > > My admin url ishttp://localhost:8000/admin/flatpages/flatpage/1/ > The url being requested is > [11/Oct/2007 10:21:35] "GET /admin/flatpages/flatpage/1/media/js/ > tiny_mce/tiny_m > ce.js HTTP/1.1" 404 3644 > [11/Oct/2007 10:21:35] "GET

Re: TinyMCE in admin

2007-10-10 Thread AniNair
My admin url ishttp://localhost:8000/admin/flatpages/flatpage/1/ The url being requested is [11/Oct/2007 10:21:35] "GET /admin/flatpages/flatpage/1/media/js/ tiny_mce/tiny_m ce.js HTTP/1.1" 404 3644 [11/Oct/2007 10:21:35] "GET /admin/flatpages/flatpage/1/media/js/ tiny_mce/textar eas.js

Re: TinyMCE in admin

2007-10-10 Thread Jeremy Dunck
On 10/11/07, AniNair <[EMAIL PROTECTED]> wrote: > > I am trying to follow the method in > http://code.djangoproject.com/wiki/AddWYSIWYGEditor > > . I still can't get django find the files textareas.js and > tiny_mce.js. it's returning 404. Please help. Thank you > What's your admin URL and what

TinyMCE in admin

2007-10-10 Thread AniNair
I am trying to follow the method in http://code.djangoproject.com/wiki/AddWYSIWYGEditor . I still can't get django find the files textareas.js and tiny_mce.js. it's returning 404. Please help. Thank you --~--~-~--~~~---~--~~ You received this message because

Re: TinyMCE in admin

2007-09-24 Thread Kenneth Gonsalves
On 24-Sep-07, at 2:32 PM, AniNair wrote: > Hi... > Can someone please tell me how to use TinyMce in admin for editing > flat pages? did you check out the list archives - it is all explained there -- regards kg http://lawgon.livejournal.com http://nrcfosshelpli

Re: TinyMCE in admin

2007-09-24 Thread Kenneth Gonsalves
On 24-Sep-07, at 3:44 PM, AniNair wrote: > I installed TinyMCE as mentioned in > http://www.dehora.net/journal/2006/05/ > using_tinymce_in_djangos_admin.html > I am trying according to the doc > http://code.djangoproject.com/wiki/ > AddWYSIWYGEditor#UsingTinyMCEwithflatpages > Any ideas? so

Re: TinyMCE in admin

2007-09-24 Thread AniNair
I installed TinyMCE as mentioned in http://www.dehora.net/journal/2006/05/using_tinymce_in_djangos_admin.html I am trying according to the doc http://code.djangoproject.com/wiki/AddWYSIWYGEditor#UsingTinyMCEwithflatpages Any ideas? --~--~-~--~~~---~--~~ You

TinyMCE in admin

2007-09-24 Thread AniNair
Hi... Can someone please tell me how to use TinyMce in admin for editing flat pages? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj