Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have installed the Nokia Mobile Theme along with the Acquia Prosper and Fusion Theme.
When I try to configure the Nokia Mobile Theme I get an error: Cannot redeclare phptemplate_settings() in theme-settings.php, line 66.
It appears the that hook_theme_settings function is named phptemplate_settings() (the previous name nokia_mobile_settings() is commented out).
If I change the name of this function to nokia_mobile_settings(), the error goes away.
Comments
Comment #1
atrasatti CreditAttribution: atrasatti commentedHi, thank you for reporting this, I will look into it. Function naming in Drupal themes is a bit tricky sometimes, in theory it's legal to call it phptemplate_settings, but I will see if I can make it work as nokia_mobile_settings as the functionality should be the same.
Comment #2
atrasatti CreditAttribution: atrasatti commentedThis is fixed in CVS. If you could try it, I would appreciate, although the only change is, as you had suggested, to change the function name. I tested with your same set of themes and plugins and works fine for me, now.
CVS commit is #340210.