Skip to content

I cannot get {% placeholder or %} to work #1424

JordanReiter opened this Issue Sep 12, 2012 · 3 comments

2 participants


I am using the code exactly as in the documentation:

{% placeholder "content" or %}
    {% show_uncached_placeholder "content" "my-page" %}
{% endplaceholder %}

Shows nothing.

{% show_uncached_placeholder "content" "my-page" %}

on its own shows the content.

Any ideas what I might be doing wrong?


Hmmm... looks like for some reason placeholder or isn't working for me at all. Any idea why this might be? Do I need to create a page and empty content first before it will work?


{% placeholder "content" %} is this work? if yes try this
{% placeholder "content" or %}There is no content.{% endplaceholder %}


I think it was a version issue. I switched to the git trunk and it started working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.