Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2006 at 15:21 UTC
Updated:
25 Apr 2006 at 17:31 UTC
in my themes template.php file:
function phptemplate_settings(){
$settings = variable_get( 'theme_esjing_settings', array());
$form['foo'] = array('#type'=>'textfield','#default_value'=>$settings['foo']);
return $form;
}
the function phptemplate_settings is neved called on admin/themes/settings/esjing .
or am i wrong?
| Comment | File | Size | Author |
|---|---|---|---|
| patch_17.txt | 618 bytes | oscnet |
Comments
Comment #1
oscnet commentedpatch worked for me.
Comment #2
oscnet commentedhttp://drupal.org/node/49703
Comment #3
killes@www.drop.org commentedapplied
Comment #4
heine commentedSorry to reopen,
The patch doesn't work when you're not editing settings of the active theme; unfortunately a new issue was opened http://drupal.org/node/57676.
I also think it should be a feature request, not a bug-report; it seems that 'engine'-themes only support engine-specific settings, not theme specific settings.
Comment #5
killes@www.drop.org commentedreverted. Please continue discussion in http://drupal.org/node/57676
Comment #6
(not verified) commented