<?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>Thu, 23 May 2013 23:22:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: Elemental: Conditional Content with CakePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8118</guid>
      <link>http://www.phpdeveloper.org/news/8118</link>
      <description><![CDATA[<p>
In <a href="http://snook.ca/archives/cakephp/elemental_conditional_content_with_cakephp/">the new blog entry</a>, <i>Jonathan Snook</i> shows how to implement "conditional content" on your CakePHP application.
</p>
<blockquote>
I finally got around to implementing conditional content here on Snook.ca. I've wanted to do this since I moved to the new design just over a month and a half ago. [...] With a little bit of late night development and some quick help from Larry (aka PhpNut, the lead developer of CakePHP), I've developed what I have dubbed "Elemental".
</blockquote>
<p>
In <a href="http://snook.ca/archives/cakephp/elemental_conditional_content_with_cakephp/">his example</a> he shows the two parts making up the functionality - the controller with new methods (in app_controller.php) and a new helper called "Elemental". Using the methods enableElement and disableElement you can turn off and on different chunks of code that are stored in an element array.
</p>]]></description>
      <pubDate>Mon, 25 Jun 2007 12:35:00 -0500</pubDate>
    </item>
  </channel>
</rss>
