Has anyone tested capturing Content Template configurations in a Feature?

CommentFileSizeAuthor
#3 featuressupportD6-1130912-1.patch5.66 KBdgtlmoon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dgtlmoon’s picture

I have been thinking about the same thing too +1

jrglasgow’s picture

The 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

dgtlmoon’s picture

Status: Active » Needs review
FileSize
5.66 KB

Sorry 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!

dgtlmoon’s picture

Status: Needs review » Needs work

Cool 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

dgtlmoon’s picture

Features support is committed, but here's a patch for adding variable_set/StrongArm support

#1187900: Store settings in variables so we can StrongArm