Closed (duplicate)
Project:
Aurora
Version:
7.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2014 at 18:22 UTC
Updated:
9 Feb 2015 at 16:13 UTC
Jump to comment: Most recent
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
Comment #1
marcvangendI 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.Comment #2
iamcarrico commentedClosing as this is an issue with the generator, and issues should be on GitHub.
Also: It is fixed in this commit.