<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>ProDevTips - Latest Comments in Writing a CMS/Community with Smarty and the Zend Framework: Part 10</title><link>http://prodevtips.disqus.com/</link><description>Mainly tutorials and tips relating to web development with PHP, Javascript, jQuery and Ruby</description><atom:link href="https://prodevtips.disqus.com/writing_a_cmscommunity_with_smarty_and_the_zend_framework_part_10/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 11 Mar 2008 22:57:04 -0000</lastBuildDate><item><title>Re: Writing a CMS/Community with Smarty and the Zend Framework: Part 10</title><link>http://www.prodevtips.com/2008/02/27/writing-a-cmscommunity-with-smarty-and-the-zend-framework-part-10/#comment-1494388</link><description>&lt;p&gt;I'm working with ZF now to replace the crap code, I just discovered a refactoring related bug. I think the unique case in the validateField function in ExtController should look like this instead of they way it looks like in the downloadable source (haven't tested yet though):&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;br&gt;case 'unique':&lt;br&gt;  if($type == "login" || $type == "update")&lt;br&gt;    return true;&lt;br&gt;  $target_row = $this-&amp;gt;obj-&amp;gt;fetchRow("$field = '$value'");&lt;br&gt;  if($target_row != false)&lt;br&gt;    return array($field =&amp;gt; $val_errors[$field]);&lt;br&gt;  break;&lt;br&gt;&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik</dc:creator><pubDate>Tue, 11 Mar 2008 22:57:04 -0000</pubDate></item><item><title>Re: Writing a CMS/Community with Smarty and the Zend Framework: Part 10</title><link>http://www.prodevtips.com/2008/02/27/writing-a-cmscommunity-with-smarty-and-the-zend-framework-part-10/#comment-1494389</link><description>&lt;p&gt;Yeah, I had to take all the proprietary graphics out of there, that's why I procrastinated with the upload. I redid it with Gimp, my first stuff ever with Gimp, hope it's not too ugly :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik</dc:creator><pubDate>Wed, 27 Feb 2008 04:57:38 -0000</pubDate></item><item><title>Re: Writing a CMS/Community with Smarty and the Zend Framework: Part 10</title><link>http://www.prodevtips.com/2008/02/27/writing-a-cmscommunity-with-smarty-and-the-zend-framework-part-10/#comment-1494390</link><description>&lt;p&gt;Great! Source code! Enjoy your PHP hacking&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philip Andrew</dc:creator><pubDate>Wed, 27 Feb 2008 02:39:59 -0000</pubDate></item></channel></rss>