Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create multiple column #14

Open
Fenkiou opened this issue May 28, 2014 · 7 comments
Open

Can't create multiple column #14

Fenkiou opened this issue May 28, 2014 · 7 comments

Comments

@Fenkiou
Copy link

Fenkiou commented May 28, 2014

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.

@JeremyBYU
Copy link

Having the same issue. Using google chrome.

@zanethorn
Copy link

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

@the-over-ape
Copy link
Contributor

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
Copy link
Contributor

this worked for me : #17

@pterrien
Copy link

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.

@the-over-ape
Copy link
Contributor

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...

@pterrien
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants