<?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: Zend MVC Screencasts: Zend Layout, Controller, View and Db</title>
	<atom:link href="http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/feed" rel="self" type="application/rss+xml" />
	<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db</link>
	<description>thoughts on web development, technology and media</description>
	<lastBuildDate>Thu, 10 Jun 2010 13:07:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Robert Kraig</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-13401</link>
		<dc:creator>Robert Kraig</dc:creator>
		<pubDate>Sun, 28 Mar 2010 23:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-13401</guid>
		<description>I can&#039;t seem to find your Part 2 of your tutorial on setting up the db portion with the form posting etc.

By the way, i appreciate your screencasts  great deal.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to find your Part 2 of your tutorial on setting up the db portion with the form posting etc.</p>
<p>By the way, i appreciate your screencasts  great deal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-11276</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Thu, 29 Oct 2009 20:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-11276</guid>
		<description>Hi rags,

you could just use include_once(&#039;layout.phtml&#039;); if you wanted it to echo as is. Alternatively, you could write a view helper for part of the layout and include it as a plugin. There&#039;s a tutorial on Zendcasts that I believe covers this.</description>
		<content:encoded><![CDATA[<p>Hi rags,</p>
<p>you could just use include_once(&#8216;layout.phtml&#8217;); if you wanted it to echo as is. Alternatively, you could write a view helper for part of the layout and include it as a plugin. There&#8217;s a tutorial on Zendcasts that I believe covers this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rags</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-11253</link>
		<dc:creator>rags</dc:creator>
		<pubDate>Tue, 27 Oct 2009 11:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-11253</guid>
		<description>haii  jon 
I want to use include in layout.phtml to  include another file,
could you please let me know how to use it.</description>
		<content:encoded><![CDATA[<p>haii  jon<br />
I want to use include in layout.phtml to  include another file,<br />
could you please let me know how to use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lkimme</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-4826</link>
		<dc:creator>lkimme</dc:creator>
		<pubDate>Mon, 02 Feb 2009 15:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-4826</guid>
		<description>Thanks Jon, I was omitting the &#039;/&#039;. It works fine now.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks Jon, I was omitting the &#8216;/&#8217;. It works fine now.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-4825</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Mon, 02 Feb 2009 14:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-4825</guid>
		<description>Hi Ikimme, 

you could try just using the &#039;/&#039; (absolute path) as a starting point if your application is sitting on the root of your domain. another way is to use the $this-&gt;getBaseUrl() accessor as a way of making your paths absolute for loading images etc... you could look at this: http://www.scribd.com/doc/2302091/gettingstartedwithzendframework-150 as a way of doing it. Another way is just to set a variable in your registry with your absolute path and then call it using Zend_Registry::get(&#039;mypath&#039;) or whatever.

Good Luck!</description>
		<content:encoded><![CDATA[<p>Hi Ikimme, </p>
<p>you could try just using the &#8216;/&#8217; (absolute path) as a starting point if your application is sitting on the root of your domain. another way is to use the $this->getBaseUrl() accessor as a way of making your paths absolute for loading images etc&#8230; you could look at this: <a href="http://www.scribd.com/doc/2302091/gettingstartedwithzendframework-150" rel="nofollow">http://www.scribd.com/doc/2302091/gettingstartedwithzendframework-150</a> as a way of doing it. Another way is just to set a variable in your registry with your absolute path and then call it using Zend_Registry::get(&#8216;mypath&#8217;) or whatever.</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lkimme</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-4794</link>
		<dc:creator>lkimme</dc:creator>
		<pubDate>Thu, 29 Jan 2009 20:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-4794</guid>
		<description>Hi Jon, I like your screencasts a lot. Very, very helpful to me. 
I&#039;ve developed a problem when I try to use my layout.phtml file from a controller/subAction.
My layout.phtml file works fine if I try to render from a controller/indexAction function, but when I try to display from a controller/non-indexAction function the css files and image files that I link to all fail. 

I am including files in my controller/init() method like this:

        $response-&gt;insert(&#039;header&#039;, $this-&gt;view-&gt;render(&#039;header.phtml&#039;));

Again, it works fine in the controller/indexAction function,  but not in the controller/non-indexAction function.

Thanks for any help.</description>
		<content:encoded><![CDATA[<p>Hi Jon, I like your screencasts a lot. Very, very helpful to me.<br />
I&#8217;ve developed a problem when I try to use my layout.phtml file from a controller/subAction.<br />
My layout.phtml file works fine if I try to render from a controller/indexAction function, but when I try to display from a controller/non-indexAction function the css files and image files that I link to all fail. </p>
<p>I am including files in my controller/init() method like this:</p>
<p>        $response-&gt;insert(&#8216;header&#8217;, $this-&gt;view-&gt;render(&#8216;header.phtml&#8217;));</p>
<p>Again, it works fine in the controller/indexAction function,  but not in the controller/non-indexAction function.</p>
<p>Thanks for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-3562</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Thu, 04 Sep 2008 02:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-3562</guid>
		<description>great video! helped a ton!</description>
		<content:encoded><![CDATA[<p>great video! helped a ton!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-3024</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Fri, 13 Jun 2008 10:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-3024</guid>
		<description>Hi Mahmet, in the layout.phtml file, I&#039;m assuming that you&#039;re running the Zend Framework project on the document root:

&lt;link rel=&quot;stylesheet&quot; href=&quot;/public/css/main.css&quot; type=&quot;text/css&quot; /&gt;
&lt;/head&gt;

this may not be the case for you. Worse comes to worse, I would suggest using a tool like the firefox web developer toolbar and view the CSS to see if its loaded.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Mahmet, in the layout.phtml file, I&#8217;m assuming that you&#8217;re running the Zend Framework project on the document root:</p>
<link rel="stylesheet" href="/public/css/main.css" type="text/css" />
<p>this may not be the case for you. Worse comes to worse, I would suggest using a tool like the firefox web developer toolbar and view the CSS to see if its loaded.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehmet Ali</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-3014</link>
		<dc:creator>Mehmet Ali</dc:creator>
		<pubDate>Tue, 10 Jun 2008 17:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-3014</guid>
		<description>I have problem in this tutorial on Part - 2.
On time 02:01, there has been created a new.phtml file, and a link in article. But when I click to that link, o manually enter the http:/articlemanager/article/new to address bar, I can see the header and footer control but CSS doesn’t applied.

What is the problem???
Thanks.</description>
		<content:encoded><![CDATA[<p>I have problem in this tutorial on Part &#8211; 2.<br />
On time 02:01, there has been created a new.phtml file, and a link in article. But when I click to that link, o manually enter the http:/articlemanager/article/new to address bar, I can see the header and footer control but CSS doesn’t applied.</p>
<p>What is the problem???<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://lebensold.net/main/zend-mvc-screencasts-zend-layout-controller-view-and-db/comment-page-1#comment-2996</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Wed, 04 Jun 2008 17:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://jon.lebensold.ca/development/zend-mvc-screencasts-zend-layout-controller-view-and-db#comment-2996</guid>
		<description>Hi Ici,

looks like you&#039;re missing index.phtml in the views/scripts/index/ folder

just create one... I&#039;ll have to include that in my example.

also make sure that you have Options All set in your vhosts configration.

Good luck James!</description>
		<content:encoded><![CDATA[<p>Hi Ici,</p>
<p>looks like you&#8217;re missing index.phtml in the views/scripts/index/ folder</p>
<p>just create one&#8230; I&#8217;ll have to include that in my example.</p>
<p>also make sure that you have Options All set in your vhosts configration.</p>
<p>Good luck James!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
