[development] Drupal 6: Theming system_settings_form() forms

Juraj Chlebec havran at gmail.com
Sat Jan 5 19:22:30 UTC 2008


Hello,

On Jan 5, 2008 8:06 PM, Earl Miles <merlin at logrus.com> wrote:
> The answer to this one is easily divined from the code to
> system_settings_form():
>
> $form['#theme'] = 'system_settings_form';
>
> And therein lines the problem; system settings form has its own theme.
> You'll need to override that after the call.
>

Thank you to point me on this. I have now my form themed with my
function, because i unset $form['#theme'] :-) But it's strange - there
is no theme_system_settings_form() function in system module. Never
mind...

Havran

-- 
Juraj Chlebec aka Havran
http://www.fem.uniag.sk/havran - Havranov mini-blog


More information about the development mailing list