neilcarpenter
neilcarpenter

I have a default layout setup that is used for both CMS pages and Static Pages.

The layout makes use of some placeholders, but I dont want these placeholders to be used to create tabs on the static page form.

I could probably just make a layout specifically for static pages that doesn't have those placeholders there.... but I like to have just one "default layout" that's used for both static and cms pages.

So my question is - Is there a way to hide specific placeholder tabs on static pages?

mjauvin
mjauvin

When defining the placeholder in your layout, just add ignore=true as the last argument. e.g.:

{% placeholder myPlaceholderName ignore=true %}
neilcarpenter
neilcarpenter

mjauvin said:

When defining the placeholder in your layout, just add ignore=true as the last argument. e.g.:

{% placeholder myPlaceholderName ignore=true %}

Perfect. Thank you ;o)

1-3 of 3