<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>Qcodo.com Forums RSS Feed</title>
	<link>http://www.qcodo.com/forums/</link>
	<description>The Qcodo forums attempts to provide a community to post, discuss, ask, and converse about the current state of the framework, as well as provide an opportunity for members to discuss the future direction of Qcodo.</description>
	<pubDate>Thu, 11 Mar 2010 03:48:54 PST</pubDate>
	<generator>Qcodo Development Framework 0.4.13</generator>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<image>
		<url>http://www.qcodo.com/images/qcodo_smaller.png</url>
		<title>Qcodo.com Forums RSS Feed</title>
		<link>http://www.qcodo.com/forums/</link>
		<width>200</width>
		<height>84</height>
	</image>
	<item>
		<title>Re: Qcodo 0.4.13 Released</title>
		<link>http://www.qcodo.com/forums/forum.php/5/4076/lastpage</link>
		<description><![CDATA[<p>Web-based codegen finally back.</p>

<p>Great ! thank you !</p>

]]></description>
		<author>kentpachi</author>
		<category>Official Blog</category>
		<comments>http://www.qcodo.com/forums/forum.php/5/4076/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/5/4076/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 23:56:40 PST</pubDate>
	</item>
	<item>
		<title>Re: Exciting Personal News</title>
		<link>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</link>
		<description><![CDATA[<p>Congratulations, long life to the queen !</p>

]]></description>
		<author>kentpachi</author>
		<category>Official Blog</category>
		<comments>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/5/4066/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 23:56:00 PST</pubDate>
	</item>
	<item>
		<title>Re: QEmail Server not sending email because of "Spam Assassin?"</title>
		<link>http://www.qcodo.com/forums/forum.php/3/4074/lastpage</link>
		<description><![CDATA[<p>If your own email server is blocking emails from your own webserver due to Spam assassin, simply whitelist your web server in spam assassin to let it through.</p>

]]></description>
		<author>Mike Ho</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/forum.php/3/4074/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/3/4074/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:46:37 PST</pubDate>
	</item>
	<item>
		<title>Re: HTML Formatted Emails</title>
		<link>http://www.qcodo.com/forums/forum.php/3/4072/lastpage</link>
		<description><![CDATA[<p>what do you mean by &ldquo;can't see&rdquo;? &nbsp;Which email client are you using to view the email?</p>

<p>Have you &ldquo;view sourced&rdquo; the email in your client to see if it is properly formatted HTML?</p>

<p>Lastly, remember that some email clients block image downloads from remote servers on email reads... have you ensured that this isn't the cause of the issue?</p>

]]></description>
		<author>Mike Ho</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/forum.php/3/4072/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/3/4072/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:45:44 PST</pubDate>
	</item>
	<item>
		<title>Re: Many-to-Many relationship issue (ALL subquery?)</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</link>
		<description><![CDATA[<p>Cool deals -- if you check out <a href="http://www.qcodo.com/issues/view.php/42">Issue #42</a> you'll see we're starting to get some traction on some improvements to the QQ layer. &nbsp;Once the current dev release cycle gets pushed to stable I'm pretty sure these movements will start accelerating a bit.</p>

<p>It looks like you and folks at qcubed have thought through some stuff as well, I'd love any input (either higher level suggestions or even lower level code contributions, if you have them) that you'd be willing to provide.</p>

]]></description>
		<author>Mike Ho</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4075/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:43:29 PST</pubDate>
	</item>
	<item>
		<title>Re: Community Development</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4002/lastpage</link>
		<description><![CDATA[<p>I think those are good suggestions -- for most of the things you specified, they can be started as is with little to no intervention by me.</p>

<p>I know that you say for some of those items you need some &ldquo;seed&rdquo; ideas/input from me -- I think the best way to go about it (as is the best way I seem to be operating at the moment) is, are there specific questions you have about any of those items (e.g. roadmap, QPM vs. GitHub vs. whatever documentation, etc.) that can help you to understand it better... and then you could write or you could delegate someone to structure and write documentation (e.g. up in the wiki) in a format that is clear and makes sense to the average user?</p>

<p>let me know if that makes sense...</p>

]]></description>
		<author>Mike Ho</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4002/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4002/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:41:20 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>Yeah, unfortunately QQ constructs do not support custom fields like this in the OrderBy clause... but in truth, I would strongly suggest that you reconsider your order-by column. &nbsp;Having integers stored in a varchar that you specifically need to order against is not just a kludge, but it's quite inefficient from a performance standpoint.</p>

]]></description>
		<author>Mike Ho</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:35:37 PST</pubDate>
	</item>
	<item>
		<title>Re: Help-Me Please QImageControl</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4070/lastpage</link>
		<description><![CDATA[<p>Could you possibly rephrase your question? &nbsp;Not sure if you manually entered the question or used an automated translator, but the question is quite cryptic.</p>

]]></description>
		<author>Mike Ho</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4070/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4070/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:34:01 PST</pubDate>
	</item>
	<item>
		<title>Re: Better I18N support</title>
		<link>http://www.qcodo.com/forums/forum.php/4/1150/lastpage</link>
		<description><![CDATA[<p>Qcodo doesn't have any localization support right now -- but I would highly recommend looking at Zend Framework for L10n support.</p>

<p>Qcodo plays very nicely with ZF, and in fact, there is already a QPM package which allows you to one-line install ZF into your Qcodo application.</p>

<p>See <a href="http://www.qcodo.com/qpm/package.php/zend_framework">http://www.qcodo.com/qpm/package.php/zend_framework</a> for more info</p>

]]></description>
		<author>Mike Ho</author>
		<category>Feature Requests</category>
		<comments>http://www.qcodo.com/forums/forum.php/4/1150/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/4/1150/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 21:23:09 PST</pubDate>
	</item>
	<item>
		<title>Re: Qcodo 0.4.13 Released</title>
		<link>http://www.qcodo.com/forums/forum.php/5/4076/lastpage</link>
		<description><![CDATA[<p>Everyone, I am happy to announce the development release of 0.4.13. &nbsp;Please see the <a href="http://www.qcodo.com/wiki/qcodo/changelog">changelog</a> for more information.</p>

<p>I am hoping to get this pushed to stable ASAP so please post with any issues.</p>

]]></description>
		<author>Mike Ho</author>
		<category>Official Blog</category>
		<comments>http://www.qcodo.com/forums/forum.php/5/4076/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/5/4076/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 20:51:25 PST</pubDate>
	</item>
	<item>
		<title>Re: Exciting Personal News</title>
		<link>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</link>
		<description><![CDATA[<p>Congrats Mike :)</p>

]]></description>
		<author>Frank W</author>
		<category>Official Blog</category>
		<comments>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/5/4066/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 15:08:58 PST</pubDate>
	</item>
	<item>
		<title>Re: Exciting Personal News</title>
		<link>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</link>
		<description><![CDATA[<p>Great News! God bless you and the family!</p>

]]></description>
		<author>sharonv</author>
		<category>Official Blog</category>
		<comments>http://www.qcodo.com/forums/forum.php/5/4066/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/5/4066/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 15:06:35 PST</pubDate>
	</item>
	<item>
		<title>Re: Many-to-Many relationship issue (ALL subquery?)</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</link>
		<description><![CDATA[<p>Answered with solution in QCubed forums:<br/>
http://qcu.be/content/many-many-relationship-problem-all-subquery#comment-4461</p>

]]></description>
		<author>VexedPanda</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4075/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 14:39:09 PST</pubDate>
	</item>
	<item>
		<title>Re: Many-to-Many relationship issue (ALL subquery?)</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</link>
		<description><![CDATA[<p>Basic layout</p>

<p>Resource<br/>
IdResource<br/>
Name</p>

<p>Keyword<br/>
IdKeyword<br/>
Name</p>

<p>There is a many-to-many association table connecting the two.</p>

<p>Problem:<br/>
The keywords are used as filters. A user can select any number of keywords and it should filter the results such that each resource has ALL of the keywords selected associated (and any others not selected - the important point is that all that are selected are associated).</p>

<p>I can implement in PHP manipulating arrays ... but that's <strong>really</strong> slow when dealing with thousands of resources.</p>

<p>I essentially want to do:<br/>
QQ::In_All(QQN::Resource()-&gt;Keyword-&gt;Keyword-&gt;IdKeyword, $arrSelectedKeywords) ... something like an SQL subquery with the ALL operator such that it will “return TRUE if the comparison is TRUE for ALL of the values in the column that the subquery returns.”</p>

<p>Any ideas? It's probably really simple - I'm just a bit perplexed.</p>

<p>Thanks,<br/>
Andrew</p>

]]></description>
		<author>phredphish</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4075/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4075/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 12:38:24 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>Oh and one more option would be to build a <a href="http://examples.qcodo.com/examples/qcodo_query/intro.php">custom query</a> and with your ORDER BY `t0`.`field`+0. I guess that's what you were looking for.<br/>
