I'm having trouble adding theme settings in a Corona flavored sub theme.

Uncommenting the example (or adding other settings) doesn't load in the subtheme's settings page.

$form['auroraco_example'] = array(
    '#type'          => 'checkbox',
    '#title'         => t('auroraco sample setting'),
    '#default_value' => theme_get_setting('auroraco_example'),
    '#description'   => t("This option doesn't do anything; it's just an example."),
  );

Pasting the same example code in the Aurora parent's theme-settings.php works fine.

I feel like I'm missing something really basic.

Comments

marcvangend’s picture

I had the same problem, until I noticed that the subtheme's settings file was named theme_settings.php, with an underscore. Rename the file, changing the underscore to a dash (theme-settings.php) and you should be fine.

iamcarrico’s picture

Status: Active » Closed (duplicate)

Closing as this is an issue with the generator, and issues should be on GitHub.

Also: It is fixed in this commit.