Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - goonerforlife

Pages: [1]
1
Community Contributions / Couple of fixes (small 1 liners)
« on: January 14, 2011, 08:30:09 AM »
I wasnt sure entirely where the best place for this was but i have been developing a charting widget and came across a couple of bugs in unused methods.
Here are the fixes :
These are in applications/models/ :
   projects/Project.class.php - I changed line 1440 from :
      
Code: [Select]
'conditions' => array('`task_list_id` IN (?) AND ...   To :
      
Code: [Select]
'conditions' => array('`id` IN (?) AND ...      
   custom_properties/CustomProperties.class.php - I changed line 76 from :
      
Code: [Select]
$object_type, $property_name)   To :
      
Code: [Select]
$object_type, $custom_property_name)
Tested after making those changes (as i was trying to use the methods.) and they work fine.
Hope that helps ^^
Cheers,
Goonerforlife

2
Development / Rss Plugin For Tasks
« on: January 10, 2011, 09:07:25 AM »
I am writing a small RSS plugin to allow users to pull out their milestone/task data in RSS format.
I have hit a snag however in that if i call $milestone->getTasks(); i dont seem to get anything back.
There is no error and the milestone definatly has tasks (i create a variety of open closed etc so that I could see all scenarios).
I also only have one milestone so I know i havent created the tasks somewhere else.

The reason for making this is so that users of another web app can see on their dashboard (in the other web app) what tasks/milestones are outstanding.

If i cant pull out tasks (either for security or for another reason) then milestones will suffice (i have that bit working) but i would just like to know either way Smiley

Any help would be appreciate.
Cheers.

Pages: [1]
anything