Associating a Panel with Nodes AND the frontpage
raiyne - January 12, 2008 - 22:56
| Project: | Panels |
| Version: | 5.x-2.0-beta1 |
| Component: | Panel pages |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
My apologies, I posted this in a different forum, when I should have posted it here. I'm have a simple issue connecting something technically (and mentally).
I'm using panels 2, more precisely I'm using the panel_nodes subfunction. How to I associate that created panel with the node.tpl.php or node-type.tpl.php so that the panel layout will show on any node pages of that type?

#1
Sorry, that's not what panel_node.module does, which explains why you're not connecting things very well.
The panel node module creates a new node type, the 'panel' node, which has a panel layout. It is otherwise independent from your other nodes, as well as from panel pages. It is sort of a lesser cousin to panel pages, and it exists in case you actually need the functionality of a 'node' for your panels; sometimes this does turn out to be necessary.
Instead, I believe what you want is to use panel pages, and to look at this tutorial:
http://drupal.org/node/206185
That will allow you to have a particular node type or types that have panel layouts.
#2
#3
Much obliged for the clarification, and for the tut.
#4
#5
Update: Everything working perfectly on all nodes, except the frontpage: Is there an easy way to link my panel to nodes AND the frontpage using the same panel?
#6
Unfortunately no, and it's the fault of the Drupal menu system. However, the front page is easily malleable. I would recommend you set up a panel with a URL something like 'frontpage', and in the site configuration set your front page to that URL. That'll take care of the front page problem.
#7
Hi,
On http://drupal.org/node/206792 there is a great documentation page about:
Panels 2: Creating a new front page with Views and Panels 2.
Here is explained what Earl is referring to.
Greetings,
Martijn
#8
Automatically closed -- issue fixed for two weeks with no activity.