Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread hans alexander
I tried to put

AWS_QUERYSTRING_AUTH = False
AWS_S3_BUCKET_AUTH = False

on settings.py,

it didn't work.

Thanks.


On Wed, Sep 9, 2020 at 3:16 PM hans alexander  wrote:

> I see on this link
>>
>
>
> https://stackoverflow.com/questions/63096379/django-ckeditor-upload-image-link-expires-after-some-hours
>
> Has no solution yet. He got the same problem as me.
>
> I'm currently still trying to find solution, tinkering aws s3 settings to
> set the expired time.
>
> Any suggestions would help.
> Thanks
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANV3w%3DZ_Ug%2BSA4%2BSCmje%3DuSUrgrc2cxBG9rwdKj_rUc63Xc6Ew%40mail.gmail.com.


Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread hans alexander
>
> I see on this link
>

https://stackoverflow.com/questions/63096379/django-ckeditor-upload-image-link-expires-after-some-hours

Has no solution yet. He got the same problem as me.

I'm currently still trying to find solution, tinkering aws s3 settings to
set the expired time.

Any suggestions would help.
Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANV3w%3DZeyhDYgxnPBkeLRFUdjjxWH7L%3DKtNWpBD4Q24ZinD_fA%40mail.gmail.com.


Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread Anil pawar
That means whatever link is generated is not functioning. Try to check the
image file permission on the server OR open that link in a new browser tab
and check what response you are getting from the server. and make sure the
image URL is correct.

On Wed, Sep 9, 2020 at 10:15 AM hans alexander  wrote:

> I checked the file on my bucket, it's there. But somehow the link is not
> working.
>
> On Wed, Sep 9, 2020 at 1:13 PM hans alexander  wrote:
>
>> I don't know what happened.
>> Need solution for this.
>>
>> [image: image.png]
>> [image: image.png]
>>
>> Any solutions would be appreciated. Thanks
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANV3w%3DYqh_76b6envEhehZH4eFmeFEFvvh1Jhbg%3DpdwJtGKb%2BQ%40mail.gmail.com
> 
> .
>


