I enjoy this module a lot and would love to be able to have Ctools load specific versions of Fieldable Panel Panes using the _fieldable_panels_panes_load_entity() call in a similar way that the uuid.module is currently supported. The basic pattern is that a $subtype_name is passed with the pattern "vid:234" which will go ahead and load that version instead of the current version.

Attached is a patch that changes this.

CommentFileSizeAuthor
fieldable-panel-panes-load-vid.patch665 bytespopulist

Comments

populist’s picture

This works great for me in testing and only really takes effect is someone calls that function with a $pane->subtype of vid:[number] which doesn't happen normally, but is necessary for my integration. The "work" here is to make sure this is the only place that this needs to be modified in the code to suppport this loading pattern.

merlinofchaos’s picture

Status: Active » Needs review

Needs review! :)

merlinofchaos’s picture

Status: Needs review » Fixed

Needs review! :)That's a really straightforward one. Committed, pushed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.