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.
Has anyone tested capturing Content Template configurations in a Feature?
Comment | File | Size | Author |
---|---|---|---|
#3 | featuressupportD6-1130912-1.patch | 5.66 KB | dgtlmoon |
Comments
Comment #1
dgtlmoon CreditAttribution: dgtlmoon commentedI have been thinking about the same thing too +1
Comment #2
jrglasgow CreditAttribution: jrglasgow commentedThe only thing that would be required to make this compatible with Features would be to move the templates from contemplate's own table to the variables, then with Strongarm it would be perfectly features compatible
Comment #3
dgtlmoon CreditAttribution: dgtlmoon commentedSorry I already commited this to D6 head instead of posting here first (My mistake!)
So in otherwords, features has been added to 6.x-1.x dev
Now to check the patch against the D7 head!
Comment #4
dgtlmoon CreditAttribution: dgtlmoon commentedCool so I'm half way there I think, I've got features working, but not with StrongArm integration yet.
So if contemplate_save() used variable_set instead of writing to it's own DB table then you could use StrongArm to set the content templates also? Is that what you mean?
In which case, I'de need to write an update to re-save any current templates
Comment #5
dgtlmoon CreditAttribution: dgtlmoon commentedFeatures support is committed, but here's a patch for adding variable_set/StrongArm support
#1187900: Store settings in variables so we can StrongArm