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.
Hi - this is really a great module!!
Only small problem I have found is that a full node is shown even when teaser is set to true eg
print dashboard_get_node(1, TRUE, FALSE, TRUE);
will print the whole node with nid = 1 eventhough TRUE is stated for teaser
Best wishes,
Lennart Kiil
Comments
Comment #1
lennart CreditAttribution: lennart commentedAlso I am getting this error:
Invalid argument supplied for foreach() i /home/www/modules/dashboard/dashboard.module on line 172
But this seems to be related to the nodelist function
Comment #2
lennart CreditAttribution: lennart commentedthe problem is more general it seems --
TRUE and FALSE statements get ignored, regardless if they are concerned with teaser, page or links.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedLooking into this. Fix is probably simple.
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedYea, stupid simple fix. Took me freakin' hours to spot, too, because it just wasn't really visible. I knew what it was supposed to be doing, and that's all I could see.
Modify line 167 from:
to
(Fix committed to HEAD and tagged for 4.6 -- will be available on next release run)
Comment #5
lennart CreditAttribution: lennart commentedThanks merlinofchaos - it works like a charm now! closing the issue