I have installed and tried to use the dashboard module, but I must be doing something wrong..

If I create a new dashoard node as "admin", the content of the page looks ok form me, but for
visitors on the site, the 4 "areas" shows just n/a instead of any content.

I have tried to set permissions but there seems to no way to set view or access permisssions on
dashboard nodes?

Comments

merlinofchaos’s picture

Assigned: Unassigned » merlinofchaos
Category: support » bug
Status: Active » Fixed

Ok, it appears I misunderstood how check_markup() is used and thus the upgrade broke slightly.

dashboard.module, line 171-174 currently reads:

  $left = check_markup($node->dashboard_left, $node->format, true);
  $right = check_markup($node->dashboard_right, $node->format, true);
  $top = check_markup($node->dashboard_top, $node->format, true);
  $bottom = check_markup($node->dashboard_bottom, $node->format, true);

Should read:

  $left = check_markup($node->dashboard_left, $node->format, false);
  $right = check_markup($node->dashboard_right, $node->format, false);
  $top = check_markup($node->dashboard_top, $node->format, false);
  $bottom = check_markup($node->dashboard_bottom, $node->format, false);

Fix checked into HEAD. You can download the new one or make that change yourself fairly trivially.

gabriella’s picture

Title: Problem accessing dashboard nodes » Works like a charm now ;-)

Thanks for the quick response!

/G

merlinofchaos’s picture

Title: Works like a charm now ;-) » Problem accessing nodes

Changing title back. I hate that about project module =)

jaarong’s picture

I'm having this same problem and downloaded today. It only does this if I am anonymous, if I'm logged in, I see everything normally.

merlinofchaos’s picture

subnet_rx: Are you sure you're using the newest version of Dashboard? With Drupal 4.7 or 4.6?

jaarong’s picture

Fixed using the methods indicated above, but I'm guessing since I downloaded the file from drupal today that the file hasn't been updated.

merlinofchaos’s picture

Oh it was fixed; I just forgot to tag it for 4.7, so only the CVS version had the fix. Sorry about that.

Anonymous’s picture

Status: Fixed » Closed (fixed)