trying to use this module with Drupal 7.22 w/ CTools 7.x-1.3.

Got a node type with a reference, trying to do virtually the same thing you've done in http://youtu.be/BZxoUzIE5M4 by having a node, and adding its 'child' node from a link within. Virtually all of the same steps.

One thing in particular, the option to "Create Node with Contextual Administration" as per the video is simply not there as an option. We did try the dev version as well, and it didn't set the node reference or hide the node reference widget - but it had a dev message for "Create node with reference to xxxxxxx".

If I set to simply create node within the page manager - I get this error:
Notice: Undefined index: story in context_admin_node_add_wrapper() (line 245 of /....../context_admin/context_admin.module).
Notice: Trying to get property of non-object in context_admin_node_add_wrapper() (line 245 of /......./context_admin/context_admin.module).

The module does seem to add the contextual admin option when creating the page, as well as it seems to be adding the variant type itself.

Comments

eclipsegc’s picture

Status: Active » Postponed (maintainer needs more info)

ok,

1.) try using 7.x-1.2
2.) I'm unsure if you're using nodereference or what here. need more info. 1.2 includes an entityreference version as well, so both are possibilities.

Based on your errors it looks like you asked to create a story node type, but that that doesn't exist. That's totally a guess.

Eclipse

nimzie’s picture

I dropped module version 7.x-1.2 in place. I can now pick a reference, but it's different than the video. It does allow creation of the node, but does not hide the reference field, nor are the page redirections working after saving the new child node.

The field is using entity reference. Does this mean I should try with nodereference?

Please let me know any more information which would help you help us debug.

thank you sincerely,
adam

**Update - I changed this to use nodereference. I now see the Create Node with auto node reference option while configuring the page.
Still I create the page, it shows the nodereference in the child node, and the redirection to the original node isn't working once I save, even though the option is turned on.

Ideally for future compatibility we would revert to using entityreference.

Using 7.x-1.2 now.