Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/177269942075392000
deleted 1 characters in body
Source Link
googletorp
  • 35.4k
  • 10
  • 69
  • 109

I have got a Feature consisting of a few boxes (http://drupal.org/project/boxes) and a context which puts those boxes in the right regions. That works if I install drupal and my theme and activate the feature.

But it does not work if i install it using drush site-install and my installation profile which contains my theme and my feature. I guess this is because the theme gets activated after the feature and so the feature does not know the regions while activating. What would you recommend to solve this? I could remove my feature as a dependency and activate it manually after my theme in myprofile.install, but is there a "cleaner" approach?

I have got a Feature consisting of a few boxes (http://drupal.org/project/boxes) and a context which puts those boxes in the right regions. That works if I install drupal and my theme and activate the feature.

But it does not work if i install it using drush site-install and my installation profile which contains my theme and my feature. I guess this is because the theme gets activated after the feature and so the feature does not know the regions while activating. What would you recommend to solve this? I could remove my feature as a dependency and activate it manually after my theme in myprofile.install, but is there a "cleaner" approach?

I have got a Feature consisting of a few boxes and a context which puts those boxes in the right regions. That works if I install drupal and my theme and activate the feature.

But it does not work if i install it using drush site-install and my installation profile which contains my theme and my feature. I guess this is because the theme gets activated after the feature and so the feature does not know the regions while activating. What would you recommend to solve this? I could remove my feature as a dependency and activate it manually after my theme in myprofile.install, but is there a "cleaner" approach?

Source Link
phaer
  • 79
  • 4

Block-Placement in a Feature via Context

I have got a Feature consisting of a few boxes (http://drupal.org/project/boxes) and a context which puts those boxes in the right regions. That works if I install drupal and my theme and activate the feature.

But it does not work if i install it using drush site-install and my installation profile which contains my theme and my feature. I guess this is because the theme gets activated after the feature and so the feature does not know the regions while activating. What would you recommend to solve this? I could remove my feature as a dependency and activate it manually after my theme in myprofile.install, but is there a "cleaner" approach?