Closed (fixed)
Project:
Nokia Mobile Theme
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Mar 2010 at 10:59 UTC
Updated:
25 Mar 2010 at 18:50 UTC
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 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 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.