Closed (works as designed)
Project:
Features
Version:
7.x-1.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2011 at 03:24 UTC
Updated:
17 Apr 2012 at 17:59 UTC
Please bear with me for this question. How is it possible to have exported feature module download and enable or at least enable required module within it. What I mean is that users don't have to go to the modules section of Drupal and enable the required module but instead when the exported feature module is enabled, it will take care of the rest. I'm 99% this not possible because if it is, normal modules should be able to do that too. But just in case somebody there has a great idea, hence, this question.
Or how can I create an exported feature such that it will enable an existing module?
Comments
Comment #1
firfin commentedPart of this is already possible and used a lot. The automatic enabling of modules already happens (also when you enable 'regular' modules.) When you enable a module it's prerequisites are automatically enabled also.
You can add prerequisites for your Feature using the interface (the dependencies component).
As for the automatic downloading of modules, I haven't seen an UI-based solution for this yet. Using drush for that atm. Apparantly there are a lot of concerns about needed permissions. PHP/Drupal will need to create the files which it will be using later on. I can see some security implications here. ;-)
Comment #2
tim.plunkettConcur with #1.