Attached is a patch that allows you to expose nodes as ctools content types via their UUID (as opposed to the nid).

For example, this allows you to attach a node to a panel, export both the panel and node (using uuid_feature) while keeping the association between node and panel when installing the feature into new sites. There are likely other use cases for this sort of thing outside of features.

Comments

phayes’s picture

Status: Active » Needs review
StatusFileSize
new9.46 KB

And attached is the patch....

auth’s picture

Thank you for a great patch. I have modified the patch to support the same functionality as ctools node content type regarding translation sets. That is if a pane is linked to a translation set source, any translation of that source will be shown to the user.

I do not know if the change with not using db_rewrite_sql in node_get_by_uuid and node_get_by_revision_uuid is a bad idea, but it is required to be able to fetch the translation source node using the translation source uuid.

phayes’s picture

StatusFileSize
new686 bytes

Attached in an additional patch that fixes a bug whereby the UUID does not stick around when the pane is re-edited.

Status: Needs review » Needs work

The last submitted patch, node.inc (1).patch, failed testing.

skwashd’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

Drupal 6 core is no longer supported. We are no longer supporting 6.x-1.x versions of this module. I am closing this issue as won't fix.