[drupal-devel] forms should reflect settings.php hardcodes

Bèr Kessels berdrupal at tiscali.be
Tue Sep 27 09:02:25 UTC 2005


Yet another minor issue, that can lead to Mayr annoyances.
when a setting is set in settings.php, for example the site slogan, one can 
still set that slogan in admin/settings. 
That is strange, and very confusing. A 'hosting provider' such as BygHost, 
might choose to set harcoded footers 'supported by BygHost'. 
Users will be very confused why they changed theyr footer, yet the site does 
not change it.

The field of any setting that is harcoded should best dissapear, or otherwise 
be greyed out. 

Is that possible with the form API?

Ber



More information about the drupal-devel mailing list