[development] Saving admin settings
Jamie Holly
hovercrafter at earthlink.net
Tue Jun 22 18:16:40 UTC 2010
Also make sure you don't have any #tree=>true in that form. That can
play havoc with system settings forms.
Jamie Holly
http://www.intoxination.net
http://www.hollyit.net
On 6/22/2010 2:05 PM, John Fiala wrote:
> Well, what's the $form like, is the main question. Remember that the
> name of form elements is what gets stored in the variable table, and
> that you need to set the #default_value of the form elements to
> variable_get('name_of_form_element')
>
> On Tue, Jun 22, 2010 at 12:02 PM, Jeff Greenberg<jeff at ayendesigns.com> wrote:
> > Lately, it seems that I'm stumped by what turns out to be 'weak eyes.'
> > Here's another. I have a callback to the function in a module that provides
> > the admin settings form for the module.
> >
> >
> > The form appears just fine, and functions correctly. At the end of my form
> > definition I have the obligatory
> >
> > return system_settings_form($form);
> >
> >
> > The issue is that none of the form data is stored. The form is generic...no
> > submit handler specified.
> >
> >
> > Jeff
> >
> >
> >
>
>
>
>
More information about the development
mailing list