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.
Follow stores links in its own database table. It would be great if this could be made exportable with Features (or just changed to use the variable_{set,get,del} functions, as then Strongarm could be used).
Comment | File | Size | Author |
---|---|---|---|
#15 | follow-features-exports-1184896-15.patch | 7.2 KB | jhedstrom |
#14 | 1184896-follow-features_support_14.png | 14.79 KB | johnnydarkko |
#9 | 1184896-follow-add-ctools-export-9.patch | 7.03 KB | rypit |
#4 | 1184896-follow-add-ctools-export.patch | 6.3 KB | jec006 |
#2 | 1184896-follow-add-ctools-export.patch | 6.32 KB | jec006 |
Comments
Comment #1
ezeedub CreditAttribution: ezeedub commented+1
Comment #2
jec006 CreditAttribution: jec006 commentedHere is a patch which adds ctools export integration so that the settings can be exported through features.
Comment #3
jec006 CreditAttribution: jec006 commentedMarking as needs review.
Comment #4
jec006 CreditAttribution: jec006 commentedHere is a second patch to make this work for older versions of drush make. Just removed a/ and b/
Comment #5
RobLoachDefinitely would be nice to have Features support here!
Not sure about depending on CTools for the module. Maybe have it check if the module is enabled first?
Comment #6
jec006 CreditAttribution: jec006 commentedah, yes, that makes sense rob - i can try to re roll the patch
Comment #7
RobLoachAre we just changing the field name from name to machine_name? Do we need the additional field for this?
Comment #8
mrfelton CreditAttribution: mrfelton commentedA lot of code got added to my feature, and after installing on another copy of the site, it's showing as being in its default state, but non of the follow links that I enabled are actually enabled, and the links are not set.
Comment #9
rypit CreditAttribution: rypit commentedAttached is a patch based on #4 that adds ctools export functionality if ctools exists, without adding ctools as a dependency.
Comment #10
rypit CreditAttribution: rypit commentedComment #11
mpgeek CreditAttribution: mpgeek commentedI was able to get an export of the follow links to install as a bulk_export module, but I'm not seeing anything in the features 2.x UI. Is there another step to get it to work with Features? Or is this how it is intended at this point?
Comment #12
UTAN_dev CreditAttribution: UTAN_dev commentedI have two questions:
1) I'm having trouble applying the patch at #9. I'm using Follow 6.x-1.5. Here's the output:
This is my first time patching a module. What am I doing wrong?
Thanks!
Comment #13
johnnydarkko CreditAttribution: johnnydarkko commented@UTAN_dev - The proposed patches applies to the 7.x-1.x version of the module... usually 7.x patches aren't compatible with 6.x versions of modules.
Comment #14
johnnydarkko CreditAttribution: johnnydarkko commentedApplied the patch from #9 to 7.x-1.x-dev (April 30, 2013, ac3b3c).
Patch applied with no problems, was able to export the variables and port them into a fresh site with no problems!
The variables are prefixed with a "0_" is that something that can be addressed? Not very important, but doesn't seem like a clean interface either:
Also, a 7.x-2.x reroll would be awesome!
Comment #15
jhedstromHere is a reroll for 2.x. This works in my local testing. I also removed the
0_
from the site-wide exports, user-specific exports could still happen with a pre-pended uid.Comment #16
AstonVictor CreditAttribution: AstonVictor as a volunteer and at DevBranch commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks