Settings of sub theme (logo, site name, etc.) can be changed, but are not stored despite confirmation message says so. Main theme works fine. Worked previously, but no longer after sub theme file change. Changes of file and directory attributes were not successful.

CommentFileSizeAuthor
#1 DSIM.info1.61 KBjanes_p
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janes_p’s picture

FileSize
1.61 KB
markhalliwell’s picture

Status: Active » Closed (works as designed)

The issue lies with the fact that the theme's settings were saved from the UI. This effectively stores the settings in the DB in the {variables} table (thus ignoring the .info file). All you need to do is remove the variable theme_[theme_name]_settings from the database, where [theme_name] is your sub-theme's machine name (probably "dsim" in this case). The easiest way to do that is to use drush: drush vdel theme_dsmi_settings

janes_p’s picture

Thanks, Mark - for the quick response and for the accurate hint.

Removing the theme settings variable in the DB solved the issue. As I am not (yet) drush proficient, I did it directly in der DB. Just renaming theme directories on the site is obviously not a good idea.

markhalliwell’s picture

Title: Subtheme settings not stored » Sub-theme .info settings are ignored

You're very welcome. Adjusting title to reflect the issue as "stored" implies the using the UI to save in the DB.

dgtlmoon’s picture

Can they be strongarm'ed possibly? - yes in 'theme_YOURTHEME_settings'