</p>

]]></description>
		<author>Patrick Ranger</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 12:29:15 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>In that case I see only 2 options :<br/>
- Convert your field to integer so that it gets sorted on the numeric value</p>

<p>or</p>

<p>- Make sure your records all have the same lenght by adding leading zeros. You can run an update query to add leading zeros so that it gets sorted properly. </p>

<p>Does that make sense?</p>

<p>-patrick</p>

]]></description>
		<author>Patrick Ranger</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 12:23:55 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>Nope.<br/>
Thank you anyway Patrick.</p>

<p>My problem for example, how can I get the following order?</p>

<p>35<br/>
47<br/>
98<br/>
102<br/>
210</p>

<p>from</p>

<p>102<br/>
35<br/>
98<br/>
210<br/>
47</p>

<p>with QQ::OrderBy() because QQ::OrderBy accept only QQNode as parameter, and QueryBuilder generated SQL contains &quot; ORDER BY `t0`.`field` &quot; but what I need is: &quot; ORDER BY `t0`.`field`+0 &ldquo;</p>

<p>How to tell QQ::OrderBy to add '+0' to field name.</p>

<br/>
<p>Edit: My filed type is varchar.</p>

<br/>
<p>Attila</p>

]]></description>
		<author>Gaspar Attila</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 11:50:36 PST</pubDate>
	</item>
	<item>
		<title>Re: QEmail Server not sending email because of "Spam Assassin?"</title>
		<link>http://www.qcodo.com/forums/forum.php/3/4074/lastpage</link>
		<description><![CDATA[<p>I am not sending bulk emails, just emails to my own domain, and now cannot send emails because of Spam Assassin?</p>

<p>What can I do to remedy this?</p>

<p>Thanks. &nbsp;Pretty urgent, our application does send out email and notification as essential to the functionality.</p>

]]></description>
		<author>kingwithin</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/forum.php/3/4074/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/3/4074/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 11:02:54 PST</pubDate>
	</item>
	<item>
		<title>Re: setup procedure of Qcodo in Debian 5</title>
		<link>http://www.qcodo.com/forums/forum.php/6/4071/lastpage</link>
		<description><![CDATA[<p>Welcome to QCodo raziahmad,</p>

<p>You should first start by reading the <a href="http://www.qcodo.com/wiki/guide/getting_started">getting started guide</a> and follow the instruction. Then read the _README.txt file in the &ldquo;cli&rdquo; directory to find out how to code genarate. I'll be please to answer any specific question if you get stuck in the process.</p>

<p>-Patrick</p>

]]></description>
		<author>Patrick Ranger</author>
		<category>Getting Started, Installation and Setup</category>
		<comments>http://www.qcodo.com/forums/forum.php/6/4071/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/6/4071/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 10:54:02 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>(I guess I messed up navigating tabs while answering... please ignore this post)</p>

]]></description>
		<author>Patrick Ranger</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 10:47:28 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>Gaspar,</p>

