djangocms-column icon indicating copy to clipboard operation
djangocms-column copied to clipboard

Can't create multiple column

Open Fenkiou opened this issue 10 years ago • 7 comments

Hello !

Sorry for asking but i can't fix this by myself.

I want to create a multiple column like when you create a new project with djangocms and you answer yes to this question : "Load a starting page with examples after installation".

So the example page works fine with the multiple column but with a new page, i try to put a MultiColumn plugin, it ask me how many column i want and their width (i choose 3, 33%) and during create, i see the bottom-right buttom become red with its title 'Share this traceback on public website' but i can't catch the traceback and my MultiColumn is empty..

Really annoying

I'm using django-cms 3.0.2 and djangocms-column 1.3 and it doesn't work on any browser.

Fenkiou avatar May 28 '14 13:05 Fenkiou

Having the same issue. Using google chrome.

JeremyBYU avatar Jun 11 '14 04:06 JeremyBYU

Same issue as JeremyBYU. Using django 1.6, django-cms 3.0.2, djancocms-columns 1.3 on Google Chrome

zanethorn avatar Jun 16 '14 16:06 zanethorn

I'm having similar problem I beleive. I've asked this question on SO, and I'm gonna put a small bounty on it if it lasts.

http://stackoverflow.com/questions/25106591/cant-add-columns-in-multicolumns-for-django-cms

It seems to be windows related. I'll check If it works on linux.

EDIT:

Same on Linux...

the-over-ape avatar Aug 03 '14 19:08 the-over-ape

this worked for me : https://github.com/divio/djangocms-column/pull/17

the-over-ape avatar Aug 09 '14 15:08 the-over-ape

I'm afraid the issue may not be corrected yet, as I'm facing a similar issue on Linux, with djangocms-column 1.4 / django-cms 3.0.4. Either when choosing 'yes' to "Load a starting page with examples after installation" in djangocms-installer, or when choosing "no" and then adding multi-columns plugin into a newly created page.

The error is encountered when interpreting {% render_plugin plugin %}, in multi_column.html :

In template /dvlpt/venv/my_project/lib/python3.4/site-packages/djangocms_column/templates/cms/plugins/multi_column.html, error at line 4
'NoneType' object has no attribute 'has_change_permission'

More exactly, the exception is raised in cms/templatetags/cms_tags.py, in get_processors() line 352 :

if toolbar and toolbar.edit_mode and placeholder.has_change_permission(request) and getattr(placeholder, 'is_editable', True):

It doesn't seem to be related to the python version, as someone posted a probably similar issue with python2.7 : http://stackoverflow.com/questions/25344675/django-cms-frontend-editer-display-error (edit: corrected link)

Hope this will help a bit...

Thanks.

pterrien avatar Aug 17 '14 15:08 pterrien

I'm pretty new at it too. It Might be a different issue from the one I had. I was only toying arround with djangocms but I successfully added the columns and plugins within it. I used django-cms 3.0.3 and djangocms-column 1.3 with my "xrange to range" modification.

Where exactely did the problem occur ? during creation ? during first display after ? I'll retry at home this week with your versions. and maybe try a django2to3 on the whole folder...

the-over-ape avatar Aug 18 '14 12:08 the-over-ape

I got an answer to this: it's probably related to version 3.0.4 of django-cms installed by djangocms-installer, and thus has probably nothing to do with djangocms-column. Just downgrading to django-cms to 3.0.3 will correct the problem. Many thanks for your help, and all my apologies for bringing a fake issue here...

pterrien avatar Aug 18 '14 14:08 pterrien