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']);

the function phptemplate_settings is neved called on admin/themes/settings/esjing .
or am i wrong?

patch_17.txt618 bytesoscnet


oscnet’s picture

Status:Active» Needs review

patch worked for me.

oscnet’s picture’s picture

Status:Needs review» Fixed


Heine’s picture

Status:Fixed» Active

Sorry to reopen,

The patch doesn't work when you're not editing settings of the active theme; unfortunately a new issue was opened

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.’s picture

Status:Active» Fixed

reverted. Please continue discussion in

Anonymous’s picture

Status:Fixed» Closed (fixed)