<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Smarty plugin pro Texy!</title>
	<link>http://vavru.cz/php/smarty-plugin-pro-texy/</link>
	<description>o e-commerce a všem co mě baví</description>
	<pubDate>Sat, 04 Apr 2026 01:30:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: d3x</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-763</link>
		<pubDate>Wed, 03 Oct 2007 15:44:28 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-763</guid>
					<description><p>&lt;texy&gt;Kdo chce návod bez  Zend Framework a plugins tak tady to je:</p>
<p>1.<br />
// načtení aplikace texy<br />
require_once (INSTALL_PATH.&quot;smarty/texy2/texy/texy.php&quot;);</p>
<p>$texy = new Texy();<br />
// načtení souboru &quot;syntax.texy&quot; obsahující texy text<br />
$txy = file_get_contents(&quot;syntax.texy&quot;);<br />
$html = $texy-&amp;#62;process($txy);<br />
$smarty-&amp;#62;assign(&#8217;texy&#8217;,$html);<br />
//<br />
?&amp;#62;</p>
<p>2. do šablony potom stačí vložit {$texy}<br />
3. toť vše :)
</p>
</description>
		<content:encoded><![CDATA[
<p>Kdo chce návod bez Zend Framework a plugins tak tady to je:</p>

<p>1.
<br />// načtení aplikace texy
<br />require_once
(INSTALL_PATH&#173;.&#8222;smarty/texy&#173;2/texy/texy.php&#8220;);</p>

<p>$texy = new Texy();
<br />// načtení souboru &#8222;syntax.texy&#8220; obsahující texy text
<br />$txy = file_get_conten&#173;ts(&#8222;syntax.te&#173;xy&#8220;);
<br />$html = $texy-&gt;process($txy);
<br />$smarty-&gt;assign(&#8218;texy&#173;&#8216;,$html);
<br />//
<br />?&gt;</p>

<p>2. do šablony potom stačí vložit {$texy}
<br />3. toť vše :)</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: Vlasta</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-762</link>
		<pubDate>Wed, 03 Oct 2007 06:18:44 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-762</guid>
					<description><p>&lt;texy&gt;[7]<br />
$texy = $smarty-&amp;#62;get_template_vars(‚texy‘);<br />
if($texy != null) {<br />
&#8230;<br />
}
</p>
</description>
		<content:encoded><![CDATA[
<p>[7]
<br />$texy = $smarty-&gt;get_template&#173;_vars(‚texy‘);
<br />if($texy != null) {
<br />&#8230;
<br />}</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: d3x</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-760</link>
		<pubDate>Tue, 02 Oct 2007 23:31:22 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-760</guid>
					<description><p>&lt;texy&gt;Ještě maličkost &#8212;&amp;#62; co by mělo být v podmínce místo: if(Zend::isRegistered(&#8217;texy&#8217;))
</p>
</description>
		<content:encoded><![CDATA[
<p>Ještě maličkost ---&gt; co by mělo být v&#160;podmínce místo:
if(Zend::isRe&#173;gistered(&#8218;texy&#173;&#8216;))</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: d3x</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-759</link>
		<pubDate>Tue, 02 Oct 2007 23:14:16 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-759</guid>
					<description><p>&lt;texy&gt;Díky
</p>
</description>
		<content:encoded><![CDATA[
<p>Díky</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: Vlasta</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-758</link>
		<pubDate>Tue, 02 Oct 2007 21:44:53 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-758</guid>
					<description><p>&lt;texy&gt;[4] Pak bych tedy nastavil instanci texy do Smarty:</p>
<p>$smarty-&gt;assign(&#8217;texy&#8217;, $texy);</p>
<p>a v pluginu bych místo řádky, která pracuje se Zendem uvedl:</p>
<p>$texy = $smarty-&gt;get_template_vars(&#8217;texy&#8217;);
</p>
</description>
		<content:encoded><![CDATA[
<p>[4] Pak bych tedy nastavil instanci texy do Smarty:</p>

<p>$smarty-&gt;assign(&#8218;texy&#8216;, $texy);</p>

<p>a v&#160;pluginu bych místo řádky, která pracuje se Zendem uvedl:</p>

<p>$texy = $smarty-&gt;get_template&#173;_vars(&#8218;texy&#8216;);</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: d3x</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-757</link>
		<pubDate>Tue, 02 Oct 2007 21:22:38 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-757</guid>
					<description><p>&lt;texy&gt;Jo díky za vysvětlení a nevíš jak by vypadal kód bez použití ZF - nepoužívám:( S php nejsem tak daleko ale rozumim.)
</p>
</description>
		<content:encoded><![CDATA[
<p>Jo díky za vysvětlení a nevíš jak by vypadal kód bez použití ZF
&#8211; nepoužívám:( S&#160;php nejsem tak daleko ale rozumim.)</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: Vlasta</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-756</link>
		<pubDate>Tue, 02 Oct 2007 21:08:38 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-756</guid>
					<description><p>&lt;texy&gt;Kod je spravne - jen je potreba si uvedomit, ze se v clanku pracuje se Zend Frameworkem. Pokud ZF nepouzivate, tak neni duvod Zend::register pouzivat (jedna se objektovou nahrazku globalnich promennych)
</p>
</description>
		<content:encoded><![CDATA[
<p>Kod je spravne &#8211; jen je potreba si uvedomit, ze se v&#160;clanku
pracuje se Zend Frameworkem. Pokud ZF nepouzivate, tak neni duvod Zend::register
pouzivat (jedna se objektovou nahrazku globalnich promennych)</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: d3x</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-755</link>
		<pubDate>Tue, 02 Oct 2007 20:45:53 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-755</guid>
					<description><p>&lt;texy&gt;Zdarvim, hezký plugin ale něják mi neni jistý tenhle řádek&#8230;<br />
- Zend::register(&#8217;texy&#8217;, $texy);</p>
<p>Nemá to být náhodou: $smarty-&amp;#62;assign(&#8217;texy&#8217;, $texy);</p>
<p>Jinak mi to hlásí chybu. Dík za radu
</p>
</description>
		<content:encoded><![CDATA[
<p>Zdarvim, hezký plugin ale něják mi neni jistý tenhle řádek&#8230;</p>

<ul>
	<li>Zend::register(&#8218;te&#173;xy&#8216;, $texy);</li>
</ul>

<p>Nemá to být náhodou: $smarty-&gt;assign(&#8218;texy&#8216;, $texy);</p>

<p>Jinak mi to hlásí chybu. Dík za radu</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
	<item>
		<title>by: Adam Heinrich</title>
		<link>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-4</link>
		<pubDate>Fri, 05 Jan 2007 15:57:53 +0000</pubDate>
		<guid>http://vavru.cz/php/smarty-plugin-pro-texy/#komentar-4</guid>
					<description><p>&lt;texy&gt;O Smarty jsem neslyšel, ale začíná se mi líbit:-)
</p>
</description>
		<content:encoded><![CDATA[
<p>O&#160;Smarty jsem neslyšel, ale začíná se mi líbit:-)</p>

<!-- generated by Texy! -->]]></content:encoded>
				</item>
</channel>
</rss>
