Problem with favicon and theme settings I'm having an insane problem enabling shortcut icon in my theme. When I dpm theme_get_setting('favicon') and theme_get_setting('toggle_favicon') - I get null strings, even though in the Shortcut icon settings section of admin/appearance/settings I have the favicon.ico as the value of the path to custom icon (obviously, the default shortcut icon checkbox is blank). 

This lead me to inspecting other themes setting pages (eg. admin/appearance/settings/bartik) and I found out that all of them display a full set of options while my theme has only one checkbox. See the attachments below:

Bartik theme settings


My theme settings


Comparing the info files does not lead me to any findings.

The following is the info file of my theme:

name = SI 2012
description = SI Startup Theme
package = Core
version = VERSION
core = 7.x

features[] = main_menu

stylesheets[all][] = [...]
scripts[] = [...]

regions[offtop] = Off top
regions[header] = Header
regions[highlighted] = Highlighted
regions[help] = Help
regions[content] = Content
regions[sidebar_first] = Left sidebar
regions[sidebar_second] = Right sidebar
regions[footer] = Footer
regions[offbottom] = Off bottom
OK, problem solved. Removing the features[] line from the theme info kind of reset the settings page. I also read this post about theme settings and providing default values. Problem solved, although I don't quite know why the features[] stuff affected the whole form. Will probably learn with time.