[FX.php List] Big success with Dashboard widget!

Bob Patin bob at patin.com
Thu Feb 15 18:59:31 MST 2007


Hello all,

I'm thrilled to say that I've managed, with a ton of help from Carl  
Anderson here on the list, to get a widget put together. Carl figured  
out how to write some Ajax to send requests to a PHP page, and I took  
the example he sent me and figured out how to write to the database  
as well.

So what I wrote is a simple Phone Log widget; you can write to the  
log, and then the log displays in a 2nd field so that you can see  
previous entries.

I've got a couple of simple improvements left to make to it, but if  
anyone is interested in writing a widget, I'd be glad to send you the  
Dashcode file and the PHP code file for this phone log. Once Carl  
walked me through the code, I started to see how it's put together,  
and I can think of lots of great uses for this, especially with clients.

One thing I'd love to figure out is how to display results in a table  
format; at this juncture, as the screenshot below shows, the data is  
returned in text strings, in a scrolling text field.

If anyone wants the widget code, let me know; Carl's agreed to make  
this available to fellow FX list members.

Best regards,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: tech at longtermsolutions.com
      ICQ: 159333060

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phone_log.gif
Type: image/gif
Size: 34584 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20070215/ea1db5cd/phone_log-0001.gif


More information about the FX.php_List mailing list