<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 14:40:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Anna Filina's Blog: Symfony - subfolders for partials]]></title>
      <guid>http://www.phpdeveloper.org/news/15934</guid>
      <link>http://www.phpdeveloper.org/news/15934</link>
      <description><![CDATA[<p>
<i>Anna Filina</i> has a new post to her site today about <a href="http://annafilina.com/blog/symfony-subfolders-for-partials/">using subfolders for partials</a> in Symfony applications and keeping them organized.
</p>
<blockquote>
Symfony 1.2 - 1.4 expects all partials to follow this convention: templates/_partial.php. What happens when you need to organize your partials in subfolder? I tried a number of "Symfunky" avenues.
</blockquote>
<p>
She tried a few ways - calling the helper with the include_partial method but it didn't resolve to the path she wanted. Next she tried a different path, but Symfony only interpreted it differently - and not the way she wanted. After a few more tries, she found a solution - using get_partial with a parameter that defined the subfolder to look in.
</p>]]></description>
      <pubDate>Mon, 21 Feb 2011 11:14:32 -0600</pubDate>
    </item>
  </channel>
</rss>
