Closed (won't fix)
Project:
Drupal core
Version:
5.1
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2007 at 15:04 UTC
Updated:
21 Jun 2011 at 02:32 UTC
if you have a template using the phptemplate engine,
then by default some options are offered for configuration: logo, slogan etc ...
Unfortunately, if you are not interested by some of default features , you can't remove them by overriding phptemplate_features function.
Let me explain better by using an example.
Let say your template have the name "yellow".
Then in your template.php file you put the function:
function yellow_features() {
return array(
'toggle_logo',
'toggle_favicon',
'toggle_name',
);
}
Unfortunately, such function will just be ignored,
and you'll still have all the default options.
I think the problem rely in system.module near line 1920:
$features = function_exists($themes[$key]->prefix .'_features') ? call_user_func($themes[$key]->prefix .'_features') : array();
when the code is executed, the function phptemplate_features is automatically choosed by default.
Comments
Comment #1
dpearcefl commentedConsidering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.