I am getting a WSOD on admin/settings/dashboard/widgets. Am working on a clean D6 install with only admin_menu, dashboard, ctools and jquery_ui installed. When I turn on php error messages this is what I get

Fatal error: Call to undefined function drupal_build_form() in /Applications/MAMP/htdocs/playground/sites/all/modules/dashboard/dashboard.admin.inc on line 179

Comments

Anonymous’s picture

Status: Active » Closed (works as designed)

@aschiwi: install the views module and use the 6x-2.0 branch of Dashboard. Views is required and this is listed in the README.txt file.

M

merlinofchaos’s picture

Just as note, if you're using Views' form building stuff, you should probably use ctools' version of it, since you're already requiring CTools content types (I think?) and it's a little more mature than the Views version.

aschiwi’s picture

@techsoldaten: thanks for the quick support. I am using the 6x-2.0 branch. I can find no mention of Views in its README.txt and Views is not listed as a dependency either.

After installing Views I can add widgets on admin/settings/dashboard/widgets as expected. They are not showing up on /dashboard yet, but that might be my fault, I will look through the settings some more.

Anonymous’s picture

Views should be listed as a dependency in the README and in the info file. I will look into that and make sure they are there.

They were only added in the v2 of the module. That's what made me think you were on a v1 release.

After you have added a widget, it will appear on the widget browser. Click on the link for Add More Widgets to find them and add them to your dashboard.

M

aschiwi’s picture

I guess I found the problem. I downloaded dashboard with drush yesterday. Here's the README: http://drupalbin.com/14849 and the dashboard.info: http://drupalbin.com/14850

It looks fine in http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/READ... so I guess this was a drush issue.

Adding widgets works now as well. Thanks :)

stBorchert’s picture

Status: Closed (works as designed) » Needs work

Just for the record: neither the README.txt nor the .info contains informations about a dependency to views.
I've downloaded Version 6.x-2.0.

README.txt:

Required Modules
-------------------
- JQuery UI, Chaos Tools 

Installation
------------

dashboard.info:

package = Drupal.org
dependencies[] = jquery_ui
dependencies[] = ctools

; Information added by drupal.org packaging script on 2010-05-24

Stefan

Anonymous’s picture

@Stefan - *sigh* that is an issue with the d.o packaging script then.

Dependencies were added to the README.txt file here: http://drupal.org/cvs?commit=370778

Dependencies were added to the info file here: http://drupal.org/cvs?commit=370732

Those both happened on Monday.

M

Anonymous’s picture

@aschiwi: yeah, those are not the right files. Here is what is in CVS for the v2 branch:

http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/READ...

http://drupalcode.org/viewvc/drupal/contributions/modules/dashboard/dash...

I love packaging scripts and all their little quirks. It will probably work tomorrow.

M

plopesc’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)