Hello and thank you so much for this wonderful piece of engineering, a major part of the deployment machinery for our Drupal stack.
I'm struggling with the following.
We have inherited a site with ten or so features (as in feature modules) already in place and working beautifully.
One of the existing features was captures the configuration settings, blocks, Views and all the rest of it around a set of public commenting functions.
We have recently installed and configured on our test system additional commenting functions based on the Comment Notify module and are ready to "featurise" these.
Logically these db configurations belong in the Comment feature previously created.
So the question is: can we easily do this by ADDING COMPONENTS to the existing Comment feature? Or do we need to create a separate Comment#2 feature for this?
If the latter is the case, would it be feasible (and easy) to MERGE two features into a single feature? Or all feature modules into a single one?
Any hints much appreciated!
Comments
Comment #0.0
RdeBoerClarified.
Comment #1
RdeBoerOops.... didn't look very closely did I?
Just realised you can just hit the "Recreate" link or tab, open the fieldsets and check the tickboxes.
Sorry about the noise, but then I may not be the only one that has this newbie foible.
Comment #1.0
RdeBoerAdd question about merging features.
Comment #2
marty.true CreditAttribution: marty.true commentedSo after checking the tick boxes to add the new components, then what? I tried regenerating after adding but it does not keep what I added. I also tried downloading and the downloaded files did not keep what I added either. So how do you get the existing feature to "save" the new components that you add???
Comment #3
graysonecooper CreditAttribution: graysonecooper as a volunteer commentedThen you need to install the features file that downloaded. There are a couple of approaches for this.
1) You can unzip the file and insert into the module directory where you first installed the feature (usually under sites/all/modules), or, if you're lazier...
2) Clear out the module directory of the feature (again under sites/all/modules), then install the feature as you would a typical module (under admin/modules).
You may need to clear caches to update your site, but it will display on the admin/structure/features menu with your current feature's status.