[support] Extra sitewide variables/configuration - where best to put them?
sessy
sessy at citromail.hu
Wed May 16 11:16:31 UTC 2007
AFAIK you can call variable_get() from the template.php file, than use http://api.drupal.org/api/5/function/_phptemplate_variables to "inject" the data.
s
On Wed, 16 May 2007 09:53:15 +0100
J-P Stacey <jp.stacey at torchbox.com> wrote:
> Hi,
>
> We're building a site for a client that's taking donations on a
> rolling basis. We'd therefore like to have e.g. the running total of
> donations stored in some centralized place that the client can
> update, and I was wondering where would be the right place to put
> that.
>
> Any ideas? Extra input fields on admin/settings/site-information
> would feel right, but I'm not sure how to hook into that or if so how
> to get at the additional content from within PHPTemplate.
>
> Best regards,
> J-P
> --
> [ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list