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?

Files: 
CommentFileSizeAuthor
patch_17.txt618 bytesoscnet

Comments

oscnet’s picture

Status: Active » Needs review

patch worked for me.

oscnet’s picture

killes@www.drop.org’s picture

Status: Needs review » Fixed

applied

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 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.

killes@www.drop.org’s picture

Status: Active » Fixed

reverted. Please continue discussion in http://drupal.org/node/57676

Anonymous’s picture

Status: Fixed » Closed (fixed)