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

Cannot create any articles #1

Open
yitjob opened this issue Jan 22, 2019 · 3 comments
Open

Cannot create any articles #1

yitjob opened this issue Jan 22, 2019 · 3 comments

Comments

@yitjob
Copy link

yitjob commented Jan 22, 2019

When clicking in the Articles menu item, and then in New Article, the new article form is opened.

Afterwards one would select an entry from the Tree field, but it doesn't show the list of pages.

Furthermore, clicking in the + sign of the tree field, a new page is created but an error message is shown, with the tree field highlighted as an error, and the dropdown list of that field is empty.

The apphook is set to a page as advised in the installation procedure.

@misli
Copy link
Collaborator

misli commented Jan 22, 2019

Thank You for filing this issue. To be honest, it is my fault. This should be either documented or made more intuitive. I'll get back to this soon to fix it either way.
For the CMS Page to become an article tree You must attach a CMS Articles tree application instance to it. (And the page also needs to be published, which I intend to change in the future, so that it is not needed.)

@yitjob
Copy link
Author

yitjob commented Jan 22, 2019

Ok, thank You for your answer. Now I wonder how do I attach a CMS Articles tree application instance to a page? Thank you in advance.

@misli
Copy link
Collaborator

misli commented Jan 23, 2019

Actually, this should be documented in django CMS user's manual, which AFAIK doesn't exist at all.
You need to open the page for editing and switch to advanced settings. All my instances are Czech localized, so I don't know the exact label of the fields, but there is a drop-down with list of available applications followed by application instance name. The instance name is used to distinguish between several instances of the same application.

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

2 participants