I would like to specify some variables (like username, password, initial theme, ...) in 'Create site' form and then use in installed site. How is it possible?
I use CKK fields in site content type to save entered values.
I would like to specify some variables (like username, password, initial theme, ...) in 'Create site' form and then use in installed site. How is it possible?
I use CKK fields in site content type to save entered values.
Comments
Comment #1
anarcat commentedNormally, this would be done through an install profile. Now if you want those *customizeable*, it's harder: you could write a module that would collect those CCK field values and pass them to the backend, which would write them to settings.php. But that's a bit of a hack.
In Drupal 7, the install profiles will be redone so that things like that are possible, I hope it will alleviate the need for us to take care of this stuff.
Comment #2
naurisr commentedComment #3
naurisr commentedHere is a post of how to do this
http://groups.drupal.org/node/97039
Comment #4
naurisr commentedhttp://www.migueljacq.com/content/developing-aegir-extending-aegir-and-c...