Active
Project:
Features Extra
Version:
7.x-1.x-dev
Component:
FE Block
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 May 2015 at 22:18 UTC
Updated:
16 Sep 2016 at 18:06 UTC
Jump to comment: Most recent
Comments
Comment #1
liquidcms commentedAs i think primary use of Features is to share functionality across sites (as opposed to just migrating config from dev to live); i'll change this to be a bug.
Comment #2
netw3rker commentedSo, the problem with this is that blocks are stored in a somewhat theme specific way by nature. That means exporting the config of a block would have to be universally applied, which pretty much isn't possible. Consider that Theme A has a region "upper right", but Theme B does not. How would fe_block go about applying the exported configuration to that theme?
I guess you could argue that because block configuration is universal across all themes, and only region can be changed, then the configuration minus the theme regions could be exported, and the region values can be applied separately. This might make sense in your case. Feature A has custom settings minus region info for block system_main. Then Feature B says put system_main in the upper_right region - not directly caring about the custom configuration data.
Thoughts?
Comment #3
liquidcms commentedIn my case i have 6 sites all with sub themes off the same base theme. All with the same regions. Blocks are basically busted in features since it captures blocks on a theme basis (as drupal does it). But the option of allowing a theme placeholder (like default_theme) in the feature would solve this.
Yes, many themes do not have common regions.. but often than not, in those cases, block migration wouldn't make much sense anyway.
Comment #4
circuscowboy commentedThis is the case I am in as well. I am debating to call all the child themes by the same name so this functionality will work but it would also be great to have a solution like "default_theme".
Comment #5
liquidcms commented