Hi,
i'm using CNR and EVA for a restaurant site.
I set it up so the editor can create a new "menu" node, pick from a list of node referenced "dishes", and so publishing a custom menu without touching the views UI.
I packed it all in a feature, but the problem is that CNR correspondence is not included.
Do you have a solution for this?
Thank you
Simone
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | cnr-backport_exportables_patch-1213898-18.patch | 6.41 KB | ergonlogic |
| #17 | cnr-backport_exportables_patch-1213898-17.patch | 6.41 KB | ergonlogic |
| #10 | features-integration-1213898-10.patch | 4.55 KB | bforchhammer |
| features_integration-1213898-4.patch | 1.37 KB | frippuz |
Comments
Comment #1
restyler commented+1 for feature integration. I think this can easily be achieved by exposing cnr table to ctools exportable http://drupal.org/node/928026
Comment #2
damienmckennaSubscribe.
Comment #3
czigor commentedIt's in the dev, please test. Might need to disable and enable the module (but to uninstall definetely not).
Comment #5
czigor commentedSorry, my bad. Thanks for the patch, it's committed.
Comment #6
kalabroUnfortunately I can't see how it works. I've created feature with one enabled CNR preset but all what it done is deleting record from CNR table.
Ctools 7.x-1.0-rc1
CNR 7.x-4.x-dev
Comment #8
kalabroSo maybe status is not fixed?
Comment #9
bforchhammer commentedI can confirm that this isn't working properly. CNR settings are exported to the feature fine, but when "reverting" the feature it simply deletes all settings...
The ways ctools exportables work, the "deleting settings from the database" part is probably fine, if the module loads settings from code instead. Maybe that part is missing?
Comment #10
bforchhammer commentedAttached patch moves all configuration-related loading/saving over to ctools. This fixes feature reverting etc. for me.
Comment #11
Matthew Davidson commentedWorks for me so far. Thanks.
Comment #12
czigor commentedCommitted, thanks!
Comment #13
bforchhammer commentedGreat, thank you!
Comment #14
bforchhammer commentedDidn't mean to change the status.
Comment #16
ergonlogicIt would be great to see features support in the 6.x branch :)
Comment #17
ergonlogicThe attached patch works for me.
Comment #18
ergonlogicFixed whitespace error