<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Site Builders'</title>
		<link>http://www.silverstripe.com/site-builders-forum/</link>
		

		
		<item>
			<title>Re: if with or, or somethings else ;-)</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=74089</link>
			<description>Thanx, for this idea.&lt;br /&gt;&lt;br /&gt;I will try to do so ;-)&lt;br&gt;&lt;br&gt;Posted to: if with or, or somethings else ;-)</description>
			<pubDate>Fri, 16 May 2008 19:03:53 +1200</pubDate>
			<author>Sven Niwolik</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=74089</guid>
		</item>
		
		<item>
			<title>Re: if with or, or somethings else ;-)</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=73945</link>
			<description>Are the breaks determined by the menu items themselves or just the position? If its the menu items, you could add a new field to the relevant page type called 'MenuSpace', then use the value of that field in your if statement to decide whether to insert a space above the item.&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;bruce&lt;br&gt;&lt;br&gt;Posted to: if with or, or somethings else ;-)</description>
			<pubDate>Fri, 16 May 2008 11:04:13 +1200</pubDate>
			<author>Bruce Bowden</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=73945</guid>
		</item>
		
		<item>
			<title>Re: if with or, or somethings else ;-)</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=73712</link>
			<description>does no one have an idea?&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: if with or, or somethings else ;-)</description>
			<pubDate>Fri, 16 May 2008 01:52:39 +1200</pubDate>
			<author>Sven Niwolik</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/70006?showPost=73712</guid>
		</item>
		
		<item>
			<title>if with or, or somethings else ;-)</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/70006</link>
			<description>Hello @all!&lt;br /&gt;&lt;br /&gt;I have a simple menu, but I wanted to have some spaces between at some positions.&lt;br /&gt;&lt;br /&gt;like:&lt;br /&gt;***********&lt;br /&gt;Home&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Contact&lt;br /&gt;Impress&lt;br /&gt;&amp;lt;br /&amp;gt;&lt;br /&gt;News&lt;br /&gt;***********&lt;br /&gt;&lt;br /&gt;So, I have to inklude:&lt;br /&gt;&amp;lt;% if Pos = 2 %&amp;gt;&lt;br /&gt;  &amp;lt;li style=&quot;height: 5px;&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;% end_if %&amp;gt;&lt;br /&gt;&lt;br /&gt;But for the secound spacer I wouldn't like to write:&lt;br /&gt;&amp;lt;% if Pos = 4 %&amp;gt;&lt;br /&gt;  &amp;lt;li style=&quot;height: 5px;&quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;% end_if %&amp;gt;&lt;br /&gt;&lt;br /&gt;How can I made this with only one if-statement?&lt;br /&gt;&lt;br /&gt;&amp;lt;% if Pos = 2 || Pos = 4 %&amp;gt;&lt;br /&gt;&amp;lt;% if (Pos = 2) || (Pos = 4) %&amp;gt;&lt;br /&gt;&amp;lt;% if Pos = 2 or Pos = 4 %&amp;gt;&lt;br /&gt;&amp;lt;% if (Pos = 2) or (Pos = 4) %&amp;gt;&lt;br /&gt;has the only effect that the site will be blank. ;-)&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: if with or, or somethings else ;-)</description>
			<pubDate>Mon, 12 May 2008 05:50:46 +1200</pubDate>
			<author>Sven Niwolik</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/70006</guid>
		</item>
		

	</channel>
</rss>
