Posted on: 05/30/04 06:38pm
By: Jefficus
I notice portalparts has a nifty project progress graph displayed as a block on the home page. Anybody know where that came from? I'm looking around and don't see anything obvious.
Where's that Project progress graph block from?
Posted on: 05/31/04 03:47am
By: geKow
hmmm
why don't you ask at portalparts? I'm pretty sure, that this is made by the incredible Blaine himself.
geKow
Where's that Project progress graph block from?
Posted on: 05/31/04 09:59am
By: Jefficus
I *COULD* have asked at portalparts and if I don't get a response here, I probably will. But the reason I came here first was also to make sure that the "central" (if there is such a thing) repository of all knowledge concerning GL plugins had a record of the fact that it existed.
Where's that Project progress graph block from?
Posted on: 05/31/04 08:22pm
By: mthomas
To make one would not be difficult. An easy way is as follows:
$display .= "<table>";
$display .= "<tr>";
$display .= "<td>Plugin</td>";
$display .= "<td>Progress</td>";
$display .= "</tr>";
$result = db_query("<Query Here>"
;
$num_rows = mysql_num_rows($result);
for($i=0; $i <= $num_rows-1; $i++)
{
$row = mysql_fetch_array($result);
$display .= "<tr><td><b>".$row['proj_name']."</b></td><td><table><tr><TD bgcolor="#D7EBFF" width="".$row['proj_percent'].""></td></tr></table></td></tr> ";
}
$display .= "</table>";
I'll put a plugin up for it in a an hour or so.
Where's that Project progress graph block from?
Posted on: 05/31/04 08:31pm
By: Jefficus
Cool. I can wait. :-)
Where's that Project progress graph block from?
Posted on: 05/31/04 10:06pm
By: mthomas
OK Tomorrow morning lol, I have a red eye flight in ...5 hours Need to grab a nap.
The basics are up on my server at at least you can see the block.
Where's that Project progress graph block from?
Posted on: 06/01/04 10:08am
By: mthomas
Ok its done, except for the delete function (I assume you want to remove projects at somepoint hehe) To see the phpblock side head to
www.thomassoft.net[*1]
Where's that Project progress graph block from?
Posted on: 06/01/04 11:22am
By: Jefficus
Looks nice. So where's the download? :-)
Where's that Project progress graph block from?
Posted on: 06/01/04 11:38am
By: mthomas
hehe bit later today want to clean up the script a bit first. FYI I release this as RC2. RC2 will incude an optional link to the projects plugin, I will be addng a new security layer (otional as well) to gl_projects to make a projects.admin group to restrict add/edit access.