<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Adding theme support to your Zend Framework application</title>
	<atom:link href="http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/</link>
	<description>Simple is better than complex. Complex is better than complicated. &#124; @fedecarg</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:38:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: star</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-7260</link>
		<dc:creator><![CDATA[star]]></dc:creator>
		<pubDate>Thu, 21 Jul 2011 14:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-7260</guid>
		<description><![CDATA[How do u access css/images/ and so on, you know, they all are not allowed by htaccess....i am confused......thank you for the post, great one. :)]]></description>
		<content:encoded><![CDATA[<p>How do u access css/images/ and so on, you know, they all are not allowed by htaccess&#8230;.i am confused&#8230;&#8230;thank you for the post, great one. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peer Sajad</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-7015</link>
		<dc:creator><![CDATA[Peer Sajad]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 07:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-7015</guid>
		<description><![CDATA[If I want the end users to select the theme, what changes I need to make in the code?

in the above mentioned approach, the theme is sort-of hard coded into the config]]></description>
		<content:encoded><![CDATA[<p>If I want the end users to select the theme, what changes I need to make in the code?</p>
<p>in the above mentioned approach, the theme is sort-of hard coded into the config</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6851</link>
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Mon, 11 Oct 2010 14:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6851</guid>
		<description><![CDATA[If I want the end users to select the theme, what changes I need to make in the code?

in the above mentioned approach, the theme is sort-of hard coded into the config]]></description>
		<content:encoded><![CDATA[<p>If I want the end users to select the theme, what changes I need to make in the code?</p>
<p>in the above mentioned approach, the theme is sort-of hard coded into the config</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6815</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Thu, 26 Aug 2010 22:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6815</guid>
		<description><![CDATA[Make sure to pass the same value to $layout-&gt;setLayoutPath() and $view-&gt;setScriptPath()]]></description>
		<content:encoded><![CDATA[<p>Make sure to pass the same value to $layout-&gt;setLayoutPath() and $view-&gt;setScriptPath()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6813</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Thu, 26 Aug 2010 12:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6813</guid>
		<description><![CDATA[Hey,

thx for the quick response, but it is still not working?

$view-&gt;setScriptPath(&#039;/path/to/script&#039;);
$view-&gt;setScriptPath(&#039;../public/themes/&#039;.$theme.&#039;/templates&#039;;&#039;);

Still looking for the files in the views/scripts folder?

Anyone knows the correct path?

thx,

james]]></description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>thx for the quick response, but it is still not working?</p>
<p>$view-&gt;setScriptPath(&#8216;/path/to/script&#8217;);<br />
$view-&gt;setScriptPath(&#8216;../public/themes/&#8217;.$theme.&#8217;/templates&#8217;;');</p>
<p>Still looking for the files in the views/scripts folder?</p>
<p>Anyone knows the correct path?</p>
<p>thx,</p>
<p>james</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6812</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Thu, 26 Aug 2010 10:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6812</guid>
		<description><![CDATA[Fixed]]></description>
		<content:encoded><![CDATA[<p>Fixed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6810</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Thu, 26 Aug 2010 10:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6810</guid>
		<description><![CDATA[Hi,

i&#039;m wondering where you get the $baseDir?

i&#039;m getting errors 

Fatal error: Uncaught exception &#039;Zend_View_Exception&#039; with message &#039;script &#039;error/error.phtml&#039; not found in path (computer_path/application/views\scripts/)&#039;

Any ideas?

thx,

James]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i&#8217;m wondering where you get the $baseDir?</p>
<p>i&#8217;m getting errors </p>
<p>Fatal error: Uncaught exception &#8216;Zend_View_Exception&#8217; with message &#8216;script &#8216;error/error.phtml&#8217; not found in path (computer_path/application/views\scripts/)&#8217;</p>
<p>Any ideas?</p>
<p>thx,</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Rio</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-6723</link>
		<dc:creator><![CDATA[Martin Rio]]></dc:creator>
		<pubDate>Sun, 02 May 2010 02:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-6723</guid>
		<description><![CDATA[Federico -- This is a great idea. Some commenters above are confused about the definition of a theme. If you define a theme as the presentation layer (layouts, view scripts, css, js) your method is great. I also don&#039;t see security risks inherent to this approach - like it was stated above, it&#039;s up to the server admin to manage file access appropriately. Thanks for sharing your insights.]]></description>
		<content:encoded><![CDATA[<p>Federico &#8212; This is a great idea. Some commenters above are confused about the definition of a theme. If you define a theme as the presentation layer (layouts, view scripts, css, js) your method is great. I also don&#8217;t see security risks inherent to this approach &#8211; like it was stated above, it&#8217;s up to the server admin to manage file access appropriately. Thanks for sharing your insights.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-5392</link>
		<dc:creator><![CDATA[Greg]]></dc:creator>
		<pubDate>Thu, 01 Apr 2010 18:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-5392</guid>
		<description><![CDATA[This does not work so well if you are using the conventional modular structure.]]></description>
		<content:encoded><![CDATA[<p>This does not work so well if you are using the conventional modular structure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Federico</title>
		<link>http://blog.fedecarg.com/2009/09/20/adding-theme-support-to-your-zend-framework-application/#comment-5291</link>
		<dc:creator><![CDATA[Federico]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fedecarg.com/?p=1731#comment-5291</guid>
		<description><![CDATA[Default site = Full site
Custom site = Mobile site]]></description>
		<content:encoded><![CDATA[<p>Default site = Full site<br />
Custom site = Mobile site</p>
]]></content:encoded>
	</item>
</channel>
</rss>

