When the empty "settings" section of file ".info" raises error in template.php, line 441.
See patch for details.
| Comment | File | Size | Author |
|---|---|---|---|
| template.php_.patch | 880 bytes | stokito |
When the empty "settings" section of file ".info" raises error in template.php, line 441.
See patch for details.
| Comment | File | Size | Author |
|---|---|---|---|
| template.php_.patch | 880 bytes | stokito |
Comments
Comment #1
johnalbinWhy would you have an empty settings[] section of the .info file?
Comment #2
stokito commentedI don't need its in my subtheme. This is non standard section.
Comment #3
johnalbinBeing able to add custom theme settings' form elements is a standard D6 api. But there is no standard method to add default values for those form elements.
The lines you removed from the .info is the “standard” for Zen sub-themes. And I'm hoping to get this method added into Drupal core for D7.
If you add them back in, the PHP error goes away.
Comment #4
johnalbinOk, someone else I know got bit by this.
Fixed in CVS. http://drupal.org/cvs?commit=132228
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.