Can I have the same panel page path (node/%) with different displays for different content types?

I have two node types: A and B. Obviously they both have the same default path in Drupal, which is the generic "node/%".

I would like to override BOTH A and B with a panel page of its own. Obviously both panel pages will require the Node ID context and Panels allows me to specify for which content type I want the display overridden.

It also seems obvious that both panel pages should have the same path much like different node types share the same "node/%" path. But for Panels that is a conflict and it's not letting me do that. The way it looks to me is that Panels allows for overriding of one node type only?!

So my question is: how can I override the display of two different node types with Panels?

Groups:
Login to post comments

yes you can. Arguments:

bennos - Thu, 2009-02-26 19:37

yes you can.

Arguments: NodeID

When you create the argument or editing, then you can choose in the ajax pop-up the content types. You must choose also the own display checkboxes for every content type you need.

after safeing, you see under content all activated content types.


That's true, but if I update

kirilius - Fri, 2009-02-27 04:07

That's true, but if I update the content for one content type and save, then all other content layouts are also updated. That's the thing: I need different content displays for different content types.


certainly possible

dagomar - Sat, 2009-03-14 18:18

Not sure what your issue is exactly. You can make a different display for each node type. In contexts you select the nodeID Argument, and you select "Own display " for each node type that you want to create a different panel layout for. After, you can create a 'default' panel for nodes, and panels for each node type...


I git it finally. Initially

kirilius - Sat, 2009-03-14 20:36

I got it finally. Initially I thought you have to create a different panel page for different content types.