Questions tagged [django-cms]

Django CMS is a plugin-based Django application for managing hierarchical pages of content, possibly in multiple languages and/or on multiple sites.

Django CMS is a plugin-based application for managing hierarchical pages of content, possibly in multiple languages and/or on multiple sites.

Django CMS is focused both on Django developers and content editors.

References

1460 questions
13
votes
1 answer

How to create a placeholder for a specific plugin in django-cms 3.0.0

How do i create a placeholder that can only be filled with a specific plugin? I'd like to create a template in django-cms 3.0.0.beta2, with a placeholder only for the pictures plugin. I couldn't find any option in the…
Sven Rojek
  • 5,476
  • 2
  • 35
  • 57
12
votes
1 answer

Django-cms for multiple websites

How to setup a django-cms project to support multiple websites? There's no reference to this in the official documentation and only limited information in the mailing list, but it's in the headline "A Django application for managing hierarchical…
Stefano
  • 18,083
  • 13
  • 64
  • 79
12
votes
1 answer

django-cms: urls used by apphooks don't work with reverse() or {% url %}

I'm using django-cms with apphooks to display book detail information. I need the page with the app hook to accept a slug that specifies which book to display. I created a page called 'books' and added the apphook 'BookDetailApp'. Here's what my…
Eric Ressler
  • 1,374
  • 1
  • 14
  • 25
11
votes
1 answer

How to render django-cms plugin in every page?

I have a latest news plugin for django-cms. I want to show 5 latest news in footer. Footer placed on every page of site. How can I render this plugin on every page?
Chuprin
  • 1,147
  • 1
  • 13
  • 18
11
votes
1 answer

Django-cms installs, but pull-downs and other JS doesn't work - ideas for fixing?

I've installed Django-CMS onto an existing site and while it isn't throwing errors, it isn't working. In particular, the header on a given page appears when I use "/?edit" but none of the pull down menus work, and very little (possibly none) of the…
bethlakshmi
  • 4,581
  • 22
  • 44
11
votes
6 answers

Django CMS - check if placeholder is empty

I use: DjangoCMS 2.4 Django 1.5.1 Python 2.7.3 I would like to check if my placeholder is empty.
{% placeholder "my_placeholder" or %} {% endplaceholder %}
I don't want the html between the placeholder to be created if the…
21S
  • 351
  • 3
  • 11
10
votes
1 answer

how to customize menu template in django-cms?

Can anyone supply me a sample of customizing the django-cms menu template, please? I have tried to look for the default menu.html in the cms package folder, but can't find anything. Thanks.
LEHI
  • 109
  • 1
  • 4
10
votes
3 answers

"NodeAlreadySaved " error when using djangocms publishing page changes

Encounter an error when using djangocms publishing page changes. when I ran tail -f /var/log/apache2/error.log, it returned: treebeard.exceptions.NodeAlreadySaved: Attempted to add a tree node that is already in the database, referer:…
jpx
  • 111
  • 9
10
votes
3 answers

django-cms + grappelli

If anyone knows how to make django-cms play with grappelli, please give some tips
iperelivskiy
  • 3,523
  • 2
  • 18
  • 19
10
votes
3 answers

Custom Error Pages for django-cms

Supposedly a trivial task to server 403/404/500 error pages when using django-cms. Followed instructions on an old forum post to create this: from cms.views import details def custom_404(request): response = details(request, 'page-not-found') …
mrkre
  • 1,548
  • 15
  • 43
9
votes
1 answer

Is there a recommended way to deal with deploying pages from local dev to prod?

For example, say I am working on a FAQ page locally. I create whatever plugins/templates etc I need. Then, locally, I proceed to add the plugins to the page, debug, modify whatever. Now it comes time for me to deploy this to production. I am left…
AJ Venturella
  • 4,742
  • 4
  • 33
  • 62
9
votes
4 answers

How do I access all page objects in django-cms from every page?

I am using Django CMS 2.1.0.beta3 and am encountering a problem. I need to have access to all the pages in a variable so that I can loop through them and create my navigation menu using a for loop. The show_menu functionality provided with django…
thomallen
  • 1,926
  • 1
  • 18
  • 32
9
votes
2 answers

django oscar and djangocms

I am interested in combining django-cms for content management and django oscar for e-commerce. Can someone give me some direction, preferably someone that has already successfully combined the two: [A] Should the structure be a base oscar site,…
Nicholas Hamilton
  • 10,044
  • 6
  • 57
  • 88
9
votes
1 answer

pip requirement specifiers: role of the comma

I am trying to install a specific version of django-cms, thus executing pip install django-cms==3.0.5. That gives me the error No matching distribution found for django-mptt==0.5.2,==0.6,==0.6.1 (from django-cms==3.0.5). And indeed, on github the…
Michel H.
  • 301
  • 1
  • 11
9
votes
1 answer

Django CMS Page Title Doesn't Render

I'm currently working on a project that uses django-registration and Django CMS. When display the pages that implement django-registration my page titles do not render. Currently have {% page_attribute page_title %} in base.html…
elke_wtf
  • 887
  • 1
  • 14
  • 30
1
2
3
97 98