Live Data

24 views
Skip to first unread message

Mike Beccaria

unread,
Mar 15, 2012, 10:09:16 AM3/15/12
to Dashboard Discussion
I'm working on implementing your dashboard software. It's up and
running and works great! Thank you! I do, however, wonder what the
best method is for incorporating live data (whether via database calls
or file\web page reads). I have tried to set the dashboard single
value node to allow filtering (and thus use php to pull data) but the
filter doesn't seem to apply for that particular field. Also, other
nodes that do allow filtering and are set to pho input don't actually
show the php "echo" command contents (ex. teaser field) while others
do (ex. description field). It's all rather strange.

So, what is the best way to feed live data to the front page of the
dashboard given your design of the software? Is php the way to go? If
so, how? Thanks,
Mike Beccaria
Systems Librarian
Paul Smith's College

Charlie Moad

unread,
Mar 20, 2012, 10:54:41 AM3/20/12
to museum-dashb...@googlegroups.com
For http://www.dashboard.imamuseum.org we use the "Non-valued Dashboard"
content type for live statistics. It provides a general purpose HTML body
field where you can add any embedded HTML, including iframes. The charts
are all coded manually, so the Dashboard software does not have any
specific knowledge of how to handle live data.


- Charlie

>--
>You received this message because you are subscribed to the Google Groups
>"Dashboard Discussion" group.
>To post to this group, send email to
>museum-dashb...@googlegroups.com.
>To unsubscribe from this group, send email to
>museum-dashboard-d...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/museum-dashboard-discuss?hl=en.
>

________________________________

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact Charlie Moad by reply email and destroy all copies of the original message.

Message has been deleted

Charlie Moad

unread,
Mar 28, 2012, 9:38:18 AM3/28/12
to <museum-dashboard-discuss@googlegroups.com>
The "Description" content is only rendered in the full body view, so your screenshots makes sense. The "Non-valued teaser content" is what gets rendered in the widget/teaser view. Below is the link for the template that drives both the teaser and full view of a non-valued statistic. You can modify this if needed.


- Charlie

On Mar 23, 2012, at 3:00 PM, Mike Beccaria wrote:


Charlie,
The problem I have been having was adding PHP code to the nodes even though the PHP filter is specified for the item type. I need to use PHP so I can use live data from my database. I suppose I could create a separate page with the content I need in it and then add it as an iframe or something but that seems to be a bit of a large workaround.

Here's what's broken (for my install anyway):

In 1.png (attached) is a screenshot for my node content creation. The PHP input filter is selected. From the code (print "test";) it should print "test" in the description setting.

2.png shows the preview of the node after it is submitted. "test" shows up fine.

3.png shows the live node on the front page. "test" does not show up.

I can't, for the life of me, figure out why it won't show up. I tried to check every permissions setting in the settings I could find thinking that might be it. I'm about to start pulling my hair out:)

Any suggestions to try would be much appreciated. Thanks,
Mike




--
You received this message because you are subscribed to the Google Groups "Dashboard Discussion" group.

To post to this group, send email to museum-dashb...@googlegroups.com.
To unsubscribe from this group, send email to museum-dashboard-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/museum-dashboard-discuss?hl=en.
<1.png><2.png><3.png>
Reply all
Reply to author
Forward
0 new messages