Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
All of my blocks disapear when I switch to the goofy theme; including my navigation block. I can find no way to get the blocks back.
If I go to configure the goofy theme, I get this error:
>
Fatal error: Call to undefined function form_checkbox() in /opt/lampp/htdocs/drupal-4.7.0-beta3/themes/engines/goofy/goofy.theme on line 9
<
My environment:
Debian 3.1 unstable
Drupal 4.7.0-beta3
Xampp w/PHP5.1
Comment | File | Size | Author |
---|---|---|---|
#15 | goofy.theme | 14.31 KB | KenMasters |
#9 | goofy_forms_api_0.patch | 6.12 KB | Heine |
#6 | goofy_forms_api.patch | 5.95 KB | Heine |
Comments
Comment #1
TDobes CreditAttribution: TDobes commentedThe goofy theme is not yet available for Drupal 4.7.
Comment #2
TDobes CreditAttribution: TDobes commentedThe goofy theme is now available for Drupal 4.7.0beta5 and newer.
Comment #3
chrisd CreditAttribution: chrisd commentedI get a similar error running: v 1.22 2006/03/05 on Beta6
Fatal error: Call to undefined function: form_checkbox() in E:\DomZeus\getdialupcom2017\wwwroot\themes\goofy\goofy.theme on line 16
Thanks,
Christophe D
Comment #4
Heine CreditAttribution: Heine commentedgoofy_settings contains a call to form_checkbox, which leads to the error described in #2 and form_textfield; both 4.6 form functions. If I have time later today, I'll update this to 4.7 forms api. (But don't hold back on the patches).
Marked http://drupal.org/node/54137 a duplicate
Comment #5
Heine CreditAttribution: Heine commentedI'm done, but I ran into an issue with theme_get_setting, using $theme_key to get settings. Though a workaround is easy, I'll won't attach a patch until I've sorted out the theme_get_setting issue.
Comment #6
Heine CreditAttribution: Heine commentedThanks to chx, the problem is solved: thou shallt not call theme_get_settings! Use theme('get_settings', 'the_setting_to_retrieve').
I've converted goofy_settings to forms api, added a file upload for the secondary logo, clobbered all remaining theme_get_settings and an occasional variable_get.
One of the more outrageous things I've done is to change 'Use default secondary logo' to 'Use a secondary logo'. The default logo will be used if the textfield Path to custom secondary logo is empty.
Note: theme('get_settings') doesn't have the 'default' facility of variable_get, but returns NULL if a variable doesn't exist.
(patch is from the goofy directory)
Comment #7
Heine CreditAttribution: Heine commentedthat should be get_setting (no s) in the post above.
Comment #8
Heine CreditAttribution: Heine commentedI'm flooding this issue a bit, but there's still a problem with theme specific settings when Goofy is not the active theme. I'll look into that later.
Comment #9
Heine CreditAttribution: Heine commentedSimilar to the above patch but removed all theme('get_setting') code from goofy_settings. Called theme_get_settings('goofy') instead. This fixes the problem when another theme is active during goofy configuration.
Comment #10
boelkstoff CreditAttribution: boelkstoff commentedhello.
I really like your theme.
Could you please (when you have time) make it work with 4.7RC1.I
I just did a new installation and it seems not to work.
Fatal error: Call to undefined function: theme_onload_attribute() in /home/www/web2_103/html/zps/drupal/themes/goofy/goofy.theme on line 43
Comment #11
Heine CreditAttribution: Heine commented@previous poster; this thread concerns updating goofy to 4.7
Comment #12
boelkstoff CreditAttribution: boelkstoff commentedhello.
I just downloaded your latest version for drupal 4.7RC1.
When I active your awesome theme and click on configure I get the following error message:
Fatal error: Call to undefined function: form_checkbox() in /home/www/web2_103/html/zps/drupal/themes/goofy/goofy.theme on line 16
Comment #13
Heine CreditAttribution: Heine commented@previous poster. Please test the patch.
Comment #14
jase951 CreditAttribution: jase951 commentedhttp://drupal.org/files/issues/goofy_forms_api_0.patch
patch seems to work with drupal-4.7.0-rc2.
Comment #15
KenMasters CreditAttribution: KenMasters commentedattach patch in goofy.theme, for drupal 4.7 ;-)
Comment #16
Heine CreditAttribution: Heine commentedI'll make a new one later, clearly seperating new functionality (logo upload) and bugfix.
Comment #17
Alauddin CreditAttribution: Alauddin commentedHi,
I just installed the patch and it seems to work fine. My question now is in 'blocks' section I have only
left sidebar and right side bar....
NO - Content option?
How can I get blocks to display in the content area?
Sorry if its an obvious question but not able to figure out.
Thanks
Al
Comment #18
Heine CreditAttribution: Heine commentedSorry, there's no content region for blocks in goofy atm
Comment #19
peddecke CreditAttribution: peddecke commentedThe patch works good here, but why isn't the new theme delivered with the theme as listed on "themes for 4.7.x"?
Comment #20
ton_cut345 CreditAttribution: ton_cut345 commentedHow to open the goofy.theme? i've tried double clicking it and i goes to windows themes. i've tried open with option still i can't open it. anyone help?..
Comment #21
pixor CreditAttribution: pixor commentedWhere do I find the patch? I've looked in CVS at head, but it's obviously not the right place. I'd like to use the patch to fix the Fatal error: Call to undefined function: form_checkbox() problem.
Thanks.
Comment #22
pixor CreditAttribution: pixor commentedOK, silly me, I see the patch now. It's been a long day, honest!
Comment #23
Linulo CreditAttribution: Linulo commentedOld 4.6. version is still up for 4.7. theme download and the patch in this thread is still not submitted to CVS. Please fix.
Thank you.
Comment #24
walterbyrd CreditAttribution: walterbyrd commentedSecondary logo does not appear in all pages.
Also, I have modified the goofy theme to a blue color. I would be glad to contribute it, but none of the maintainers seem interested.
synet-consulting.com
Comment #25
Arthur2006 CreditAttribution: Arthur2006 commentedI would like to know how to get a blue color in the Goofy theme. I like green.
greetings
Arthur
Comment #26
Mark Theunissen CreditAttribution: Mark Theunissen commentedThanks so much for that patched .theme file, saved my day!! :)
Comment #29
fgmI removed the 4.6 code in the D6 version too, and fixed the theme for D6, but it seems that the patched 4.7 version in #15 includes an uploaded secondary logo, while my D6 version only includes the typed-in name for the logo. It would be nice to also include this upload facility in the D6 version (http://drupal.org/node/255645)
Comment #30
fgmThere is no longer any 4.6 code in either 6.x version.
Comment #31
fgmProblem no longer applies in DRUPAL-6-2 branch: the settings code is now in theme-settings.php