Closed (duplicate)
Project:
Front Page
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Sep 2011 at 08:56 UTC
Updated:
15 Mar 2017 at 07:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
timhilliard commentedThis sounds like an awesome idea. When I get some time I'll look at doing this.
Cheers,
Tim
Comment #2
anonwhat needs to be done I think is:
Comment #3
Anonymous (not verified) commentedAny progress for this request?
Comment #4
Letharion commentedhttp://drupal.org/node/73178
Comment #5
simon georges commentedComment #6
jelle_sPatch uses ctools to manage the configuration objects, making them exportable with features.
Bonus (but not added to this patch):
Possibility to switch to CTools Export UI in the future to reduce the amount of code in the module.
Comment #7
prabeen.giri commentedThere is the patch which uses variables table to store all the settings. That means it can be exported as the features using strongarm and features module.
Patch Issue Link
https://www.drupal.org/node/2070701
Comment #8
jelle_sI'm aware of that issue, but since the maintainers switched from using variables in the 1.x branch to their own table in the 2.x branch, I assume they had their reasons and most likely will not be willing to go back to the old architecture. Also, with strongarm, the user has to know what variables to export. With this approach it is much clearer what to export to your feature.
Comment #9
chris burge commentedPatch #6 tests successfully for me. I enabled Front Page, added configuration, exported configuration with Features, imported configuration into another site, and verified deployment. The only gotcha is that a site builder will need to remember to use Strongarm to grab the 'front_page_enable' variable. It'd probably be a good idea to add something to the README.txt.
Comment #10
marcus_clements commentedThis patch works well for me.
Comment #11
weri commentedThe patch works as expected. It would be great to have it committed.
This solves also the need to switch form a table to variables (#2070701: Variables table instead of the custom front_page table.). Personally I prefer a table instead to fill the variables table more and more.
Comment #12
rpataca commentedAny update on getting this committed? Would love to have this!
Patch no longer works for the current version :(
Comment #13
estoyausenteI'm not sure if this patch is necessary. With the patch committed in https://www.drupal.org/node/2070701 the config can be exported using features + strongarm.
Comment #14
rpataca commentedHmm - all i see in the feature is
$strongarm->name = 'front_page_enable';
$strongarm->value = 1;
None of the settings were exported - not seeing where in features I can tag specific settings?
Comment #15
estoyausenteYou should see some variables like front_page_role_$rid using the last dev version.
Comment #16
jiv_e commentedResolved by https://www.drupal.org/node/2070701.