<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Today, 'This Week', 'Next Week' Dashboard hack</title>
  <link>http://www.activecollab.com/forums/topic/1443/</link>
  <description>Recent posts on topic: Today, 'This Week', 'Next Week' Dashboard hack</description>
  <dc:language>en-us</dc:language>
  <pubDate>Wed, 15 Oct 2008 23:13:52 CDT</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/8405/#post8405</link>
    <guid>http://www.activecollab.com/forums/post/8405/#post8405</guid>
    <title>Post #17 by Brady J. Frey</title>
    <dc:creator>Brady J. Frey</dc:creator>
    <description><![CDATA[<p>Fantastic, thank you both for the improved directions and updated code:)</p>]]></description>
    <pubDate>Tue, 14 Aug 2007 11:50:02 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8401/#post8401</link>
    <guid>http://www.activecollab.com/forums/post/8401/#post8401</guid>
    <title>Post #16 by mvrana</title>
    <dc:creator>mvrana</dc:creator>
    <description><![CDATA[<p>that does it! a note to others trying this, if you want to save a backup of the original upcomingevents.php, rename it to something like upcomingevents.bak and *not* upcomingevents-bak.php, having two .php files with similar code in the plug-in folder causes a conflict that breaks activecollab.</p>]]></description>
    <pubDate>Tue, 14 Aug 2007 07:16:45 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8400/#post8400</link>
    <guid>http://www.activecollab.com/forums/post/8400/#post8400</guid>
    <title>Post #15 by Nur</title>
    <dc:creator>Nur</dc:creator>
    <description><![CDATA[<p>To fix the order.<br />
<br />
<br />
FIND:<br />
<br />
		return self::findAll(array(<br />
		'conditions' =&gt; array('`completed_on` = ? AND (`due_date` &gt;= ? AND `due_date` &lt; ?) AND `project_id` IN (?)', EMPTY_DATETIME, $from_date, $to_date, $project_ids)<br />
		)); // findAll<br />
<br />
REPLACE WITH:<br />
<br />
		return self::findAll(array(<br />
		'conditions' =&gt; array('`completed_on` = ? AND (`due_date` &gt;= ? AND `due_date` &lt; ?) AND `project_id` IN (?)', EMPTY_DATETIME, $from_date, $to_date, $project_ids),<br />
        'order' =&gt; '`due_date`'<br />
      )); // findAll<br />
<br />
</p>]]></description>
    <pubDate>Mon, 13 Aug 2007 22:27:31 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8393/#post8393</link>
    <guid>http://www.activecollab.com/forums/post/8393/#post8393</guid>
    <title>Post #14 by mvrana</title>
    <dc:creator>mvrana</dc:creator>
    <description><![CDATA[<p>One glitch I'm seeing, don't know if you are. This week doesn't show things in chronological order.</p>]]></description>
    <pubDate>Sun, 12 Aug 2007 16:38:09 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8375/#post8375</link>
    <guid>http://www.activecollab.com/forums/post/8375/#post8375</guid>
    <title>Post #13 by mvrana</title>
    <dc:creator>mvrana</dc:creator>
    <description><![CDATA[<p>Works great! Thanks so much for sharing Brady! This makes waiting for 1.0 that much easier.</p>]]></description>
    <pubDate>Thu, 09 Aug 2007 06:27:18 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8371/#post8371</link>
    <guid>http://www.activecollab.com/forums/post/8371/#post8371</guid>
    <title>Post #12 by Brady J. Frey</title>
    <dc:creator>Brady J. Frey</dc:creator>
    <description><![CDATA[<p>Alright, I hired Watershed Studios (http://watershedstudio.com) to implement this for us since I don't have time, and they did a fantastic job. Brian Groce was a great support in getting this moving. He set this up to be a 30 day outlook, as well as current day/late milestones.<br />
<br />
Download is available at:<br />
http://dotfive.com/bf/activeCollab_Upcoming_Events_v1.0.zip<br />
<br />
His directions:<br />
-------------------------<br />
&quot;Brady,<br />
<br />
I've attached the first version of the activeCollab Upcoming Events code.  <br />
<br />
We created this in a manner that requires minimal core changes.<br />
<br />
Installation...<br />
<br />
To install backup your files and FTP these three files:<br />
init.php<br />
application/views/dashboard/index.php<br />
plugins/upcomingevents.php<br />
init.php<br />
<br />
This adds the call to the new plugin file/directory...<br />
 // Watershed's hack: get plugins  <br />
  $plugins = glob(dirname(__FILE__).'/plugins/*.php');<br />
  if( is_array( $plugins ) ) {<br />
      foreach ( $plugins as $plugin ) {<br />
          if( is_file( $plugin ) )<br />
              include_once( $plugin );<br />
      }<br />
  }<br />
 // end Watershed's hack<br />
application/views/dashboard/index.php<br />
<br />
This adds to function call to display the additional milestones...<br />
&lt;?php if ( function_exists('extra_milestones') ) extra_milestones(); ?&gt;<br />
plugins/upcomingevents.php<br />
<br />
This is a new file and directory and contains all of the functionality used to display the additional milestones.&quot;<br />
-------------------------<br />
<br />
So in theory, add the plugins folder with content, replace the other two files, and it works just fine - atleat for me!</p>]]></description>
    <pubDate>Tue, 07 Aug 2007 11:02:15 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8329/#post8329</link>
    <guid>http://www.activecollab.com/forums/post/8329/#post8329</guid>
    <title>Post #11 by mvrana</title>
    <dc:creator>mvrana</dc:creator>
    <description><![CDATA[<p>bump. Any news on this? I'd love to implement.</p>]]></description>
    <pubDate>Tue, 31 Jul 2007 06:09:52 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8024/#post8024</link>
    <guid>http://www.activecollab.com/forums/post/8024/#post8024</guid>
    <title>Post #10 by jcollins</title>
    <dc:creator>jcollins</dc:creator>
    <description><![CDATA[<p>Thanks Brady.  Looking forward to it...<br />
<br />
jeff</p>]]></description>
    <pubDate>Thu, 21 Jun 2007 15:33:10 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8020/#post8020</link>
    <guid>http://www.activecollab.com/forums/post/8020/#post8020</guid>
    <title>Post #9 by Brady J. Frey</title>
    <dc:creator>Brady J. Frey</dc:creator>
    <description><![CDATA[<p>I haven't had time, and the original poster to this thread has left it dead - but I just made it a project for our inside developer to do. I'm leaving the July 4th week, so I'm hoping to finish by next week (end of week) otherwise I'll have it when I get back. Regardless, when I get it, I'm going to ask our developer to post up a how-to as a patch walk through + files. This is actually causing us some headache because we can't project our projects a week+, and I can't wait for 1.0. We've just overlapped and used Basecamp for the time being.<br />
<br />
Regardless, I'll post up here with the stuff and on my site!</p>]]></description>
    <pubDate>Thu, 21 Jun 2007 12:28:17 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8019/#post8019</link>
    <guid>http://www.activecollab.com/forums/post/8019/#post8019</guid>
    <title>Post #8 by jcollins</title>
    <dc:creator>jcollins</dc:creator>
    <description><![CDATA[<p>Has anyone else found a way to do this?</p>]]></description>
    <pubDate>Thu, 21 Jun 2007 11:14:22 CDT</pubDate>
  </item>
</channel>
</rss>