Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First, this is an amazing module. I just can't describe how happy I am to see this working. Are you planning to support Panel Nodes? I've tested it and tried to export a panel node and only the standard fields are exported. Would this be possible?
Thanks
Comments
Comment #1
zroger CreditAttribution: zroger commentedI don't have any immediate plans to implement panel nodes, but in case you want to give it a try, here's the necessary info. For an example of these hooks, take a look at uuid_features/includes/modules/taxonomy.inc.
There are 3 hooks exposed by the uuid_node component for adding to the exported node.
hook_uuid_node_features_export_alter(&$export, &$pipe, $node)
Called from
hook_features_export()
, allows modules to modify the export and pipe arrays. Generally this is only necessary if you need to add dependencies (modules) or chain together features using the $pipe array.hook_uuid_node_features_export_render_alter(&$export, $node, $module)
Called from
hook_features_export_render
. $export is the node as it will be exported. $node is the fully loaded node object. Modify $export to contain the minimal amount of data necessary for a node save. Bonus: if you export the node in the form expected by node_save() then you don't need to implement the next hook.hook_uuid_node_features_rebuild_alter(&$node, $module)
Called right before node_save() from
hook_features_rebuild
. Last chance to modify the node before node_save().Comment #2
lelizondo CreditAttribution: lelizondo commentedI'll give it a try and report back. Thanks.
Comment #3
DamienMcKennaWould #920966: Add support for all $node attributes help?
Comment #4
lelizondo CreditAttribution: lelizondo commentedThis definitely helps because now the whole node object is loaded. Honestly, I haven't had time to check this out, but looking through the panels tables I see two joins
I don't even know if being did an int would represent a problem to make this feature request
Comment #5
ezra-g CreditAttribution: ezra-g commentedmerlinofchaos has expressed interest in making this possible, and having support built into Panels would make it possible to include default content in an exported Feature without having to alter the export.
This would be great for the Conference Organizing Distribution, where we'd like to ship with default content in a Panels homepage :).
Comment #6
wizonesolutionsThis would still be interesting. Just updating the version since I'm fairly sure it wouldn't happen in 6.x-3.x-dev anymore.
Comment #7
pedrospSo as far as I understand, there is no actual way to link an existing node with his UUID instead of his NID, right ?
I am using latest dev version from panels and UUID features, but no luck at all.
There was once a sandbox project related but empty now.
Any tips you guys about how to link node content through UUID in panels ?
Thanks.
Comment #8
inversed CreditAttribution: inversed commentedFor what it's worth, you can still access the Hydra Sandbox UUID Panel Node project from the Git repo by accessing the 7.x-1.x branch instead of the master branch.
To get there, from the Sandbox page:
I'm not sure what happened here to result in emptying the master branch and, effectively, pulling the project for many people.
Comment #9
DamienMcKennaPanel Nodes is a deprecated module, I don't see any reason to continue this work?