-- 
Thanks,
Anil Pawar
Magento Certified Developer Plus
(http://www.magentocommerce.com/certification/directory/dev/749910/)
(https://www.linkedin.com/in/anilpawar1202)
(https://www.facebook.com/anilpawar1202)
cell : +971564329058

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHW9SjFKEx5Vrf8GtTAtAKyCDdFhMxjwTMYAh0w_sGo3aEN-A%40mail.gmail.com.


Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread hans alexander
I checked the file on my bucket, it's there. But somehow the link is not
working.

On Wed, Sep 9, 2020 at 1:13 PM hans alexander  wrote:

> I don't know what happened.
> Need solution for this.
>
> [image: image.png]
> [image: image.png]
>
> Any solutions would be appreciated. Thanks
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANV3w%3DYqh_76b6envEhehZH4eFmeFEFvvh1Jhbg%3DpdwJtGKb%2BQ%40mail.gmail.com.


Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-09 Thread hans alexander
I don't know what happened.
Need solution for this.

[image: image.png]
[image: image.png]

Any solutions would be appreciated. Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANV3w%3DZK%3DGA_emscvN9EDcPQiN5cWutJXoG6UVQXcStcj%3DL6Cg%40mail.gmail.com.


Materializecss issue with CKeditor dialog

2020-07-05 Thread Sherif Adigun
Replies

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/abc9289a-4eee-42d0-83f9-9a0884392b6do%40googlegroups.com.


Materializecss issue with CKeditor dialog

2020-07-01 Thread Sherif Adigun
If using materializecss for the application and image upload widget in the 
ckeditor, materializecss affects the dialog inputs making it impossible to 
use radio buttons and checkboxes. Do you have a suggestions on how to solve 
this?
I'm thinking of not loading the materialize css for the dialog box but i 
don't know how to make that work because i need to load that css file for 
the base page.

Please help




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/afd31026-4904-4ddc-8059-527a299664f0o%40googlegroups.com.


Re: ckeditor toolbar is not showing in html new post page.. why home.html (for adding a new post) is not showing the rendered django form for add new post?

2019-12-13 Thread Integr@te System
Hi Issuer,

Plz check docs again for resolve your matter.
Try either set csrf token cookies or use ensure_csrf_cookie()
https://docs.djangoproject.com/en/3.0/ref/csrf/#django.views.decorators.csrf.ensure_csrf_cookie

On Fri, Dec 13, 2019, 05:10 হজমুলা খান  wrote:

> thanx for your advice and i removed  {% csrf_token %} and still same.
> problem is not solved. add post form is not showing.
>
>
>
> On Thursday, December 12, 2019 at 3:24:48 PM UTC, Integr@te System wrote:
>>
>> Hi,
>>
>> Django view dont render csrf tag within template form, you should check
>> doc in warning part
>> https://docs.djangoproject.com/en/3.0/ref/csrf/
>>
>> And look at the additional way to resolve your problem.
>>
>> On Thu, Dec 12, 2019, 16:45 হজমুলা খান  wrote:
>>
>>> i am integrating some apps to make a bigger project but the problem is
>>> when i try insert ckeditor in html login page it is not showing. for this
>>> reason i tried to make separate app is to see whats going on here. i am
>>> showing you the code in detail.
>>> editing/settings.py:
>>>
>>>
>>> ..
>>> INSTALLED_APPS = [
>>> 'django.contrib.admin',
>>> 'django.contrib.auth',
>>> 'django.contrib.contenttypes',
>>> 'django.contrib.sessions',
>>> 'django.contrib.messages',
>>> 'django.contrib.staticfiles',
>>> 'editor',
>>> 'ckeditor_uploader',
>>> 'ckeditor',
>>> ]
>>> TEMPLATES = [
>>> {
>>>
>>> 'DIRS': [os.path.join(BASE_DIR,'templates')],
>>> .
>>> STATIC_URL = 'editor/static/'
>>> STATIC_ROOT='editor/static/'
>>> CKEDITOR_UPLOAD_PATH='editor/static/media/'
>>>
>>> editing/urls.py:
>>>
>>> from django.contrib import admin
>>> from django.urls import path, include
>>> from django.conf import settings
>>> from django.conf.urls.static import static
>>>
>>> urlpatterns = [
>>> path('admin/', admin.site.urls),
>>> path('',include('editor.urls')),
>>> path('ckeditor/',include('ckeditor_uploader.urls')),
>>> ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
>>>
>>> in this case, my static folder is in editor/static when i execute python
>>> manage.py collectstatic and ckeditor folder is in editor/static directory
>>> also.
>>>
>>> editor/models.py:
>>>
>>> from django.db import models
>>> from ckeditor_uploader.fields import RichTextUploadingField
>>>
>>> # Create your models here.
>>>
>>> class Post(models.Model):
>>> title=models.CharField(max_length=255)
>>> body=models.CharField(max_length=2000)
>>> description=RichTextUploadingField()
>>>
>>> def __str__(self):
>>> return self.title
>>>
>>> editor/admin.py:
>>>
>>> from django.contrib import admin
>>> from .models import Post
>>>
>>> admin.site.register(Post)
>>>
>>> when i execute python manage.py makemigrations and python manage.py
>>> migrate, ckeditor can be seen in locahost:8000/admin's new post section
>>> perfectly. then i tried to make templates.
>>>
>>> base.html:
>>> {% load static %}
>>> 
>>> 
>>> Django blog
>>> https://fonts.googleapis.com/css?family=Source+Sans+Pro:400;
>>> rel="stylesheet">
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Django blog
>>> 
>>> 
>>> {% block content %}
>>> {% endblock content %}
>>> 
>>> 
>>> 
>>>
>>> home.html:
>>> {% extends 'base.html' %}
>>> {% block content %}
>>> New post
>>> 
>>>
>>> {% csrf_token %}
>>> {{ form.media|safe }}
>>> {{ form.as_p }}
>>> 
>>> 
>>> {% endblock content %}
>>>
>>> and then i have created a html file editor/urls.py:
>>> from django.urls import path
>>>
>>> from .views import HomePageView
>>>
>>> urlpatterns=[
>>> path('',HomePageView.as_view(), name='home'),
>>> ]
>>>
>>> and here is the editor/views.py also:
>>> from django.views.generic import TemplateView
>>> from .models import Post
>>>
>>>
>>> class HomePageView(TemplateVi

Re: ckeditor toolbar is not showing in html new post page.. why home.html (for adding a new post) is not showing the rendered django form for add new post?

2019-12-12 Thread হজমুলা খান
thanx for your advice and i removed  {% csrf_token %} and still same. 
problem is not solved. add post form is not showing.



On Thursday, December 12, 2019 at 3:24:48 PM UTC, Integr@te System wrote:
>
> Hi,
>
> Django view dont render csrf tag within template form, you should check 
> doc in warning part
> https://docs.djangoproject.com/en/3.0/ref/csrf/
>
> And look at the additional way to resolve your problem.
>
> On Thu, Dec 12, 2019, 16:45 হজমুলা খান > 
> wrote:
>
>> i am integrating some apps to make a bigger project but the problem is 
>> when i try insert ckeditor in html login page it is not showing. for this 
>> reason i tried to make separate app is to see whats going on here. i am 
>> showing you the code in detail.
>> editing/settings.py:
>>
>>
>> ..
>> INSTALLED_APPS = [
>> 'django.contrib.admin',
>> 'django.contrib.auth',
>> 'django.contrib.contenttypes',
>> 'django.contrib.sessions',
>> 'django.contrib.messages',
>> 'django.contrib.staticfiles',
>> 'editor',
>> 'ckeditor_uploader',
>> 'ckeditor',
>> ]
>> TEMPLATES = [
>> {
>>
>> 'DIRS': [os.path.join(BASE_DIR,'templates')],
>> .
>> STATIC_URL = 'editor/static/'
>> STATIC_ROOT='editor/static/'
>> CKEDITOR_UPLOAD_PATH='editor/static/media/'
>>
>> editing/urls.py:
>>
>> from django.contrib import admin
>> from django.urls import path, include
>> from django.conf import settings
>> from django.conf.urls.static import static
>>
>> urlpatterns = [
>> path('admin/', admin.site.urls),
>> path('',include('editor.urls')),
>> path('ckeditor/',include('ckeditor_uploader.urls')),
>> ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
>>
>> in this case, my static folder is in editor/static when i execute python 
>> manage.py collectstatic and ckeditor folder is in editor/static directory 
>> also.
>>
>> editor/models.py:
>>
>> from django.db import models
>> from ckeditor_uploader.fields import RichTextUploadingField
>>
>> # Create your models here.
>>
>> class Post(models.Model):
>> title=models.CharField(max_length=255)
>> body=models.CharField(max_length=2000)
>> description=RichTextUploadingField()
>>
>> def __str__(self):
>> return self.title
>>
>> editor/admin.py:
>>
>> from django.contrib import admin
>> from .models import Post
>>
>> admin.site.register(Post)
>>
>> when i execute python manage.py makemigrations and python manage.py 
>> migrate, ckeditor can be seen in locahost:8000/admin's new post section 
>> perfectly. then i tried to make templates.
>>
>> base.html:
>> {% load static %}
>> 
>> 
>> Django blog
>> https://fonts.googleapis.com/css?family=Source+Sans+Pro:400;
>> rel="stylesheet">
>> 
>> 
>> 
>> 
>> 
>> 
>> Django blog
>> 
>> 
>> {% block content %}
>> {% endblock content %}
>> 
>> 
>> 
>>
>> home.html:
>> {% extends 'base.html' %}
>> {% block content %}
>> New post
>> 
>> 
>>     {% csrf_token %}
>> {{ form.media|safe }}
>> {{ form.as_p }}
>> 
>> 
>> {% endblock content %}
>>
>> and then i have created a html file editor/urls.py:
>> from django.urls import path
>>
>> from .views import HomePageView
>>
>> urlpatterns=[
>> path('',HomePageView.as_view(), name='home'),
>> ]
>>
>> and here is the editor/views.py also:
>> from django.views.generic import TemplateView
>> from .models import Post
>>
>>
>> class HomePageView(TemplateView):
>>  model=Post
>>  template_name='home.html'
>>  fields=['title','body']
>>
>> i just want to see a simple page of showing new html post editor with 
>> ckeditor toolbar in it. it's just for seeing what's wrong and why my 
>> ckeditor toolbar is not showing in my html file. when i run python 
>> manage.py runserver there is no error showing and the html page is showing 
>> django post and new post and only the save button. it can't render the form 
>> of the django's new post. css style is rendered because the django post and 
>> new post has the desired color and font. but why it is not rendering the 
>> new post form with ckeditor toolbar?
>>
>> i am still learning and t

Re: ckeditor toolbar is not showing in html new post page.. why home.html (for adding a new post) is not showing the rendered django form for add new post?

2019-12-12 Thread Integr@te System
Hi,

Django view dont render csrf tag within template form, you should check doc
in warning part
https://docs.djangoproject.com/en/3.0/ref/csrf/

And look at the additional way to resolve your problem.

On Thu, Dec 12, 2019, 16:45 হজমুলা খান  wrote:

> i am integrating some apps to make a bigger project but the problem is
> when i try insert ckeditor in html login page it is not showing. for this
> reason i tried to make separate app is to see whats going on here. i am
> showing you the code in detail.
> editing/settings.py:
>
>
> ..
> INSTALLED_APPS = [
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> 'editor',
> 'ckeditor_uploader',
> 'ckeditor',
> ]
> TEMPLATES = [
> {
>
> 'DIRS': [os.path.join(BASE_DIR,'templates')],
> .
> STATIC_URL = 'editor/static/'
> STATIC_ROOT='editor/static/'
> CKEDITOR_UPLOAD_PATH='editor/static/media/'
>
> editing/urls.py:
>
> from django.contrib import admin
> from django.urls import path, include
> from django.conf import settings
> from django.conf.urls.static import static
>
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('',include('editor.urls')),
> path('ckeditor/',include('ckeditor_uploader.urls')),
> ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
>
> in this case, my static folder is in editor/static when i execute python
> manage.py collectstatic and ckeditor folder is in editor/static directory
> also.
>
> editor/models.py:
>
> from django.db import models
> from ckeditor_uploader.fields import RichTextUploadingField
>
> # Create your models here.
>
> class Post(models.Model):
> title=models.CharField(max_length=255)
> body=models.CharField(max_length=2000)
> description=RichTextUploadingField()
>
> def __str__(self):
> return self.title
>
> editor/admin.py:
>
> from django.contrib import admin
> from .models import Post
>
> admin.site.register(Post)
>
> when i execute python manage.py makemigrations and python manage.py
> migrate, ckeditor can be seen in locahost:8000/admin's new post section
> perfectly. then i tried to make templates.
>
> base.html:
> {% load static %}
> 
> 
> Django blog
> https://fonts.googleapis.com/css?family=Source+Sans+Pro:400;
> rel="stylesheet">
> 
> 
> 
> 
> 
> 
> Django blog
> 
> 
> {% block content %}
> {% endblock content %}
> 
> 
> 
>
> home.html:
> {% extends 'base.html' %}
> {% block content %}
> New post
> 
>
> {% csrf_token %}
> {{ form.media|safe }}
> {{ form.as_p }}
> 
> 
> {% endblock content %}
>
> and then i have created a html file editor/urls.py:
> from django.urls import path
>
> from .views import HomePageView
>
> urlpatterns=[
> path('',HomePageView.as_view(), name='home'),
> ]
>
> and here is the editor/views.py also:
> from django.views.generic import TemplateView
> from .models import Post
>
>
> class HomePageView(TemplateView):
>  model=Post
>  template_name='home.html'
>  fields=['title','body']
>
> i just want to see a simple page of showing new html post editor with
> ckeditor toolbar in it. it's just for seeing what's wrong and why my
> ckeditor toolbar is not showing in my html file. when i run python
> manage.py runserver there is no error showing and the html page is showing
> django post and new post and only the save button. it can't render the form
> of the django's new post. css style is rendered because the django post and
> new post has the desired color and font. but why it is not rendering the
> new post form with ckeditor toolbar?
>
> i am still learning and this problem is eating me up. thanx in advance
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b8c48a91-b67c-4da0-8ce3-b301798a3851%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b8c48a91-b67c-4da0-8ce3-b301798a3851%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP5HUWpVhjVBiVMJcAqSpnYxxte0gw4TYSTBr3xpagH0QYotKw%40mail.gmail.com.


ckeditor toolbar is not showing in html new post page.. why home.html (for adding a new post) is not showing the rendered django form for add new post?

2019-12-12 Thread হজমুলা খান
i am integrating some apps to make a bigger project but the problem is when 
i try insert ckeditor in html login page it is not showing. for this reason 
i tried to make separate app is to see whats going on here. i am showing 
you the code in detail.
editing/settings.py:


..
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'editor',
'ckeditor_uploader',
'ckeditor',
]
TEMPLATES = [
{
   
'DIRS': [os.path.join(BASE_DIR,'templates')],
.
STATIC_URL = 'editor/static/'
STATIC_ROOT='editor/static/'
CKEDITOR_UPLOAD_PATH='editor/static/media/'

editing/urls.py:

from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
path('admin/', admin.site.urls),
path('',include('editor.urls')),
path('ckeditor/',include('ckeditor_uploader.urls')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

in this case, my static folder is in editor/static when i execute python 
manage.py collectstatic and ckeditor folder is in editor/static directory 
also.

editor/models.py:

from django.db import models
from ckeditor_uploader.fields import RichTextUploadingField

# Create your models here.

class Post(models.Model):
title=models.CharField(max_length=255)
body=models.CharField(max_length=2000)
description=RichTextUploadingField()

def __str__(self):
return self.title

editor/admin.py:

from django.contrib import admin
from .models import Post

admin.site.register(Post)

when i execute python manage.py makemigrations and python manage.py 
migrate, ckeditor can be seen in locahost:8000/admin's new post section 
perfectly. then i tried to make templates.

base.html:
{% load static %}


Django blog
https://fonts.googleapis.com/css?family=Source+Sans+Pro:400;
rel="stylesheet">






Django blog


{% block content %}
{% endblock content %}




home.html:
{% extends 'base.html' %}
{% block content %}
New post


{% csrf_token %}
{{ form.media|safe }}
{{ form.as_p }}


{% endblock content %}

and then i have created a html file editor/urls.py:
from django.urls import path

from .views import HomePageView

urlpatterns=[
path('',HomePageView.as_view(), name='home'),
]

and here is the editor/views.py also:
from django.views.generic import TemplateView
from .models import Post


class HomePageView(TemplateView):
 model=Post
 template_name='home.html'
 fields=['title','body']

i just want to see a simple page of showing new html post editor with 
ckeditor toolbar in it. it's just for seeing what's wrong and why my 
ckeditor toolbar is not showing in my html file. when i run python 
manage.py runserver there is no error showing and the html page is showing 
django post and new post and only the save button. it can't render the form 
of the django's new post. css style is rendered because the django post and 
new post has the desired color and font. but why it is not rendering the 
new post form with ckeditor toolbar?

i am still learning and this problem is eating me up. thanx in advance


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b8c48a91-b67c-4da0-8ce3-b301798a3851%40googlegroups.com.


Re: CKEditor

2016-04-11 Thread Luis Zárate
Supongo está usando django-ckeditor, si es así lo que tiene que hacer es
usar el field que ellos proporcionan.

https://github.com/django-ckeditor/django-ckeditor#field


además recuerde usar {{form.media}} en la plantilla, para que se cargue el
js.

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyN3%3D1HKLw4VJO9odtkJ0oOz831qodUoC8awu9u-EaD9dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


CKEditor

2016-04-11 Thread Ricardo Felipe Ríos Higueras
Buenas.

Estoy usando ckeditor en django. 
Todo bien, lo instalé bien y por parte del admin funciona excelente.

Lo que quiero es llevar esa herramienta a un form. Crear un formulario que 
contenga ckeditor.

Espero me entiendan y puedan ayudarme, ya que, he intentado de muchas 
formas y nada me resulta.

Muchas gracias!
Saludos.

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d10cda1c-176b-4667-8f7c-72ce6578519c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django + Ckeditor

2016-01-05 Thread Dheerendra Rathor
Adding to whycrying's method, you can use {{ content|safe }} to escape
things as well.

On Sun, 3 Jan 2016 at 19:13 whycrying <kwanw...@gmail.com> wrote:

> Hi, David,
>
> You can close the auto-escaping behavior like this ::
>
> {% autoescape off %}
>   {{ content }}
> {% endautoescape %}
>
> ref:
> https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#autoescape
>
>
> On Sun, Jan 3, 2016 at 5:12 AM, David Pineda <daha...@gmail.com> wrote:
>
>> Hello folks! Happy new year!
>>
>> I have a question about ckeditor on django. I configured ok and use
>> ckeditor field on my project model. But when i show the content on a
>> template view, the images only show the [img] tag and the path to file. I
>> think it can be a filter but on the official site there are nothing about
>> how to show on a view the field (only how to enable on the edit form).
>> So i ask you about this, how to do the correct configuration to show the
>> field with images (not qith tag img)
>>
>> Thanks!
>>
>> --
>> David A. Pineda Osorio
>> F:+56 9 82142267
>> Ingeniero Civil Electricista
>> Universidad de Chile
>>
>> *http://www.cultura-libre.cl/ <http://www.cultura-libre.cl/>*
>>
>>
>>
>>
>> --
>> 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 to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAn3imxDoToELcxo%2B12pQQ0eX2d0ye%2Bj25Jv%3DqTa1WcoYq17aQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAAn3imxDoToELcxo%2B12pQQ0eX2d0ye%2Bj25Jv%3DqTa1WcoYq17aQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> https://www.zhangkaizhao.com/
>
> --
> 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 to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACKDpmffXf61CG-8Q-XrZbujrt5qWQRJdscE-%3DTJ1dhqAgVPKw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACKDpmffXf61CG-8Q-XrZbujrt5qWQRJdscE-%3DTJ1dhqAgVPKw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAByqUgiXZi7gBENZzit_c4kG-vder7_J7jOzFWHzCJWa5fgjEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django + Ckeditor

2016-01-03 Thread whycrying
Hi, David,

You can close the auto-escaping behavior like this ::

{% autoescape off %}
  {{ content }}
{% endautoescape %}

ref:
https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#autoescape


On Sun, Jan 3, 2016 at 5:12 AM, David Pineda <daha...@gmail.com> wrote:

> Hello folks! Happy new year!
>
> I have a question about ckeditor on django. I configured ok and use
> ckeditor field on my project model. But when i show the content on a
> template view, the images only show the [img] tag and the path to file. I
> think it can be a filter but on the official site there are nothing about
> how to show on a view the field (only how to enable on the edit form).
> So i ask you about this, how to do the correct configuration to show the
> field with images (not qith tag img)
>
> Thanks!
>
> --
> David A. Pineda Osorio
> F:+56 9 82142267
> Ingeniero Civil Electricista
> Universidad de Chile
>
> *http://www.cultura-libre.cl/ <http://www.cultura-libre.cl/>*
>
>
>
>
> --
> 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 to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAn3imxDoToELcxo%2B12pQQ0eX2d0ye%2Bj25Jv%3DqTa1WcoYq17aQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAAn3imxDoToELcxo%2B12pQQ0eX2d0ye%2Bj25Jv%3DqTa1WcoYq17aQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
https://www.zhangkaizhao.com/

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACKDpmffXf61CG-8Q-XrZbujrt5qWQRJdscE-%3DTJ1dhqAgVPKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django + Ckeditor

2016-01-02 Thread David Pineda
Hello folks! Happy new year!

I have a question about ckeditor on django. I configured ok and use
ckeditor field on my project model. But when i show the content on a
template view, the images only show the [img] tag and the path to file. I
think it can be a filter but on the official site there are nothing about
how to show on a view the field (only how to enable on the edit form).
So i ask you about this, how to do the correct configuration to show the
field with images (not qith tag img)

Thanks!

-- 
David A. Pineda Osorio
F:+56 9 82142267
Ingeniero Civil Electricista
Universidad de Chile

*http://www.cultura-libre.cl/ <http://www.cultura-libre.cl/>*

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAn3imxDoToELcxo%2B12pQQ0eX2d0ye%2Bj25Jv%3DqTa1WcoYq17aQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


CKEDITOR not working on certain models

2015-04-21 Thread Thomas Weholt
I've used CKEDITOR to turn my models.TextArea() fields into nice editors
for a long time, but suddenly some of my pages throws the following
exception:

Uncaught Error: The specified element mode is not supported on element:
"meta".

I've googled it and tried several solutions, like:

CKEDITOR.dtd.$editable.textarea = 1
CKEDITOR.replace('description');


in my document_ready-section of my page, but it still doesn't work.

The problem only applies to some models and they all share the same
abstract superclass. I cannot figure out why a javascript-package, running
in the browser, handling the exact same html as before should suddenly stop
working because I added some fields using an abstract model with fields not
even being rendered on the page which has now stopped working.

Any hints?

-- 
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACkDSm-pckBicvSJNYyepSAAC92CPzKZq8xm5iZqWfzMd8gNOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django-ckeditor noop?

2014-12-06 Thread Collin Anderson
Hi,

That should work.

Did you restart the server?

Are you using CKEDITOR_RESTRICT_BY_USER?

Is "ckeditor" in the source of the page at all?

Are there errors on the javascript console?

What does your admin.py look like?

Collin


On Friday, December 5, 2014 1:09:59 PM UTC-5, Jonathan Hayward wrote:
>
> At 
> http://stackoverflow.com/questions/27321396/how-can-i-get-my-django-ckeditor-installation-to-recognize
>  
> I asked what I could do to get a RichTextField() to be displayed with a 
> CKeditor widget.
>
> Any advice for what I should change?
>
> Thanks,
>  

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eff72a7b-fc25-49fd-abba-2a175259b1f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django-ckeditor noop?

2014-12-05 Thread Christos Jonathan Seth Hayward
At
http://stackoverflow.com/questions/27321396/how-can-i-get-my-django-ckeditor-installation-to-recognize
I asked what I could do to get a RichTextField() to be displayed with a
CKeditor widget.

Any advice for what I should change?


Thanks,

-- 
[image: Christos Jonathan Seth Hayward] <http://jonathanscorner.com/>
Christos Jonathan Seth Hayward, an Orthodox Christian author.

Amazon / Kindle <http://amazon.com/author/cjshayward> • *Author
<http://cjshayward.com/>* • Author Bio <http://jonathanscorner.com/author/>
 • *The Classic Orthodox Bible <http://classicorthodoxbible.com/>* • *Email
<christos.jonathan.hayw...@gmail.com>* • Facebook
<http://www.facebook.com/christos.jonathan.hayward> • Fan Page
<http://fan.cjshayward.com/>• Github
<https://github.com/JonathanHayward?tab=repositories> • Google Plus
<http://jonathanscorner.com/plus> • LinkedIn
<http://www.linkedin.com/in/jonathanhayward> • *Main Website
<http://jonathanscorner.com/>* • *Professional
<http://jonathanhayward.com/>* • Twitter
<http://twitter.com/JonathansCorner> • What's New?
<http://jonathanscorner.com/>

If you read just *one* of my books, you'll want *The Best of Jonathan's
Corner <http://tinyurl.com/best-of-jonathans-corner>* (Kindle
<http://tinyurl.com/best-jonathans-corner-kindle>).

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE6_B5T8oq52FQ1zstfERksPrgMye7RL4GA1eEqy1LNpAioPXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django-ckeditor image upload giving wrong url of the image

2013-10-17 Thread Robin Lery
When I try text editing and other text related stuffs and save it, the
editor does its job nicely. But when I try to upload an image it just take
a different url. I am on windows. Is it because of this, cause I saw a post
on this 
post<http://stackoverflow.com/questions/18894044/django-ckeditor-wont-render-images>,
but it didn't helped me either. It does get saved and they each have their
own thumbnails too. But its just that the wrong urls. I checked the src of
the image, and it was like this,



But it should have been like this,



And sometimes the src of the image is just like this,



This is the snippet of my settings.py:

CKEDITOR_UPLOAD_PATH = 'C:/Users/Nanyoo/web/demo/media'
MEDIA_ROOT = 'C:/Users/Nanyoo/web/demo/media'

I've included its url in my urls.py:

(r'^ckeditor/', include('ckeditor.urls')),

models.py:

from django.db import modelsfrom datetime import datetimefrom
django.contrib.auth.models import Userfrom time import time

def get_upload_file_name(instance, filename):
return "uploaded_files/%s_%s" %(str(time()).replace('.','_'), filename)
class Blog(models.Model):
title = models.CharField(max_length=200)
image = models.ImageField(upload_to=get_upload_file_name, blank=True)
pub_date = models.DateTimeField(default=datetime.now)
creator = models.ForeignKey(User, related_name="creator_set")
body = models.TextField()

In the forms.py:

from django import formsfrom django_summernote.widgets import
SummernoteWidgetfrom ckeditor.widgets import CKEditorWidget
class BlogForm(forms.Form):
title = forms.CharField(max_length=200,widget=SummernoteWidget())
body = forms.CharField(widget=CKEditorWidget())

In the index.html:

{% for blog in blogs %}

{{ blog.title | safe}}
{{ blog.body | safe}}

{% endfor %}

Please help me figure it out. Any help will be greatly appreciated!

Thanks!

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B4-nGomdQf3%3DDbzArYUYeBdyjEhnVbDuc8KLmi%3DdwPsgBsROA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


django admin: integrate django-modeltranslation + django-ckeditor into 3rd party module

2013-09-26 Thread Roberto López López

Hi,

I want to integrate django-modeltranslation into the cmsplugin_news
package. I mean, register some fields in the News class to have a
translation in the DB for each of the settings.LANGUAGES defined.


class NewNewsForm(forms.ModelForm):
class Meta:
model = News
fields = ('title', 'slug', 'excerpt', 'content',
'is_published', 'pub_date')
widgets = {
'content': CKEditorWidget(),
'excerpt': CKEditorWidget(),
}

class NewNewsAdmin(TranslationAdmin):
form = NewNewsForm

class Media:
js = (
   
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
   
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
)
css = {
'screen':
('modeltranslation/css/tabbed_translation_fields.css',),
}

admin.site.register(News, NewsAdmin)


This works ok, if we just take into account django-modeltranslation. But
the django-ckeditor widget is not loading. Using firebug I have seen
that some static files are not loaded, so I tried loading them manually
by modifying the Media class. Anyhow the editor continues not working:

class Media:
js = (
   
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
   
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
'ckeditor/ckeditor/ckeditor.js',
'ckeditor/ckeditor/config.js?t=D26D',
'ckeditor/ckeditor/styles.js?t=D26D',
)
css = {
'all': [cms_static_url(path) for path in (
'css/rte.css',
'css/pages.css',
'css/change_form.css',
'css/jquery.dialog.css',
'css/plugin_editor.css',
)],
'screen':
('modeltranslation/css/tabbed_translation_fields.css',),
}

Does anyone have any idea about how to make the editor work? Thank you
very much!

Regards,

Roberto

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Help, ckeditor not rendering in form

2013-03-30 Thread frocco
I figured it out.
In my index.html file, I had to add {{ form.media }}

On Saturday, March 30, 2013 12:21:52 PM UTC-4, frocco wrote:
>
> Hello,
>
> My form is not based on a model, form.value is not showing the editor.
>
> Thanks for the help.
>
> class RebateForm(forms.Form):
> item = forms.CharField(max_length=50, required=True)
> category = forms.ModelChoiceField(queryset=Category.objects.all())
> value = forms.CharField(widget=CKEditorWidget())
>
> def save(self):
> return do_rebate(self)
>
>
>
> 
> {{ form.errors }}
> 
> {% csrf_token %}
> 
> 
> Item to find
> {{ form.item }}
> 
> 
> Category to find
> {{ form.category }}
> 
> 
> Value to show user
> {{ form.value }}
> 
>
> 
> 
> 
> 
>

-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Help, ckeditor not rendering in form

2013-03-30 Thread frocco
Hello,

My form is not based on a model, form.value is not showing the editor.

Thanks for the help.

class RebateForm(forms.Form):
item = forms.CharField(max_length=50, required=True)
category = forms.ModelChoiceField(queryset=Category.objects.all())
value = forms.CharField(widget=CKEditorWidget())

def save(self):
return do_rebate(self)




{{ form.errors }}

{% csrf_token %}


Item to find
{{ form.item }}


Category to find
{{ form.category }}


Value to show user
{{ form.value }}







-- 
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 to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




issues with dejango-ckeditor

2012-03-21 Thread Sagiedd
Hello,

I am trying to use the django-ckeditor in my models / forms.
However, the RichTextField or CKEditorWidget seem to work like regular
text field. This happens both on the admin site and in my own forms.

I followed the installation guide as explained here :
https://github.com/shaunsephton/django-ckeditor

I feel like there is some step I did wrong or something else I forgot
to install, because there are no error message.

Thanks for helping.

-- 
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, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-ckeditor causes an unhandled exception

2010-10-19 Thread jean polo
replying to myself...
this was fixed 5 days ago on github.
updating to latest django-ckeditor solved it.

_y


On Oct 19, 12:49 pm, jean polo <josiano@googlemail.com> wrote:
> hallo !
>
> I installed django-ckeditor-0.0.7, run it smoothly locally but now I'm
> trying to commit the changes on my server, I get an Unhandled
> Exception:
> [SNIP]
>   File "/usr/local/alwaysdata/python/django/1.2.1/django/core/
> urlresolvers.py", line 247, in _get_url_patterns
>     raise ImproperlyConfigured("The included urlconf %s doesn't have
> any patterns in it" % self.urlconf_name)
>
> ImproperlyConfigured: The included urlconf xxx.urls doesn't have any
> patterns in it
>
> I followed all infos from django-ckeditor README, i.e. installed it
> (fine), added 'ckeditor' to my installed apps, added:
> (r'^ckeditor/', include('ckeditor.urls')),
> to my urls.py.
>
> The weird thing is that it runs fine via the runserver on ssh.
>
> Any help is greatly appreciated.
>
> _y

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-ckeditor causes an unhandled exception

2010-10-19 Thread jean polo
hallo !

I installed django-ckeditor-0.0.7, run it smoothly locally but now I'm
trying to commit the changes on my server, I get an Unhandled
Exception:
[SNIP]
  File "/usr/local/alwaysdata/python/django/1.2.1/django/core/
urlresolvers.py", line 247, in _get_url_patterns
raise ImproperlyConfigured("The included urlconf %s doesn't have
any patterns in it" % self.urlconf_name)

ImproperlyConfigured: The included urlconf xxx.urls doesn't have any
patterns in it

I followed all infos from django-ckeditor README, i.e. installed it
(fine), added 'ckeditor' to my installed apps, added:
(r'^ckeditor/', include('ckeditor.urls')),
to my urls.py.

The weird thing is that it runs fine via the runserver on ssh.

Any help is greatly appreciated.

_y

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ckeditor and ckfinder

2010-03-31 Thread Bobby Roberts
thanks for your reply... your tip got me thinking and I found the docs
at:

http://docs.cksource.com/CKFinder/Developers_Guide/PHP/CKEditor_Integration

under manual integration




On Mar 31, 10:16 pm, Sam Lai <samuel@gmail.com> wrote:
> On 1 April 2010 13:05, Bobby Roberts <tchend...@gmail.com> wrote:
>
> > I'm trying to get ckfinder to integrate with ckeditor.  I can go
> > directly to the ckfinder sample standalone and it uploads to the right
> > directory and everything so I know that ckfinder is configured
> > properly... anyone know how to get the upload tab on the image popup
> > with ckeditor so that ckfinder works in an integrated form?
>
> Not quite sure how ckfinder works, but to integrate a file browser
> into ckeditor so it appears when you click the 'upload' button, you
> need to set the 'filebrowserBrowseUrl' setting in the editor
> configuration.
>
> I have a JSON string with all these settings in it which I write to
> the template, the template then contains JS code that uses the config
> when calling CKEDITOR.replace(textarea_id, config_dict);
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ckeditor and ckfinder

2010-03-31 Thread Sam Lai
On 1 April 2010 13:05, Bobby Roberts <tchend...@gmail.com> wrote:
> I'm trying to get ckfinder to integrate with ckeditor.  I can go
> directly to the ckfinder sample standalone and it uploads to the right
> directory and everything so I know that ckfinder is configured
> properly... anyone know how to get the upload tab on the image popup
> with ckeditor so that ckfinder works in an integrated form?

Not quite sure how ckfinder works, but to integrate a file browser
into ckeditor so it appears when you click the 'upload' button, you
need to set the 'filebrowserBrowseUrl' setting in the editor
configuration.

I have a JSON string with all these settings in it which I write to
the template, the template then contains JS code that uses the config
when calling CKEDITOR.replace(textarea_id, config_dict);

> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ckeditor and ckfinder

2010-03-31 Thread Bobby Roberts
I'm trying to get ckfinder to integrate with ckeditor.  I can go
directly to the ckfinder sample standalone and it uploads to the right
directory and everything so I know that ckfinder is configured
properly... anyone know how to get the upload tab on the image popup
with ckeditor so that ckfinder works in an integrated form?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



My CKEditor Integration Pattern

2009-10-28 Thread Johan

I've outlined how I am currently integrating CKEditor into my admin
site (http://tinyurl.com/ylfjumo) . This way obviously work very
nicely for me.
Is there any reason to go the more advanced route of creating a custom
widget?
--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



My CKEditor Integration Pattern

2009-10-28 Thread Johan

I've outlined how I am currently integrating CKEditor into my admin
site (http://johansdevblog.blogspot.com/2009/10/adding-ckeditor-to-
django-admin.html ) . This way obviously work very nicely for me.
Isthere any reason to go the more advanced route of creating a custom
widget?
--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



My CKEditor Integration Pattern

2009-10-28 Thread Johan

I've outlined how I am currently integrating CKEditor into my admin
site (http://johansdevblog.blogspot.com/2009/10/adding-ckeditor-to-
django-admin.html) . This way obviously work very nicely for me. Is
there any reason to go the more advanced route of creating a custom
widget?

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---