<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Adding Functionality to Templates</title>
	<link>http://jackborn.com/blog/2005/06/05/adding-functionality-to-templates/</link>
	<description>Marketing, entrepreneurship, php programming</description>
	<pubDate>Tue, 06 Jan 2009 01:05:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: Administrator</title>
		<link>http://jackborn.com/blog/2005/06/05/adding-functionality-to-templates/#comment-4</link>
		<pubDate>Tue, 07 Jun 2005 18:23:45 +0000</pubDate>
		<guid>http://jackborn.com/blog/2005/06/05/adding-functionality-to-templates/#comment-4</guid>
					<description>Rajan,
I'm sorry that this solution didn't work for you.  It's most likely an issue with your server setup, or something found in php.ini, which you won't have access to in a shared hosting environment.

By the way, there are many shared hosting providers that will give you the ability to use mod_rewrite.

I suggest in your situation to move the code relating to cookies to the part of your theme that comes just before the first html is output.  This might be in the header.php file, but will completely depend on the theme you're using.</description>
		<content:encoded><![CDATA[<p>Rajan,<br />
I&#8217;m sorry that this solution didn&#8217;t work for you.  It&#8217;s most likely an issue with your server setup, or something found in php.ini, which you won&#8217;t have access to in a shared hosting environment.</p>
<p>By the way, there are many shared hosting providers that will give you the ability to use mod_rewrite.</p>
<p>I suggest in your situation to move the code relating to cookies to the part of your theme that comes just before the first html is output.  This might be in the header.php file, but will completely depend on the theme you&#8217;re using.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Rajan R</title>
		<link>http://jackborn.com/blog/2005/06/05/adding-functionality-to-templates/#comment-3</link>
		<pubDate>Mon, 06 Jun 2005 18:02:53 +0000</pubDate>
		<guid>http://jackborn.com/blog/2005/06/05/adding-functionality-to-templates/#comment-3</guid>
					<description>I can't use StaticJack simply because I can't mod_rewrite - I'm shared hosted. And the method you suggested above doesn't work - the same error still crops out. This is how I did it:


...




As well as putting the remaining PHP code in sidebar.php. Doesn't work. Nor does it work if I put the include_once before get_header(). Nor would it would if I put include_once in sidebar.php. Nor would it work putting the whole code on index.php</description>
		<content:encoded><![CDATA[<p>I can&#8217;t use StaticJack simply because I can&#8217;t mod_rewrite - I&#8217;m shared hosted. And the method you suggested above doesn&#8217;t work - the same error still crops out. This is how I did it:</p>
<p>&#8230;</p>
<p>As well as putting the remaining PHP code in sidebar.php. Doesn&#8217;t work. Nor does it work if I put the include_once before get_header(). Nor would it would if I put include_once in sidebar.php. Nor would it work putting the whole code on index.php
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
