<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digital Base - Blog &#187; symfony</title>
	<atom:link href="http://www.digitalbase.eu/blog/tag/symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalbase.eu/blog</link>
	<description>A blog about webdesign, PHP, development and IT</description>
	<lastBuildDate>Mon, 10 May 2010 16:16:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to unsecure admin generated modules in Symfony</title>
		<link>http://www.digitalbase.eu/blog/how-to-unsecure-admin-generated-modules/</link>
		<comments>http://www.digitalbase.eu/blog/how-to-unsecure-admin-generated-modules/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 14:38:37 +0000</pubDate>
		<dc:creator>Bart Vanderstukken</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=245</guid>
		<description><![CDATA[You gotta love the admin generator&#8230; There&#8217;s only one problem: it&#8217;s secured by default (according to the symfony site).
But I want to use these modules in a non-secured environment.
Adding credentials: [] in the admin generator does not work&#8230; Why?
Look at your automoduleactions. You&#8217;ll find a preExecute function:

  public function preExecute&#40;&#41;
  &#123;
   [...]]]></description>
			<content:encoded><![CDATA[<p>You gotta love the admin generator&#8230; There&#8217;s only one problem: it&#8217;s secured by default (according to the symfony site).<br />
But I want to use these modules in a non-secured environment.<br />
Adding credentials: [] in the admin generator does not work&#8230; Why?<br />
Look at your auto<em>module</em>actions. You&#8217;ll find a preExecute function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> preExecute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> eventGeneratorConfiguration<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">hasCredential</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCredentials</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getActionName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">forward</span><span style="color: #009900;">&#40;</span>sfConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sf_secure_module'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> sfConfig<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sf_secure_action'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dispatcher</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">notify</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> sfEvent<span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'admin.pre_execute'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'configuration'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">helper</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> eventGeneratorHelper<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

<p>This code is always executed before any action.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">hasCredential</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCredentials</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getActionName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>the getCredentials function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getCredentials<span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">===</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$action</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'credentials'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$action</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configuration</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'credentials'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$action</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The problem is that hasCredential(array()) returns false.<br />
My solution:<br />
Override the hasCredential function in myUser</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> hasCredential<span style="color: #009900;">&#40;</span><span style="color: #000088;">$credential</span><span style="color: #339933;">,</span> <span style="color: #000088;">$useAnd</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">//for usage in generator =&gt; + as credential will return hasCredential=true (even if user has no credentials at all)</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$credential</span> <span style="color: #339933;">===</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">//btw =&gt; you could have checked for an empty array of credentials which is what the generator is returning</span>
    <span style="color: #b1b100;">return</span> parent<span style="color: #339933;">::</span><span style="color: #004000;">hasCredential</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$credential</span><span style="color: #339933;">,</span> <span style="color: #000088;">$useAnd</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

<p>Now to make it work, put in generator.yml</p>

<div class="wp_syntax"><div class="code"><pre class="yml" style="font-family:monospace;">  config:
     actions:
        _delete:        { credentials: admin }
        _list:            { credentials: + }
        index:           { credentials: + }
#        _new:         { credentials: + }
#        _edit:         { credentials: + }</pre></div></div>

<p>Ps: You could also use false &#038; -</p>
<p>EDIT: This problem appears to be fixed. View this ticket <a href="http://trac.symfony-project.org/ticket/5582">http://trac.symfony-project.org/ticket/5582</a> (thanks to Jukea for pointing that out)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/how-to-unsecure-admin-generated-modules/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Simplifying Queries: Using sum, count, etc in Propel 1.3</title>
		<link>http://www.digitalbase.eu/blog/simplifying-queries-using-sum-count-etc-in-propel-13/</link>
		<comments>http://www.digitalbase.eu/blog/simplifying-queries-using-sum-count-etc-in-propel-13/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 10:57:32 +0000</pubDate>
		<dc:creator>Bart Vanderstukken</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=228</guid>
		<description><![CDATA[My old post handled Propel 1.2.
This is the way to do it in Propel 1.3

1
2
3
4
5
6
7
    $c = new Criteria&#40;&#41;;
    $c-&#62;add&#40;FavoriteDatePeer::EVENTDATAPROPOSAL_ID, $this-&#62;getId&#40;&#41;&#41;;
    $c-&#62;addSelectColumn&#40;&#34;SUM(&#34;.FavoriteDatePeer::SCORE.&#34;) as rank&#34;&#41;;
&#160;
    $stmt = FavoriteDatePeer::doSelectStmt&#40;$c&#41;;
    $row = $stmt-&#62;fetch&#40;&#41;;
    return $row&#91;'rank'&#93;;

]]></description>
			<content:encoded><![CDATA[<p>My <a title="Sum, count, etc. in Propel 1.2" href="http://www.digitalbase.eu/blog/simplifying-queries-using-sum-count-etc-in-propel/">old post</a> handled Propel 1.2.</p>
<p>This is the way to do it in Propel 1.3</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000088;">$c</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Criteria<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$c</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">add</span><span style="color: #009900;">&#40;</span>FavoriteDatePeer<span style="color: #339933;">::</span><span style="color: #004000;">EVENTDATAPROPOSAL_ID</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$c</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addSelectColumn</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SUM(&quot;</span><span style="color: #339933;">.</span>FavoriteDatePeer<span style="color: #339933;">::</span><span style="color: #004000;">SCORE</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;) as rank&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$stmt</span> <span style="color: #339933;">=</span> FavoriteDatePeer<span style="color: #339933;">::</span><span style="color: #004000;">doSelectStmt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$c</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$stmt</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetch</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rank'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/simplifying-queries-using-sum-count-etc-in-propel-13/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Symfony Plugin for Eclipse : SfDT</title>
		<link>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/</link>
		<comments>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:27:25 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=223</guid>
		<description><![CDATA[I just found out someone is working on a new symfony plugin for eclipse, there used to be symfoclipse, but closed-source, commercial and no support for Eclipse 3.4. This new plugin works with symfony 1.0, 1.1 and 1.2. The website states it is tested with Eclipse 3.3.2 and PDT 1.0.2 but i did manage to [...]]]></description>
			<content:encoded><![CDATA[<p>I just found out someone is working on a new symfony plugin for eclipse, there used to be <a href="http://www.noy.cc/symfoclipse/" target="_blank">symfoclipse</a>, but closed-source, commercial and no support for Eclipse 3.4. This new plugin works with symfony 1.0, 1.1 and 1.2. <a href="http://sfdt.borox.ch/" target="_blank">The website</a> states it is tested with Eclipse 3.3.2 and PDT 1.0.2 but i did manage to run it on Eclipse 3.4 and PDT 2.x.</p>
<p>So what can this plugin do ?</p>
<ul>
<li>create modules/projects/applications rightfrom within Eclipse</li>
<li>convert Clay database to schema.xml/yml</li>
<li>run symfony commandline from within eclipse</li>
</ul>
<p><img class="aligncenter size-full wp-image-224" title="screenshot11" src="http://www.digitalbase.eu/blog/wp-content/uploads//2009/01/screenshot11.png" alt="screenshot11" width="640" height="311" /></p>
<p>More information on this plugin :</p>
<ul>
<li>website : <a href="http://sfdt.borox.ch/" target="_blank">http://sfdt.borox.ch/</a></li>
<li><a href="http://groups.google.com/group/symfony-users/browse_thread/thread/e347be3c14bc0f0a/56809a9b65048126?show_docid=56809a9b65048126" target="_blank">google discussion</a> / <a href="http://groups.google.com/group/symfony-users/browse_thread/thread/c600dccda1bf6d3a/98a1ba77efbadb52?#98a1ba77efbadb52" target="_blank">another google discussion</a></li>
</ul>
<p>Good job guys !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/symfony-plugin-for-eclipse-sfdt/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>using dbFormExtraPlugin for datepicker or datetimepicker</title>
		<link>http://www.digitalbase.eu/blog/using-dbformextraplugin-for-datepicker-or-datetimepicker/</link>
		<comments>http://www.digitalbase.eu/blog/using-dbformextraplugin-for-datepicker-or-datetimepicker/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 00:00:55 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[dbFormExtraPlugin]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=208</guid>
		<description><![CDATA[For an internal web development project i was looking for a good date picker. I bounced onto sfFormExtraPlugin, but it took me a while to find the correct jquery &#38; jquery UI css &#38; javascript files and set the paths. I decided to create my owner datepicker based on the one in sfFormExtraPlugin (which was [...]]]></description>
			<content:encoded><![CDATA[<p>For an internal web development project i was looking for a good date picker. I bounced onto <a href="http://www.symfony-project.org/plugins/sfFormExtraPlugin" target="_blank">sfFormExtraPlugin</a>, but it took me a while to find the correct <a title="jquery" href="http://jquery.com/" target="_blank">jquery</a> &amp; <a href="http://ui.jquery.com/" target="_blank">jquery UI</a> css &amp; javascript files and set the paths. I decided to create my owner datepicker based on the one in sfFormExtraPlugin (which was based on the <a href="http://marcgrabanski.com/pages/code/jquery-ui-datepicker" target="_blank">jQuery UI Datepicker</a>).</p>
<p>As we already had a plugin containing some of the widgets/validators we are using for some of our webdesign projects, i decided to <a href="ww.symfony-project.org/plugins/dbFormExtraPlugin/0_0_5?tab=plugin_changelog" target="_blank">include</a> those widgets into t<a href="http://www.symfony-project.org/plugins/dbFormExtraPlugin" target="_blank">he existing one</a> named <a title="dbFormExtraPlugin" href="http://www.symfony-project.org/plugins/dbFormExtraPlugin" target="_blank">dbFormExtraPlugin</a>, original name, i know&#8230;</p>
<h2>Installing dbFormExtraPlugin</h2>
<p>It&#8217;s really this simple, install, publish assets, en clear your cache.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">symfony plugin:<span style="color: #c20cb9; font-weight: bold;">install</span> dbFormExtraPlugin <span style="color: #660033;">--release</span>=0.0.5
symfony plugin:publish-assets
symfony cache:<span style="color: #c20cb9; font-weight: bold;">clear</span></pre></div></div>

<h2>sfWidgetFormDateJQuery</h2>
<p>This is based on the normal <a href="http://marcgrabanski.com/pages/code/jquery-ui-datepicker" target="_blank">jQuery date picker</a></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> ProjectForm <span style="color: #000000; font-weight: bold;">extends</span> BaseProjectForm
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> configure<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
&nbsp;
      <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgetSchema</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'published_at'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> sfWidgetFormDateJQuery<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Should give you something like this</p>
<p><img class="aligncenter size-full wp-image-214" title="sfwidgetformdatejquery" src="http://www.digitalbase.eu/blog/wp-content/uploads//2009/01/sfwidgetformdatejquery.png" alt="sfwidgetformdatejquery" width="580" height="271" /></p>
<h2>sfWidgetFormDateTimeDyn</h2>
<p>This is based on the <a title="DynDateTime - a date time slider for jQuery" href="http://code.google.com/p/dyndatetime/" target="_blank">dyndatetime project</a>, something i found on google code. From their website :</p>
<blockquote><p>jQuery has lots of date pickers, but no date- time pickers. This supports date and time, and renders the value to a single field in a configurable format.</p></blockquote>
<p>Use it like this</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> ProjectForm <span style="color: #000000; font-weight: bold;">extends</span> BaseProjectForm
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> configure<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widgetSchema</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'featured_at'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> sfWidgetFormDateTimeDyn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Results in a popup, similar to the <a href="http://dynarch.com/projects/calendar/" target="_blank">dynarch calendar picker</a>, including time sliding capabilities !</p>
<p><img class="aligncenter size-full wp-image-215" title="sfwidgetformdatetimedyn" src="http://www.digitalbase.eu/blog/wp-content/uploads//2009/01/sfwidgetformdatetimedyn.png" alt="sfwidgetformdatetimedyn" width="534" height="295" /></p>
<p>I still have some work todo on configuration/customisation but it does work (out of the box).<br />
Other <a href="http://www.symfony-project.org/plugins/dbFormExtraPlugin/0_0_5?tab=plugin_installation" target="_blank">installation instructions here</a>. Comments welcome. Leave a message on this post, <a href="http://trac.symfony-project.org/newticket" target="_blank">post a bugticket</a> on the symfony trac or contact us by email.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/using-dbformextraplugin-for-datepicker-or-datetimepicker/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blog : Moved to Wordpress</title>
		<link>http://www.digitalbase.eu/blog/blog-moved-to-wordpress/</link>
		<comments>http://www.digitalbase.eu/blog/blog-moved-to-wordpress/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:25:35 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.digitalbase.eu/blog/?p=100</guid>
		<description><![CDATA[I hate reinventing the wheel. That&#8217;s why i decided to migrate this blog to wordpress. It takes alot of effort to write your own symfony plugin that holds the functionality of a full stack blogging platform (like wordpress, typepad, blogger &#8230;).
The Symfony Story
Initially we started by using the simpleBlogPlugin and modifying it to our needs. [...]]]></description>
			<content:encoded><![CDATA[<p>I hate reinventing the wheel. That&#8217;s why i decided to migrate this blog to wordpress. It takes alot of effort to write your own symfony plugin that holds the functionality of a full stack blogging platform (like wordpress, typepad, blogger &#8230;).</p>
<h2>The Symfony Story</h2>
<p>Initially we started by using the <a href="http://www.symfony-project.org/plugins/sfSimpleBlogPlugin" target="_blank">simpleBlogPlugin</a> and modifying it to our needs. Some of the things we added :</p>
<ul>
<li>multilanguage support : different posts in english / dutch</li>
<li>tag cloud : although they did add this in the new version</li>
<li>author information : links to digg/linkedin profile</li>
<li>tag / category pages</li>
<li>some SEO basics (different descriptions/keywords per post/page)</li>
<li>seperate rss feeds (for tag/description/author pages)</li>
<li>summary/excerpt support</li>
<li>&#8230;</li>
</ul>
<h2>Then why change to wordpress ?</h2>
<p>To keep this all updated with the changing symfony framework takes some time. Adding common features popular blogging platforms offer (comment, askimet integration, image editing, &#8230;) is a huge job. Thats why i decided to &#8220;migrate&#8221; this blog to wordpress.</p>
<p>I did a little hacking here &amp; there to have it support multiple languages, created a custom theme (holding the old digitalbase theme layout) and added some clearly missing core functions.</p>
<p>I&#8217;ll do a followup post with the things i changed and some code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/blog-moved-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bug in Eclipse3.4 + PDT 2.0 (all platforms)</title>
		<link>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/</link>
		<comments>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:33:55 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=87</guid>
		<description><![CDATA[After installing Eclipse (Ganymede) + PDT 2.0 you might have noticed a problem : internal error during "Selection Job Title", here is the fix....]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>After installing Eclipse 3.4 (codename : <a title="Eclipse Ganymede" href="http://www.eclipse.org/ganymede/" target="_blank">Ganymede</a> ) and <a title="PDT" href="http://www.eclipse.org/pdt/" target="_blank">PDT</a> 2.0 (<a title="again PHP Development Tools" href="http://www.eclipse.org/pdt/" target="_blank">PHP Development Tools</a> ) as i <a title="Installing Eclipse 3.4 with pdt 2.x" href="http://www.digitalbase.eu/blog/installing-eclipse-3-4-pdt-2-x-nightly-build" target="_blank">explained in this post</a> . You should have noticed a strange problem when opening/editing PHP files.</p>
<blockquote><p>An internal error occured during &#8220;Selection Job Title&#8221;</p></blockquote>
<p>After googling <a title="Error selecting job" href="http://dev.eclipse.org/mhonarc/lists/pdt-dev/msg00682.html" target="_blank">i found another user having the same problem</a> but no real solution is posted, so here it comes .</p>
<h2>The Solution</h2>
<p>You need to install the latest version of <a title="DLTK" href="http://www.eclipse.org/dltk/" target="_blank">DLTK</a> (<a title="Dynamic Languages Toolkit" href="http://www.eclipse.org/dltk/" target="_blank">Dynamic Languages ToolKit</a> ). Just<a title="ECLIPSE DLTK Download" href="http://www.eclipse.org/downloads/download.php?file=/technology/dltk/downloads/drops/R0.9/R-0.9-200706220937/dltk-sdk-R-0.9-200706220937-incubation.zip" target="_blank"> download the files here</a> , extract those to a local directory. Then launch eclipse, in software installs &amp; updates (help menu) add a local site, and update DLTK.</p>
<p>After that just restart Ecipse (ganymede) and you can start using PDT.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Custom .debs for Symfony (1.0/1.1 &amp; 1.2) for Debian/Ubuntu</title>
		<link>http://www.digitalbase.eu/blog/custom-debs-for-symfony-1-0-1-1-1-2-for-debian-ubuntu/</link>
		<comments>http://www.digitalbase.eu/blog/custom-debs-for-symfony-1-0-1-1-1-2-for-debian-ubuntu/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:33:25 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=86</guid>
		<description><![CDATA[I created some custom .debs that are useable for everyone on debian/ubuntu using aptitude allowing you to test/try different versions of symfony before making your choice.]]></description>
			<content:encoded><![CDATA[<h1>Installing multiple versions of symfony</h1>
<p>As i wanted to test some of my projects compability against <a href="http://www.symfony-project.org/book/1_1/" target="_blank">symfony 1.1</a>, i wanted to install multiple symfony versions on my system. The main reason for this i want to keep the default symfony installation on my desktop as well as on our production environment.Â</p>
<p>Now as you know, we are working with 5 workstations and multiple servers. So it&#8217;s a real pain in the *** doing this stuff all over again on each of those machines, so i decided to create some .debs.</p>
<h2>The Solution</h2>
<p>Thanks to a <a title="Howto Install Multiple Versions Of Symfony" href="http://trac.symfony-project.org/wiki/InstallingMultipleVersionsOfSymfony" target="_blank">great guide posted on the Symfony Wiki</a> i was up &amp; running in under 5 minutes. I had to check out the different versions, create some folders to hold the different symfony installs and create some symlinks to make sure you can use those different versions by command line.</p>
<h2>The Packages</h2>
<p>I created 3 different packages for each version of symfony. You can install as many as you like, as those will all use a different path. <a title="Different version of symfony deb" href="http://dump.digitalbase.eu/deb/" target="_blank">Direct Link</a> .</p>
<ul>
<li>db-symfony-1.0.0.17 (<a title="Download Symfony 1.0 (deb package)" href="http://dump.digitalbase.eu/deb/db-symfony-1.0-0.11220025079.deb">download link</a> )</li>
<li>db-symfony-1.1.1 (<a title="Download Digital Base Symfony 1.1 deb" href="http://dump.digitalbase.eu/deb/db-symfony-1.1-0.11220024780.deb" target="_blank">download link</a> )</li>
<li>db-symfony-1.2 (<a title="Symfony 1.2 download" href="http://dump.digitalbase.eu/deb/db-symfony-1.2-0.11220022677.deb">download link</a> )</li>
</ul>
<p>I tested these packages on an Ubuntu Hardy &amp; Feisty and it works like a charm. Let me know if it doesn&#8217;t for you.</p>
<p>If you have a hard time figuring out which version of the symfony framework you want to use for your project, <a title="Which version of symfony for your project" href="http://www.symfony-project.org/blog/2008/08/26/which-version-of-symfony-for-your-next-project" target="_blank">check this post</a></p>
<h2>Show me the magic</h2>
<p>You can see you now have 3 (or 4) different versions of Symfony available to you.Â</p>
<p><img title="Multiple Version of Symfony On the same system" src="/uploads/assets//blog/screens/screenshot1.png" border="0" alt=" Multiple Version of Symfony On the same system" width="604" height="258" /></p>
<h2>Configuration</h2>
<p>Now the hardest part (if you can even call it that). Howto tell your symfony application which symfony to use ? Just go to your applications config/config.php and update the paths to the corresponding version.</p>
<p>[code]#52[/code]</p>
<p>Don&#8217;t forget to also update the /js path in your <a href="http://httpd.apache.org/docs/1.3/vhosts/" target="_blank">virtual host configuration</a> , change the version to the one you want to use for this project.</p>
<blockquote><p>Alias /sf /usr/share/php/symfony_1.0/data/web/sf</p></blockquote>
<p>Feedback/Suggestions welcome, just send an email to <a title="info@digitalbase.eu" href="mailto:info@digitalbase.eu">info@digitalbase.eu</a> Â</p>
<p>Update : if you have a problem opening PHP files (error occured during Selection Job Title) here is <a title="Error During &quot;Selection Job Title&quot;" href="http://www.digitalbase.eu/blog/bug-in-eclipse3-4-pdt-2-0-all-platforms">my follow-up post</a> (the fix)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/custom-debs-for-symfony-1-0-1-1-1-2-for-debian-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Directadmin + Custom Webroot (for symfony&#8230;)</title>
		<link>http://www.digitalbase.eu/blog/directadmin-custom-webroot-for-symfony/</link>
		<comments>http://www.digitalbase.eu/blog/directadmin-custom-webroot-for-symfony/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:31:02 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=79</guid>
		<description><![CDATA[As a we are using directadmin for our webhosting machines we previously had problems with custom webroots. Directadmin rewrites all uses httpd.conf files in certain cases leading to a default httpd.conf, resulting in a blank page for symfony projects.]]></description>
			<content:encoded><![CDATA[<p>As a we are using directadmin for our webhosting machines we previously had problems with custom webroots.</p>
<h3>The problem</h3>
<p>Directadmin rewrites all uses httpd.conf files when adding/updateing subdomains or domain settings leading to a default httpd.conf, resulting in a blank page for symfony projects. (symfony projects use the /web) webroot.</p>
<h3>Previous solution</h3>
<p>The previous solution <a title="Change Symfony Web Directory Path" href="/blog/change-symfony-web-directory-path">told you to update the symfony webroot directory</a>, this way you went with the directadmin default configuration. (public_html document root). The downside of this solution was that your domain directory (/home/user/domain/mydomain.com) was a mess with directories like public_html, private_html, logs&#8230;.</p>
<h3>The final solution</h3>
<p>Now i just bumped into a better &amp; easier solution. Apperently directadmin &#8216;custom httpd configuration&#8217; accepts the following tokens :</p>
<p><em>|DOMAIN|,<br />
|IP|,<br />
|HOME|,<br />
|ADMIN|,<br />
|DOCROOT|,<br />
|USER|,<br />
|GROUP|,<br />
|CERT|,<br />
|KEY|, |HOSTNAME|,<br />
|SAFE_MODE|,<br />
|OPEN_BASEDIR|,<br />
|CREATOR|,<br />
|BANDWIDTH|,<br />
|QUOTA|Â<br />
</em></p>
<p>So for all your symfony projects you could update the documentroot right there (no manual httpd.conf configuration or changing the symfony webroot). Just add these 2 lines into your &#8216;custom httpd.conf&#8217; for the selected domain :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">Alias /sf /usr/local/lib/php/data/symfony/web/sf
|?DOCROOT<span style="color: #000066; font-weight:bold;">=</span><span style="color: #000066; font-weight:bold;"><span style="color: #660066;">/home/USERNAME/domains/DOMAIN/public_html/web|</span></span></pre></td></tr></table></div>

<p>In the above example you should replace DOMAIN &amp; USER by the variables you can find in the &#8216;contents of the httpd.conf file&#8217; just below the custom httpd.conf configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/directadmin-custom-webroot-for-symfony/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dbFusionChartPlugin : Simple Example</title>
		<link>http://www.digitalbase.eu/blog/dbfusionchartplugin-simple-example/</link>
		<comments>http://www.digitalbase.eu/blog/dbfusionchartplugin-simple-example/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 11:00:00 +0000</pubDate>
		<dc:creator>Gijs Nelissen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[dbFusionChart]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=71</guid>
		<description><![CDATA[This first example will show you howto integrate a FusionChart graph in your symfony application, using the dbFusionChart Plugin.]]></description>
			<content:encoded><![CDATA[<p>
This first example will show you howto integrate a FusionChart (<a href="http://www.fusioncharts.com/free/" target="_blank" title="FusionCharts free">free</a>  / <a href="http://www.fusioncharts.com" target="_blank" title="FusionCharts">non-free</a> ) graph in your <a href="http://www.symfony-project.org" target="_blank" title="Symfony Project">symfony</a>  application, using the <a href="http://trac.symfony-project.com/wiki/dbFusionChartPlugin" target="_blank" title="dbFusionChartPlugin">dbFusionChartPlugin</a> . I will explain &#39;example1&#39; included in version 0.0.2 of our plugin.
</p>
<h3>The Result</h3>
<p>
Before getting to the code, here is what the final graph/chart will look like
</p>
<p>
[partial]dbFusionChartExample/example1[/partial]
</p>
<p>
&nbsp;
</p>
<h3>The Partial</h3>
<p>
The example1 is a partial that looks like this
</p>
<p>[code]dbfusionchart-example1-partial[/code]</p>
<p>
As you can see the code in this partial is pretty easy. First you tell the symfony application to load the FusionChart helper (using : use_helper). After that you load the graph/chart itself. dbfusionchart_js takes multiple arguments, the most important are the first 2.
</p>
<ul>
<li>the first argument is the type of chart (using class constants)</li>
<li>second argument is the url to the xml</li>
<li>extra arguments tell the dbFusionChart how big the chart should be (width &amp; size).</li>
</ul>
<p>
Very important in the url to the xml is that symfony knows it needs to return valid xml (an no html).
</p>
<h3>The Action</h3>
<p>
In the action.class of the dbFusionChartExample module we have the following action :
</p>
<p>
[code]dbfusionchart-example1-action[/code]
</p>
<p>
<strong><br />
Line 5 &#8211; 6</strong> tell symfony to not include the debug bar and send the response as XML (and not html)<br />
On <strong>line 8</strong> you will see the declaration of the chart. The classes are pretty smart, but the above example is a very basic example (copy pasted from FusionChart documentation).
</p>
<p>
When you are ready setting the properties of your chart (we will explain that in further posts), you tell symfony to return the xml (see <strong>line : 40</strong>).
</p>
<p>
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/dbfusionchartplugin-simple-example/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FusionCharts Symfony Plugin: dbFusionChartsPlugin</title>
		<link>http://www.digitalbase.eu/blog/fusioncharts-symfony-plugin-dbfusionchartsplugin/</link>
		<comments>http://www.digitalbase.eu/blog/fusioncharts-symfony-plugin-dbfusionchartsplugin/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 11:00:00 +0000</pubDate>
		<dc:creator>Bart Vanderstukken</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[dbFusionChart]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://dibav3.gnelisse.desktop01/blog/?p=70</guid>
		<description><![CDATA[We're creating an object oriented package to easily create FusionCharts charts.]]></description>
			<content:encoded><![CDATA[<p>
We&#39;re<br />
currently writing an OO class to create <a href="http://www.fusioncharts.com/" target="_blank" title="FusionCharts v3">FusionCharts</a><br />
quickly, easily &amp; intuitive, because the existing FusionCharts.php class is not OOP and, honestly, we thought we could do better&#8230;<br />
Our package is based on and tested against the <a href="http://www.fusioncharts.com/free/" target="_blank" title="Free Flash Charts">FusionCharts Free v2</a> package. It&#39;s written<br />
symfony independent, but we provide a helper, for easy use in symfony.
</p>
<p>
The symfony plugin, <a href="http://trac.symfony-project.com/wiki/dbFusionChartPlugin" target="_blank" title="SymfonyPlugins">dbFusionChartPlugin</a>, is<br />
in its alpha state now, because it only includes basic <a href="http://www.fusioncharts.com/free/docs/?gMenuItemId=19" target="_blank" title="FusionCharts Free Documentation">single</a>  &amp; <a href="http://www.fusioncharts.com/free/docs/?gMenuItemId=19" title="FusionCharts Free Documentation">multi-series</a>  chart support. Although the basic code is ready, it needs to be extended, to work with all chart types, but a mediocre programmer should be able to understand its structure and adapt/extend it to his needs. We deeply appreciate all <a href="/contact" target="_blank" title="Contact us">help and suggestions!</a>
</p>
<h3>
Symfony<br />
helper<br />
</h3>
<p>
[code]FC helper ex[/code]
</p>
<p>
This helper creates the necessary JavaScript.
</p>
<p>
[code]FC javaScript[/code]
</p>
<h3>Documentation</h3>
<p>
You can find the dbFusionChart <a href="http://www.phpdoc.org/" target="_blank" title="phpDoc">phpDoc</a> at <a href="/dbFusionChart/doc/index.html" target="_blank" title="dbFusionChart v0.0.1">digitalbase.eu/dbFusionChart/doc/index.html</a>
</p>
<h3>Logic</h3>
<p>
As you can see in the <a href="http://www.fusioncharts.com/free/docs/?gMenuItemId=19" target="_blank" title="FusionCharts Documentation">FusionCharts Documentation</a>, you need to define your chart&#39;s data in an XML file. Our dbFusionChartXML class uses the <a href="http://www.php.net/dom" target="_blank" title="DOM Functions">php DOM extension</a> to  encapsulate that XML logic by providing methods to add categories and (datasets with) sets. It has (for now) the descendants dbFC_Single &amp; dbFC_Multi. The latter will make sure there are always as many sets in each dataset as there are categories, when adding a dataset or category.
</p>
<h3>Stay tuned</h3>
<p>
We have recently added a check in the addCategory function so it<br />
wouldn&#39;t add the same category twice, no matter how many times it&#39;s<br />
being called, e.g. when looping <a href="http://propel.phpdb.org/trac/" target="_blank" title="Propel Documentation">Propel</a>   objects to init a dbFusionChartXML. It&#39;s checks like these that need to be added, among much much more&#8230; So <a href="/blog/tag/dbfusionchart/rss" target="_blank" title="RSS Feed">stay tuned!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.eu/blog/fusioncharts-symfony-plugin-dbfusionchartsplugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
