Hello,

I've set up a 'Default site template' in Panels using one of my Omega 4 layouts. I disabled the default Drupal blocks and added different elements to regions (Header, Help, Content etc.). Now I'm trying to override the 'Content' region with a custom 'Node template' for each content type. The problem I'm having is that 'Default site template' always overrides the 'Node template'.

The desired 'Node template' either has no effect, or if I exclude that Content type from 'Default site template' it works, but all the regions except 'Content' are blank.

How do I override the Content region from 'Default site template' with 'Node template'? Or, how do I add elements to the empty regions when selection rules exclude it from 'Default site template'?

Help truly appreciated.

Comments

Nabru’s picture

What I did was - I went to Structure, Panels and enabled Default site template. I chose one of my Omega 4 layouts and added content into different regions as shown in your picture (content into content, logo in header etc.).

After that I went to Structure, Panes and enabled Node template. I chose one of 2 column layouts and added content, such as title, body, image etc.. Under selection rules I chose for this only to be displayed on certain Content types. What I wanted to do was to override Default site template's Content region with this custom content layout.

The problem is that this does nothing, page still renders as before, as if I didn't enable Node template. If I exclude these Content types from Default site template using selection rules then the Content region itself renders as wanted, but all the other regions are empty.

How do I make Node template only override Content region of Default site template, while all the other regions render the same?

That's the problem I'm having.

Nabru’s picture

Status: Active » Fixed

.

Nabru’s picture

Status: Fixed » Active