Cannot get this module to work.

icenogle - November 15, 2005 - 20:20
Project:Dashboard
Version:4.6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:merlinofchaos
Status:closed
Description

I'm pretty new to Drupal, but I have succeeded in getting quite a few modules to work.

After installing, I'm simply tying a 'hello world' kind of thing.

I created a story. The story's NID is 8.
Then I created a dashboard, title: A Dashboard
Then I put this code in the "TOP:" section of the dashboard:

<?php
print dashboard_get_node(8);
?>

When I preview, I get what is probably the right thing:

A Dashboard
This is a story.
Submitted by icenogle on Tue, 11/15/2005 - 3:48pm.
Here is my story.
left

However, when I submit the change and go home, I get this:

A Dashboard
Dashboards have no teaser, sorry.
add new comment

Obviously this is working for some people. What am I doing wrong?

#1

merlinofchaos - November 15, 2005 - 20:24
Assigned to:Anonymous» merlinofchaos

Your home page is pulling the dashboard up as a teaser; I assume your home is the default 'node'. Unfortunately that doesn't work.

If you change your default home page to node/NID (where NID is the node id of the dashboard page) you'll get the functionality you expect.

Let me know if you have further problems.

#2

icenogle - November 15, 2005 - 23:50
Status:active» closed

That was it, precisely. Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.