<?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/"
		>
<channel>
	<title>Comments on: Per Module Zend_Layout</title>
	<atom:link href="http://dustint.com/archives/28/feed" rel="self" type="application/rss+xml" />
	<link>http://dustint.com/archives/28</link>
	<description>Tales Of A (Former) SFU Computing Scientist</description>
	<lastBuildDate>Sat, 06 Feb 2010 20:08:20 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DA</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-179</link>
		<dc:creator>DA</dc:creator>
		<pubDate>Mon, 19 Oct 2009 09:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-179</guid>
		<description>I did the following:

created a LayoutPlugin.php in the modules folder.
included that into the public/index.php
/setup the layout
Zend_Layout::startMvc(array(
‘layoutPath’ =&gt; APPLICATION_PATH . ‘modules/default/layouts/scripts’,
‘layout’ =&gt; ‘layout’
));

$layoutModulePlugin = new Module_LayoutPlugin();
$layoutModulePlugin-&gt;registerModuleLayout(’admin’,’../application/admin/layouts’);

$controller-&gt;registerPlugin($layoutModulePlugin);

and it keeps giving me an error

Fatal error: Class &#039;Zend_Controller_Front&#039; not found in C:\wamp\www\project\public\index.php on line 20</description>
		<content:encoded><![CDATA[<p>I did the following:</p>
<p>created a LayoutPlugin.php in the modules folder.<br />
included that into the public/index.php<br />
/setup the layout<br />
Zend_Layout::startMvc(array(<br />
‘layoutPath’ =&gt; APPLICATION_PATH . ‘modules/default/layouts/scripts’,<br />
‘layout’ =&gt; ‘layout’<br />
));</p>
<p>$layoutModulePlugin = new Module_LayoutPlugin();<br />
$layoutModulePlugin-&gt;registerModuleLayout(’admin’,’../application/admin/layouts’);</p>
<p>$controller-&gt;registerPlugin($layoutModulePlugin);</p>
<p>and it keeps giving me an error</p>
<p>Fatal error: Class &#8216;Zend_Controller_Front&#8217; not found in C:\wamp\www\project\public\index.php on line 20</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EM</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-174</link>
		<dc:creator>EM</dc:creator>
		<pubDate>Mon, 05 Oct 2009 21:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-174</guid>
		<description>Thanks - it was easy to follow.</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; it was easy to follow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deitrich Zook</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-110</link>
		<dc:creator>Deitrich Zook</dc:creator>
		<pubDate>Wed, 16 Sep 2009 04:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-110</guid>
		<description>Thanks for showing the short simple way and the more extensive way using individual layouts for various modules.   I am going to use the simple way for the time being as I only have one controller in the new module that needs a custom layout.  

For anyone wanting an example based on this one, there is an example here:
http://www.zfforums.com/zend-framework-components-13/model-view-controller-mvc-21/disable-layout-entire-module-1723.html</description>
		<content:encoded><![CDATA[<p>Thanks for showing the short simple way and the more extensive way using individual layouts for various modules.   I am going to use the simple way for the time being as I only have one controller in the new module that needs a custom layout.  </p>
<p>For anyone wanting an example based on this one, there is an example here:<br />
<a href="http://www.zfforums.com/zend-framework-components-13/model-view-controller-mvc-21/disable-layout-entire-module-1723.html" rel="nofollow">http://www.zfforums.com/zend-framework-components-13/model-view-controller-mvc-21/disable-layout-entire-module-1723.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gites France</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-77</link>
		<dc:creator>Gites France</dc:creator>
		<pubDate>Fri, 07 Aug 2009 10:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-77</guid>
		<description>Thanks - it was easy to follow.</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; it was easy to follow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Chen</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-65</link>
		<dc:creator>Andrew Chen</dc:creator>
		<pubDate>Tue, 28 Jul 2009 01:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-65</guid>
		<description>hello! How do I get ahold of you? I&#039;d like to talk more.

Here&#039;s my bio: http://andrewchenblog.com/about/

Write me back at voodoo at gmail, please. Thanks.</description>
		<content:encoded><![CDATA[<p>hello! How do I get ahold of you? I&#8217;d like to talk more.</p>
<p>Here&#8217;s my bio: <a href="http://andrewchenblog.com/about/" rel="nofollow">http://andrewchenblog.com/about/</a></p>
<p>Write me back at voodoo at gmail, please. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Layout: Layouts pro Modul &#124; patrickburke.de</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-64</link>
		<dc:creator>Zend_Layout: Layouts pro Modul &#124; patrickburke.de</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-64</guid>
		<description>[...] kurze Google Suche ergab, dass man sich einfach ein Front Controller Plugin schreiben kann, das vor dem Dispatchen abhängig [...]</description>
		<content:encoded><![CDATA[<p>[...] kurze Google Suche ergab, dass man sich einfach ein Front Controller Plugin schreiben kann, das vor dem Dispatchen abhängig [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Layouts Per Module In Zend &#171; Rakiz Random Ramblings</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-62</link>
		<dc:creator>Layouts Per Module In Zend &#171; Rakiz Random Ramblings</dc:creator>
		<pubDate>Wed, 15 Jul 2009 05:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-62</guid>
		<description>[...] Views From the Hill has an excellent tutorial to do exactly that. Building upon these two resources with further improvement your directory structure might look like this: /application /config /layouts /scripts /models /modules /default /controllers /views /admin /controllers /layouts /scripts /views /stats /controllers /views [...]</description>
		<content:encoded><![CDATA[<p>[...] Views From the Hill has an excellent tutorial to do exactly that. Building upon these two resources with further improvement your directory structure might look like this: /application /config /layouts /scripts /models /modules /default /controllers /views /admin /controllers /layouts /scripts /views /stats /controllers /views [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Layouts Per Module In Zend &#171; Rakiz Random Ramblings</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-61</link>
		<dc:creator>Layouts Per Module In Zend &#171; Rakiz Random Ramblings</dc:creator>
		<pubDate>Sat, 09 May 2009 11:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-61</guid>
		<description>[...] Views From the Hill has an excellent tutorial to do exactly that. Building upon these two resources with further improvement your directory structure might look like this: /application /config /layout /scripts /models /modules /default /controllers /views /admin /controllers /layouts /scripts /views /stats /controllers /views [...]</description>
		<content:encoded><![CDATA[<p>[...] Views From the Hill has an excellent tutorial to do exactly that. Building upon these two resources with further improvement your directory structure might look like this: /application /config /layout /scripts /models /modules /default /controllers /views /admin /controllers /layouts /scripts /views /stats /controllers /views [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Newweapon&#8217;s Trace &#187; [??]??????modular?????layout</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-52</link>
		<dc:creator>Newweapon&#8217;s Trace &#187; [??]??????modular?????layout</dc:creator>
		<pubDate>Sun, 30 Nov 2008 09:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-52</guid>
		<description>[...] http://dustint.com/archives/28 http://www.nabble.com/Zend-Layou &#8230; min-td19340002.html http://www.zfforums.com/zend-fra [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://dustint.com/archives/28" rel="nofollow">http://dustint.com/archives/28</a> <a href="http://www.nabble.com/Zend-Layou" rel="nofollow">http://www.nabble.com/Zend-Layou</a> &#8230; min-td19340002.html <a href="http://www.zfforums.com/zend-fra" rel="nofollow">http://www.zfforums.com/zend-fra</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://dustint.com/archives/28/comment-page-1#comment-49</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 16 Nov 2008 03:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://dustint.com/?p=28#comment-49</guid>
		<description>Thanks for showing me how to do this.</description>
		<content:encoded><![CDATA[<p>Thanks for showing me how to do this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
