I use show_placeholder to display "global" content on my site. For example, the widget that I use in the sidebar. I did something similar to the suggestions given in this other question . I created an extra_placeholders.html template and a page (with the return identifier "extra placeholders") in the administrator who use extra_placeholders.html to store the placeholders. It never appears in the interface, but I can access its placeholder using {% show_placeholder "my_placeholder" "extra-placeholders" %}
It works great with one caveat I need to resolve. Let's say I use the front-end "Release Mode" of Django-CMS to edit the placeholder. It works in the sense that I can change the contents and save it.
However, it is not published automatically .
I understand the reason. The placeholder actually belongs to another page ("extra placeholders"). Therefore, when I click "Publish" in the interface, I save the page that I see, but not associated with my_placeholder .
So, I would like to use a signal to save the "extra placeholders" page every time any other page is saved. I found that there is this signal , but how to use it to publish my page of additional places?
source share