<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: check variables</title>
			<link>http://www.silverstripe.org/archive/show/202209?start=0#post202279</link>
			<description>&lt;p&gt;thanks &lt;br /&gt;But as it turned out the problem in another&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;l have next code on my ProdHolder.ss&lt;br /&gt;&amp;lt;% control Children %&amp;gt;&lt;br /&gt;&amp;lt;div class=&quot;ProdBl&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;prev&quot;&amp;gt;&amp;lt;a href=&quot;$Link&quot; title=&quot;$Title.XML&quot;&amp;gt;$Photo.SetWidth(150)&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;Prodtext&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h4&amp;gt;&amp;lt;a href=&quot;$Link&quot; title=&quot;$Title.XML&quot;&amp;gt;$Title&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Content&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Linkwww&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% if Linkwww %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;Linkwww&quot;&amp;gt;&amp;lt;a href=&quot;http://{$Linkwww}&quot;&amp;gt;$Linkwww&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% end_if %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;clear1&quot;&amp;gt;&amp;lt;!-- --&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;my ProdHolder.ss does not see $Linkwww from Children Pages&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: check variables &lt;a href=&quot;http://www.silverstripe.org/archive/show/202209?start=0#post202279&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/202209?start=0#post202279&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 15 Oct 2008 23:41:29 +1300</pubDate>
			<dc:creator>fiord</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/202209?start=0#post202279</guid>
		</item>
		
		<item>
			<title>Re: check variables</title>
			<link>http://www.silverstripe.org/archive/show/202209?start=0#post202272</link>
			<description>&lt;p&gt;How are you defining your variable?&lt;/p&gt;&lt;p&gt;Test it out with:&lt;br /&gt;&amp;lt;% if Content %&amp;gt;&lt;br /&gt;This page has content!&lt;br /&gt;&amp;lt;% end_if %&amp;gt;&lt;/p&gt;&lt;p&gt;That should work.&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;If blocks (&lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=templates&quot;&gt;http://doc.silverstripe.com/doku.php?id=templates&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;&amp;lt;% if Property %&amp;gt;&lt;br /&gt;&amp;lt;% end_if %&amp;gt;&lt;/p&gt;&lt;p&gt;If blocks let you mark off optional content in your template. The optional content will only be shown if the requested field / method returns a nonzero value.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: check variables &lt;a href=&quot;http://www.silverstripe.org/archive/show/202209?start=0#post202272&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/202209?start=0#post202272&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 15 Oct 2008 23:33:22 +1300</pubDate>
			<dc:creator>Piklets</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/202209?start=0#post202272</guid>
		</item>
		
		<item>
			<title>check variables</title>
			<link>http://www.silverstripe.org/archive/show/202209#post202209</link>
			<description>&lt;p&gt;hi&lt;br /&gt;How can I check in the template *.ss one of the variables if it is empty?&lt;br /&gt;I try&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;% if Linkwww %&amp;gt;&lt;br /&gt;  &amp;lt;div class=&quot;Linkwww&quot;&amp;gt;&amp;lt;a href=&quot;http://{$Linkwww}&quot;&amp;gt;$Linkwww&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;% end_if %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;but nothing goes&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: check variables &lt;a href=&quot;http://www.silverstripe.org/archive/show/202209#post202209&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/202209#post202209&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 15 Oct 2008 21:47:34 +1300</pubDate>
			<dc:creator>fiord</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/202209#post202209</guid>
		</item>
		

	</channel>
</rss>