<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Add field to project</title>
  <link>http://www.activecollab.com/forums/topic/2366/</link>
  <description>Recent posts on topic: Add field to project</description>
  <dc:language>en-us</dc:language>
  <pubDate>Fri, 05 Sep 2008 13:04:55 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/13555/#post13555</link>
    <guid>http://www.activecollab.com/forums/post/13555/#post13555</guid>
    <title>Post #15 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Hi Ilija,<br />
<br />
Actually, I just found out a way to trigger the update.  I noticed a $save variable that seems to rely on several status related methods.  I'm not sure if this will have an adverse affect on anything else but adding the following line after the switch statement seems to work:<br />
<br />
		$save = $this-&gt;active_project-&gt;save();<br />
<br />
I'll let you know if I run into any other problems as a result of this.<br />
<br />
Thanks!<br />
Garry</p>]]></description>
    <pubDate>Mon, 23 Jun 2008 13:28:22 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13554/#post13554</link>
    <guid>http://www.activecollab.com/forums/post/13554/#post13554</guid>
    <title>Post #14 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Hi Ilija,<br />
<br />
Sorry, unfortunately I don't think I can give out that access.  Not sure if there's anything else we can try.<br />
<br />
Thanks,<br />
Garry</p>]]></description>
    <pubDate>Mon, 23 Jun 2008 13:11:21 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13524/#post13524</link>
    <guid>http://www.activecollab.com/forums/post/13524/#post13524</guid>
    <title>Post #13 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Can you send me FTP parameters to support@a51dev.com and create me an account that I can use for testing? Is that an option?</p>]]></description>
    <pubDate>Fri, 20 Jun 2008 16:37:10 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13520/#post13520</link>
    <guid>http://www.activecollab.com/forums/post/13520/#post13520</guid>
    <title>Post #12 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Oh, I also forgot to mention that after the call to db_begin_work();, I added the following line to save the custom fields:<br />
<br />
$this-&gt;active_project-&gt;setAttributes($project_data);<br />
<br />
But it still doesn't seem to be saving the values.<br />
<br />
Thanks,<br />
Garry</p>]]></description>
    <pubDate>Fri, 20 Jun 2008 14:43:39 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13519/#post13519</link>
    <guid>http://www.activecollab.com/forums/post/13519/#post13519</guid>
    <title>Post #11 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Hi Ilija,<br />
<br />
Yeah, I have actually added the custom fields to the $project_data array within the edit_status() action.  This worked for me with version 1.0.6 but now doesn't work with 1.1.2.  I did a diff on that action as well and there doesn't seem to be any significant chance in the versions that I can see affecting this behavior.  Is there any other way I can make it so these fields are not ignored if the status is unchanged?<br />
<br />
Thanks,<br />
Garry</p>]]></description>
    <pubDate>Fri, 20 Jun 2008 14:41:54 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13517/#post13517</link>
    <guid>http://www.activecollab.com/forums/post/13517/#post13517</guid>
    <title>Post #10 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Hi Garry,<br />
<br />
Just check - edit status form does not accept any additional parameters except status itself. Other fields are ignored by the code that is used to process that form (it is edit_status action of ProjectController located in /activecollab/application/modules/system/controllers folder).</p>]]></description>
    <pubDate>Fri, 20 Jun 2008 10:30:43 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13506/#post13506</link>
    <guid>http://www.activecollab.com/forums/post/13506/#post13506</guid>
    <title>Post #9 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Hi Ilija,<br />
<br />
Thanks for the quick reply and I also have to say thanks for a great product!<br />
<br />
Yeah, I actually have added it to the $fields array, created getters and setters and added case statements for each field in setFieldValue();<br />
<br />
I'm not sure where else to look.<br />
<br />
Thanks,<br />
Garry<br />
<br />
</p>]]></description>
    <pubDate>Thu, 19 Jun 2008 14:16:51 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13502/#post13502</link>
    <guid>http://www.activecollab.com/forums/post/13502/#post13502</guid>
    <title>Post #8 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>If the values are not loaded / saved / considered as modified check $fields property of BaseProject class. That is the place where all table fields are listed. If you have fields that are not listed there activeCollab does not &quot;see&quot; them.</p>]]></description>
    <pubDate>Thu, 19 Jun 2008 08:29:17 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13498/#post13498</link>
    <guid>http://www.activecollab.com/forums/post/13498/#post13498</guid>
    <title>Post #7 by gseto</title>
    <dc:creator>gseto</dc:creator>
    <description><![CDATA[<p>Hi there,<br />
<br />
I followed your steps and managed to add a bunch of custom fields to the Project class for ActiveCollab 1.0.  But now that I've upgraded to AC 1.1.2, I tried doing the exact same thing and now when I change the field values, they don't get saved to the DB.<br />
<br />
I added fields to the Project Status page and the only way I can change the values of the custom fields is if I change the value of the Project Status.  If that remains unchanged when I submit, then none of the other changes in the custom fields are saved.  I assume there is some trigger to tell whether or not the status has changed and if not, then don't bother writing anything but it wasn't like this for 1.0 and I can't seem to find it anywhere.<br />
<br />
Any ideas?</p>]]></description>
    <pubDate>Wed, 18 Jun 2008 20:49:47 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/11229/#post11229</link>
    <guid>http://www.activecollab.com/forums/post/11229/#post11229</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Sebastian Tänzer:</div>And by the way: Merry Christmas :)</blockquote></div><br />
<br />
Thanks :) Enjoy the holidays and please let me know if you need any more information regarding the hack.</p>]]></description>
    <pubDate>Mon, 24 Dec 2007 14:30:29 UTC</pubDate>
  </item>
</channel>
</rss>