Is there a way to use the Django-cms WYMeditor (and all of it's plugin capabilities) as the editor for Zinnia?
The goal is to be able to upload photos/videos as content within the entries.
Is there a way to use the Django-cms WYMeditor (and all of it's plugin capabilities) as the editor for Zinnia?
The goal is to be able to upload photos/videos as content within the entries.
You can take a look here and add this line to your project settings :
ZINNIA_ENTRY_BASE_MODEL = 'cmsplugin_zinnia.placeholder.EntryPlaceholder'
I used django-file-picker to get this to work. I had to edit the zinnia/admin/entry.py file according to http://django-file-picker.readthedocs.org/en/latest/wymeditor.html
I edited the templates/admin/base_site.html file to have these two lines added to the 'extrastyle' block:
I had to make sure zinnia wasn't using it's own WYMeditor:
This isn't the ideal solution because I had to actually edit the source files for zinnia, but it'll work for today. I'll look for a more elegant solution next week.