I'm trying to create a page override for a cck node. I also have pathauto set so that all nodes of that type default to view/[nid] With argument set as node id, and path as view/%, it will automatically show the content's normal layout instead of the panels override. Simply changing the path on the panel to sheet/% gets the layout I want on the page, sheet/[nid], but the default page is still there.
Comments
Comment #1
sdboyer commentedI was with you up until your last sentence - I don't see how sheet/% has anything to do with the node you're trying to override - but it's not really relevant to the answer anyway.
Panels pages that are simply acting as pages (i.e., not overriding nodes or other content) do fine when you set their Path to whatever path alias you want. However, they are currently unable to override nodes using path aliases. If you want to override a node, you need to use the actual system path: node/%. You can then specify which node type you want it to replace via the Context menu.
We may add support for overriding via path aliases in a future patch, but for the moment, this is the way panels_pages are intended to work. Sorry that the GUI isn't clearer on this point.
Comment #2
Bencoon commentedAhhh.. I gotcha. I didn't realize that's how it worked. Thank you for clearing that up. :)
Comment #3
summit commentedHi Sam,
We may add support for overriding via path aliases in a future patch
Do you still consider doing this please?
I think I have a usecase for this.
I would like to be able to override a build panel-page template with arguments filling different panels-panes.
Thanks in advance for considering this!
greetings,
Martijn