Le lundi 19 juillet 2010 à 14:21 +0200, Adrian Rossouw a écrit : > On 19 Jul 2010, at 2:11 PM, Pierre Rineau wrote: > > > > > I did a lot of stuff in this form, all is OK, the only restriction is I > > added some new fields, and I would like to access them in a submit > > handler so I could do some variable_set(). > > it's probably best to add your own pages to the workflow, and not try to > alter the existing one. > > and, if you want to use it with aegir/drush, you should have it provide > sensible defaults because > we can't automate the form submissions. >
All values have default, don't worry about this, all new stuff is optional. Drupal default values are being pre-filled using a configuration file, easy to update. I mainly added the theme selection among a list of pre-defined ones in this configuration file, because in development phase, we might wan't to work using a clean default theme rather the one currently being developed, since it's moving every hour. In the future, some other stuff will come into this form. I did put all in the default form because they are only a few options, and another screen is just a way to keep the user busy longer. Another stuff is we use the purl module, and want to expose variables such as the default domain name for the sub-domain modifier to be able to work as-is without any further configuration, since it's environment dependent it can't be determined with code (it could, but any aptempt of automatic detection can fail, and user must remains keep the last word about this), adding it within the installation profile is a good thing. Pierre
