<?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>Kommentare zu: Smarty Tutorial</title>
	<atom:link href="http://speanet.info/webentwicklung/smarty-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://speanet.info</link>
	<description>Ein Blog rund um das Thema PHP/MySQL sowie Linux und andere mögige Sachen.</description>
	<lastBuildDate>Thu, 25 Mar 2010 18:25:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Von: Spea</title>
		<link>http://speanet.info/webentwicklung/smarty-tutorial/comment-page-1/#comment-92</link>
		<dc:creator>Spea</dc:creator>
		<pubDate>Thu, 18 Jun 2009 01:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://test.speanet.info/webentwicklung/smarty-tutorial/#comment-92</guid>
		<description>Unter Windows kann es sein, dass du den Pfad anpassen musst, entweder du gibst einen absoluten Pfad an (ala $smarty-&gt;cache_dir = &#039;c:\pfad\zum\cache\&#039;;) oder du musst nen relativen Pfad angeben, sowas wie $smarty-&gt;cache_dir = &#039;..\cache\&#039;;</description>
		<content:encoded><![CDATA[<p>Unter Windows kann es sein, dass du den Pfad anpassen musst, entweder du gibst einen absoluten Pfad an (ala $smarty-&gt;cache_dir = &#8216;c:\pfad\zum\cache\&#8217;;) oder du musst nen relativen Pfad angeben, sowas wie $smarty-&gt;cache_dir = &#8216;..\cache\&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Timo</title>
		<link>http://speanet.info/webentwicklung/smarty-tutorial/comment-page-1/#comment-91</link>
		<dc:creator>Timo</dc:creator>
		<pubDate>Tue, 09 Jun 2009 17:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://test.speanet.info/webentwicklung/smarty-tutorial/#comment-91</guid>
		<description>Fatal error: Smarty error: the $cache_dir &#039; /cache/&#039; does not exist, or is not a directory. in C:\homepage\xampp\htdocs\browsergame\Smarty\libs\Smarty.class.php on line 1113



warum ? 
ich hab alles genauso gemacht wie im TUT (eig copy-paste)
$smarty-&gt;cache_dir = &#039; /cache/&#039;;

und direkt in mein verzeichnis liegt auch ein cache ordner</description>
		<content:encoded><![CDATA[<p>Fatal error: Smarty error: the $cache_dir &#8216; /cache/&#8217; does not exist, or is not a directory. in C:\homepage\xampp\htdocs\browsergame\Smarty\libs\Smarty.class.php on line 1113</p>
<p>warum ?<br />
ich hab alles genauso gemacht wie im TUT (eig copy-paste)<br />
$smarty-&gt;cache_dir = &#8216; /cache/&#8217;;</p>
<p>und direkt in mein verzeichnis liegt auch ein cache ordner</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Charles</title>
		<link>http://speanet.info/webentwicklung/smarty-tutorial/comment-page-1/#comment-76</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 06 Apr 2009 16:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://test.speanet.info/webentwicklung/smarty-tutorial/#comment-76</guid>
		<description>danke.
habs mir mal angeschaut ... und scheint nicht ganz das zu sein, nachdem ich gesucht hatte. Habe jetzt ne Klasse gebaut, die von Smarty erbt und dann alles &quot;globale&quot; drin definiert.

&lt;pre&gt;if( !empty ($_REQUEST[&#039;showmeallstuff&#039;])) {
   define(&#039;DEBUGMODE&#039;, 1);
}

// load Smarty library
require_once ( &#039;smarty/Smarty.class.php&#039; );

class Template extends Smarty{
     function Template(){
       $this-&gt;Smarty();

       $this-&gt;template_dir   = &#039;tpl&#039;;
       $this-&gt;compile_dir    = &#039;_tpl_compile&#039;;
               $this-&gt;config_dir     = &#039;_config&#039;;
       $this-&gt;cache_dir      = &#039;_cache&#039;;
                     if(DEBUGMODE == 1)
           $this-&gt;debugging = true;
       else
           $this-&gt;debugging = false;
       }
   }
}
&lt;/pre&gt;


Vielleicht hilfts ja wem anderes auch weiter. </description>
		<content:encoded><![CDATA[<p>danke.<br />
habs mir mal angeschaut &#8230; und scheint nicht ganz das zu sein, nachdem ich gesucht hatte. Habe jetzt ne Klasse gebaut, die von Smarty erbt und dann alles &#8220;globale&#8221; drin definiert.</p>
<pre>if( !empty ($_REQUEST['showmeallstuff'])) {
   define('DEBUGMODE', 1);
}

// load Smarty library
require_once ( 'smarty/Smarty.class.php' );

class Template extends Smarty{
     function Template(){
       $this->Smarty();

       $this->template_dir   = 'tpl';
       $this->compile_dir    = '_tpl_compile';
               $this->config_dir     = '_config';
       $this->cache_dir      = '_cache';
                     if(DEBUGMODE == 1)
           $this->debugging = true;
       else
           $this->debugging = false;
       }
   }
}
</pre>
<p>Vielleicht hilfts ja wem anderes auch weiter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Spea</title>
		<link>http://speanet.info/webentwicklung/smarty-tutorial/comment-page-1/#comment-75</link>
		<dc:creator>Spea</dc:creator>
		<pubDate>Sun, 05 Apr 2009 21:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://test.speanet.info/webentwicklung/smarty-tutorial/#comment-75</guid>
		<description>Das geht meist recht einfach mit einem sogenannten Postfilter, ich bin mir aber nicht sicher ob das dann auch mit dem {debug} noch funktioniert.
Hier jedenfalls mal der Link http://www.smarty.net/manual/en/advanced.features.postfilters.php</description>
		<content:encoded><![CDATA[<p>Das geht meist recht einfach mit einem sogenannten Postfilter, ich bin mir aber nicht sicher ob das dann auch mit dem {debug} noch funktioniert.<br />
Hier jedenfalls mal der Link <a href="http://www.smarty.net/manual/en/advanced.features.postfilters.php" rel="nofollow">http://www.smarty.net/manual/en/advanced.features.postfilters.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Charles</title>
		<link>http://speanet.info/webentwicklung/smarty-tutorial/comment-page-1/#comment-74</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Sun, 05 Apr 2009 18:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://test.speanet.info/webentwicklung/smarty-tutorial/#comment-74</guid>
		<description>auch ich muss mich vielmals für den guten Einstieg bedanken.
Frage:
Wenn ich über eine bestimmte GET Variable die DebugKonsole ausgegeben haben möchte, wie sollte ich das am besten machen??? (will aber nicht in jeder Datei schreiben: if(GET_[XXX] == ) ...)</description>
		<content:encoded><![CDATA[<p>auch ich muss mich vielmals für den guten Einstieg bedanken.<br />
Frage:<br />
Wenn ich über eine bestimmte GET Variable die DebugKonsole ausgegeben haben möchte, wie sollte ich das am besten machen??? (will aber nicht in jeder Datei schreiben: if(GET_[XXX] == ) &#8230;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
