[support] Extra sitewide variables/configuration - where best to put them?
Gerhard Killesreiter
gerhard at killesreiter.de
Wed May 16 14:15:35 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
jp.stacey at torchbox.com schrieb:
> Hi,
>
>> If you can use variable_get(), why not use variable_set() also?
>
> Thanks for the replies. I'm after something that the client can make use
> of, so it would need to have a decent interface for changing the value:
> otherwise, I might as well hardwire it in the template!
>
> I don't really have time to learn the Form API for this project because of
> deadlines:
IMNSHO you shouldn't been accepting Drupal based jobs if you don't know
form API...
WRT the subject: When I develop a site, there's usually a site specific
module which holds all such extra stuff.
Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGSxIHfg6TFvELooQRAn/+AJ9pYy2R5vAZA5ibkwBJ3SgofAUWrwCgiO0/
VAevUEiMRqRwBk+BzKZam3U=
=G4G3
-----END PGP SIGNATURE-----
More information about the support
mailing list