I've placed the 2.x version of Acquia Marina in my sites/all/themes folder. I've created a sub-theme MYAM in that same folder.
When I enable MYAM, I am not able to see any Theme Settings on the theme (MYAM) configuration page.
I noticed that on the 2.x version, the theme-setting.php uses the acquia_marina_default_theme_settings() function whereas the 1.9 version used phptemplate_settings($saved_settings). The Drupal Theme Handbook says:
The themeEngineName_settings() form is preferred since it allows others to more easily create derivative themes based on your theme.
Could this change in function have anything to do with the disappearing theme settings?
This issue was originally bundled with another issues here: #695132: Upgrade problems
Thanks for any help on this.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen shot 2010-04-07 at 12.39.19 AM.png | 805.48 KB | theeber1 |
| #4 | Screen shot 2010-04-07 at 12.41.31 AM.png | 539.41 KB | theeber1 |
Comments
Comment #1
mradcliffeConfirming this issue as well.
Comment #2
markabur commentedsame here... i don't actually need the settings to be available in my subtheme, i just want the "read more" links to show up in my subtheme. they show fine in acquia marina, but do not show up at all in my subtheme. $links is getting created but the title is empty.
i know there is a core patch somewhere that may address this, but i'm hoping to fix it inside my subtheme somehow (the whole reason for creating the subtheme in the first place was to avoid hacking core or contrib!).
Comment #3
markabur commentedok, following the theme-settings.php example in zen, i now have a working acquia_marina sub-theme settings page, and "read more" reappears as well. this goes in theme-settings.php in my subtheme:
Comment #4
theeber1 commentedI copy the theme-settings.php file to the sub-them directory and changed all the lines with reference to: function acquia_marina_default_theme_settings() and replaced the words acquia_marina with my sub-theme name.
example:
my sub theme name is "sub_acquia_theme"
the lines you are looking for start with function
function acquia_marina_default_theme_settings()
I replaced them to:
function sub_acquia_marina_default_theme_settings()
where sub_acquia_marina is your sub theme name.
Then I when to administer-themes-configure and I was able to see all the advance settings... where you can turn on the breadcrumbs, and the read more links....
note: there are several lines to change...
Comment #5
carlitus commentedsubs
Comment #6
stephthegeek commentedI think this is then a support/documentation issue when subtheming, rather than a theme bug?
Comment #7
markabur commentedYeah, or at least a duplicate of this:
#481142: Theme settings forms are not inherited by sub-themes
Comment #9
atmospherix commentedI'm having this same problem in 3.1 - have tried the theme-settings.php fix above but that doesn't seem to do anything.
Comment #10
goody815 commented