question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

render static placeholder without edit mode

See original GitHub issue

I think it makes sense to add an option to the static_placeholder tag to render the placeholder without the edit capabilities, in other words disable the edit mode for this one static placeholder. @yakky @mkoistinen thoughts ?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
bartTCcommented, Jun 29, 2018

It’s easy to switch off front-end editing for a CMSPlugin. Give the frontend_edit_template the same value as the render_template. Probably this makes changes to the placeholder redundant.

Side note; this advice is marked as deprecated in v3.4 :

          warnings.warn(
                "Attribute `frontend_edit_template` will be removed in django CMS 3.5",
                PendingDeprecationWarning
            )
1reaction
philippzecommented, Aug 16, 2015

It’s easy to switch off front-end editing for a CMSPlugin. Give the frontend_edit_template the same value as the render_template. Probably this makes changes to the placeholder redundant.

Read more comments on GitHub >

github_iconTop Results From Across the Web

render static placeholder without edit mode #3757 - GitHub
It's easy to switch off front-end editing for a CMSPlugin. Give the frontend_edit_template the same value as the render_template . Probably this ...
Read more >
Django-CMS static placeholder not working in site with ...
The problem is that in edit mode the changes appear but in publish mode it always assumes the pt translation. In the other...
Read more >
How to use placeholders outside the CMS
Your model with PlaceholderFields can still be edited in the admin. However, any PlaceholderFields in it will only be available for editing from...
Read more >
Set placeholder restrictions - Sitecore Documentation
In the Select the Placeholder Settings dialog box, click Create New Settings. · To add renderings, click Edit.
Read more >
Sitecore – Placeholders and placeholder settings
When the content Editor is trying to edit (Remove the rendering) it in Experience editor, s/he is not allowed and dependency comes back...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found