<p>Please start with the example sites where you will find an <a href="http://examples.qcodo.com/examples/qcodo_query/qqclause.php">example of the QQ:Orderby clause</a>. Don't forget to look at the source code by clicking &ldquo;View source&rdquo; in the top right corner. Let me know if you have any questions after.</p>

<p>-Patrick</p>

]]></description>
		<author>Patrick Ranger</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 10:32:18 PST</pubDate>
	</item>
	<item>
		<title>Re: request ajax</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4069/lastpage</link>
		<description><![CDATA[<p>Thank you very much.</p>

<p>You helped me a lot.</p>

<p>You were right was because the control is a QLinkButton.</p>

<p>Case Resolved.</p>

]]></description>
		<author>Leonardo</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4069/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4069/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 10:14:27 PST</pubDate>
	</item>
	<item>
		<title>Re: How to QQ::OrderBy alphanumeric</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</link>
		<description><![CDATA[<p>There is a way to order values in alpahnumeric order using QQ::OrderBy()?</p>

<p>With SQL syntax which worked for me: </p>

<pre ><code><span style="color: #000000"><br />SELECT&nbsp;*&nbsp;FROM&nbsp;table&nbsp;ORDER&nbsp;BY&nbsp;table.field+0;<br /></span></code></pre>

<p>Can anyone help me to implement this with QQ:Orderby()?</p>

<br/>
<p>Thank you.</p>

]]></description>
		<author>Gaspar Attila</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4073/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4073/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 09:53:31 PST</pubDate>
	</item>
	<item>
		<title>Re: HTML Formatted Emails</title>
		<link>http://www.qcodo.com/forums/forum.php/3/4072/lastpage</link>
		<description><![CDATA[<p>Hello,</p>

<p>For some reason when I send HTML formatted emails via Qcodo's QEmailMessage and QEmailServer, I can't see any images. &nbsp;However, when I send manually via PHP mail function. &nbsp;It works just fine. &nbsp;Do I need to set any additional headers or anything before sending? &nbsp;Here's my code:</p>

<pre ><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">include(</span><span style="color: #DD0000">'app/includes/prepend.inc.php'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;want&nbsp;to&nbsp;define&nbsp;our&nbsp;email&nbsp;SMTP&nbsp;server&nbsp;(it&nbsp;defaults&nbsp;to&nbsp;"localhost")<br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;This&nbsp;would&nbsp;typically&nbsp;be&nbsp;done&nbsp;in&nbsp;prepend.inc,&nbsp;and&nbsp;its&nbsp;value&nbsp;should&nbsp;probably&nbsp;be&nbsp;a&nbsp;constant<br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;that&nbsp;is&nbsp;defined&nbsp;in&nbsp;_configuration.inc<br />&nbsp;&nbsp;&nbsp;&nbsp;//QEmailServer::$SmtpServer&nbsp;=&nbsp;'mx.acme.com';<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Create&nbsp;a&nbsp;new&nbsp;message<br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Note&nbsp;that&nbsp;you&nbsp;can&nbsp;list&nbsp;multiple&nbsp;addresses&nbsp;and&nbsp;that&nbsp;Qcodo&nbsp;supports&nbsp;Bcc&nbsp;and&nbsp;Cc<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">QEmailMessage</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">From&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'ACME&nbsp;Reporting&nbsp;Service&nbsp;&lt;reporting@acme.com&gt;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">To&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Mr.&nbsp;Tester&nbsp;&lt;myemail@gmail.com&gt;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//$objMessage-&gt;Bcc&nbsp;=&nbsp;'audit-system@acme.com';<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Subject&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Report&nbsp;for&nbsp;'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">QDateTime</span><span style="color: #007700">::</span><span style="color: #0000BB">NowToString</span><span style="color: #007700">(</span><span style="color: #0000BB">QDateTime</span><span style="color: #007700">::</span><span style="color: #0000BB">FormatDisplayDate</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Setup&nbsp;Plaintext&nbsp;Message<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"Dear&nbsp;John&nbsp;and&nbsp;Jane&nbsp;Doe,\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"You&nbsp;have&nbsp;new&nbsp;reports&nbsp;to&nbsp;review.&nbsp;&nbsp;Please&nbsp;go&nbsp;to&nbsp;the&nbsp;ACME&nbsp;Portal&nbsp;at&nbsp;http://portal.acme.com/&nbsp;to&nbsp;review.\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Regards,\r\nACME&nbsp;Reporting&nbsp;Service"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Body&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$strBody</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Also&nbsp;setup&nbsp;HTML&nbsp;message&nbsp;(optional)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Dear&nbsp;John&nbsp;and&nbsp;Jane&nbsp;Doe,&lt;br/&gt;&lt;br/&gt;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">'&lt;img&nbsp;height=131&nbsp;src="http://www.p1computerparts.com/images/email_order_banner.jpg"&nbsp;width=529&nbsp;/&gt;'</span><span style="color: #007700">;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">'&lt;b&gt;You&nbsp;have&nbsp;new&nbsp;reports&nbsp;to&nbsp;review.&lt;/b&gt;&nbsp;&nbsp;Please&nbsp;go&nbsp;to&nbsp;the&nbsp;&lt;a&nbsp;href="http://portal.acme.com/"&gt;ACME&nbsp;Portal&lt;/a&gt;&nbsp;to&nbsp;review.&lt;br/&gt;&lt;br/&gt;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">'Regards,&lt;br/&gt;&lt;b&gt;ACME&nbsp;Reporting&nbsp;Service&lt;/b&gt;&lt;br&nbsp;/&gt;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">HtmlBody&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$strBody</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Add&nbsp;random/custom&nbsp;email&nbsp;headers<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">SetHeader</span><span style="color: #007700">(</span><span style="color: #DD0000">'x-application'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'ACME&nbsp;Reporting&nbsp;Service&nbsp;v1.2a'</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Send&nbsp;the&nbsp;Message&nbsp;(Commented&nbsp;out&nbsp;for&nbsp;obvious&nbsp;reasons)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">QEmailServer</span><span style="color: #007700">::</span><span style="color: #0000BB">Send</span><span style="color: #007700">(</span><span style="color: #0000BB">$objMessage</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;THIS&nbsp;WORKS<br />&nbsp;&nbsp;&nbsp;&nbsp;//$headers&nbsp;&nbsp;=&nbsp;'MIME-Version:&nbsp;1.0'&nbsp;.&nbsp;"\r\n";<br />&nbsp;&nbsp;&nbsp;&nbsp;//$headers&nbsp;.=&nbsp;'Content-type:&nbsp;text/html;&nbsp;charset=iso-8859-1'&nbsp;.&nbsp;"\r\n";<br />&nbsp;&nbsp;&nbsp;&nbsp;//mail('myemail@gmail.com',&nbsp;'Hello',&nbsp;$strBody,&nbsp;$headers);<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Note&nbsp;that&nbsp;you&nbsp;can&nbsp;also&nbsp;shortcut&nbsp;the&nbsp;Send&nbsp;command&nbsp;to&nbsp;one&nbsp;line&nbsp;for&nbsp;simple&nbsp;messages&nbsp;(similar&nbsp;to&nbsp;PHP's&nbsp;mail())<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"Dear&nbsp;John&nbsp;and&nbsp;Jane&nbsp;Doe,\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"You&nbsp;have&nbsp;new&nbsp;reports&nbsp;to&nbsp;review.&nbsp;&nbsp;Please&nbsp;go&nbsp;to&nbsp;the&nbsp;ACME&nbsp;Portal&nbsp;at&nbsp;http://portal.acme.com/&nbsp;to&nbsp;review.\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$strBody&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Regards,\r\nACME&nbsp;Reporting&nbsp;Service"</span><span style="color: #007700">;<br /></span><span style="color: #FF8000">//&nbsp;&nbsp;&nbsp;&nbsp;QEmailServer::Send(new&nbsp;QEmailMessage('reporting@acme.com',&nbsp;'jdoe@acme.com',&nbsp;'Alerts&nbsp;Received!',&nbsp;$strBody));<br /></span><span style="color: #0000BB">?&gt;<br /></span>bc.</span></code></pre>

]]></description>
		<author>stromee</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/forum.php/3/4072/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/3/4072/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 08:40:53 PST</pubDate>
	</item>
	<item>
		<title>Re: request ajax</title>
		<link>http://www.qcodo.com/forums/forum.php/2/4069/lastpage</link>
		<description><![CDATA[<p>You probably use QLinkButton which is rendered as a tag &lt;a href=&ldquo;#&rdquo;&gt;</p>

<p>Probably you need to add QTeminateAction to the control something like this:</p>

<p>$this-&gt;btnSubmit-&gt;AddAction(new QClickEvent(), new QAjaxAction('btnSubmit_Click'));<br/>
$this-&gt;btnSubmit-&gt;AddAction(new QClickEvent(), new QTerminateAction());</p>

<p>or edit the control to make html it renders doesn't containt the #.</p>

<p>Hope it helps if not please post some code.</p>

]]></description>
		<author>klucznik</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/forum.php/2/4069/lastpage</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/forum.php/2/4069/lastpage</guid>
		<pubDate>Wed, 10 Mar 2010 07:27:25 PST</pubDate>
	</item>
</channel>
</rss>
