Closed (fixed)
Project:
Node Hierarchy
Version:
6.x-2.x-dev
Component:
Drupal/PHP Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 22:43 UTC
Updated:
22 Aug 2013 at 10:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jbylsma commentedYou aren't missing anything :) I don't remember exactly what it was but there is a conflict between the multi-step panel node creation and node hierarchy. I think it comes from the destination variable in the generated link for creating panels. Anyways, I was working with a custom theme when I first discovered it, so I just overwrote it using a theme override. If you are doing the same, you can use this in your template.php:
If you want to incorporate it into the nodehierarchy module, you can use the attached patch. I didn't post this before because I wasn't sure if you could create panel nodes with different content types (a content type not named "panel") or if you had a content type named "panel" that wasn't actually panel nodes. It should probably be a bit more robust in checking things.
Comment #2
Pillhuhn commentedThanks for your response, jbylsma!
However, I am still confused and I guess the main reason is that I am VERY new to Drupal. I do not feel comfortable with adding code directly, mainly because I have no experience in programming. I did however apply the patch and it seemed to have worked somewhat since I now can create a panel directly from the 'Children' tab.
But I still cannot assign a parent to a Panel Page (I think it worked for Panel Nodes even before the patch). Maybe this is due by my lack of understanding the differences between a panel page and a panel node.
I guess I still need to do a lot more reading... :)
Comment #3
jbylsma commentedI think you already figured out your problem; if you want to hook panels in with Node Hierarchy, you will want to use Panel Nodes. Panel pages exist without a node, and therefore can't really operate with Node Hierarchy (at least, not without some serious work). However, just in case you are still running into problems with Panel Nodes, here are two things I can think of off the top of my head that might be screwing you up:
Comment #4
jbylsma commentedComment #6
user654 commented.