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

Creating new placeholders make them impossible to edit. #5614

Closed
prefzlu opened this issue Aug 15, 2016 · 2 comments
Closed

Creating new placeholders make them impossible to edit. #5614

prefzlu opened this issue Aug 15, 2016 · 2 comments

Comments

@prefzlu
Copy link

prefzlu commented Aug 15, 2016

Hello everyone!

I'm trying to create multiple placeholders in my code, so later the admin could change various parts of my webpage easily.

The problem is that when I create a NEW placeholder let's say something like this:

<div> {% placeholder "mycontent" %}</div>
<footer> {% placeholder "footercontent" %}</footer>

Both examples create new placeholders but I can't edit them because they're unclickable.

here: http://docs.django-cms.org/en/release-3.3.x/introduction/templates_placeholders.html

it seems that is possible to add multiple placeholders but in my case it only works with placeholder "content".

I don't know if that the expected behavior and I'm doing something wrong or if this is a real problem when creating new pages "manually" (by code).

@czpython
Copy link
Contributor

czpython commented Aug 15, 2016

Hello @prefzlu ,
Is there any JS errors on the browser console?

Also which cms version are you using?

@evildmp
Copy link
Contributor

evildmp commented Aug 31, 2016

@prefzlu I think there is a misunderstanding here.

A placeholder doesn't create a clickable area until there is anything in it that can be clicked - i.e. a plugin.

We're looking at ways of making this easier to work with, but for now, it's expected behaviour. You have to switch to structure mode and place a plugin into the page before there will be anything to click.

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

No branches or pull requests

3 participants