<div dir="ltr">I'm not exactly sure what you are trying to achieve, but<div>try something like<div><div style="font-family:arial,sans-serif;font-size:13px">(:if equal "{$Groupspaced}" "Easy Catalog":)</div>

<div style="font-family:arial,sans-serif;font-size:13px">[[{$Group}/]]</div><div style="font-family:arial,sans-serif;font-size:13px">(:else:)</div><div style="font-family:arial,sans-serif;font-size:13px">[[{$Groupspaced}/]]</div>

<div style="font-family:arial,sans-serif;font-size:13px">(:ifend:)</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 October 2013 22:31, Matt Clinton <span dir="ltr"><<a href="mailto:mclinton@65bit.com" target="_blank">mclinton@65bit.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>So there is no way for me to do an if statement to decide on which variable to use? Our product does not have a space in the name which is why I don't want it to show with spaces, however if I change this to $Group variable it then messes it up for other pages as they do not have spaces anymore.</div>

<div><br></div><div>There must be a way to do this? Is it pmwiki's security that is stopping me from executing this in the tmpl file?</div><div><div class="im"><br><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">

<div>Regards,</div><div><br></div><div>Matt Clinton</div><div>65bit Software Limited</div><div><a href="http://www.65bit.com" target="_blank">www.65bit.com</a></div><div><br></div></div><br><br>
</div>
<br></div><div><div><div class="h5"><div>On 7 Oct 2013, at 10:22, Simon <<a href="mailto:nzskiwi@gmail.com" target="_blank">nzskiwi@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5">

<div dir="ltr">Only works within PmWiki pages themselves.<div>You can add this sort of markup in your page, properly that is where it should be (ie no content in template)</div></div></div></div><div class="gmail_extra">
<br>
<br><div class="gmail_quote"><div><div class="h5">

On 7 October 2013 22:09, Matt Clinton <span dir="ltr"><<a href="mailto:mclinton@65bit.com" target="_blank">mclinton@65bit.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word"><div><div class="h5">Hi,<div><br></div><div>I have been trying multiple methods of doing this, php IF statement, smarty IF statement and now the pmWiki IF statement used in the Cookbook. However it seems like pmwiki just is not executing my code but rather displaying it on the web page? If I put this in a separate file and include this file, the include line seems to look commented out when inspecting the element in a web browser.</div>



<div><br></div><div>Please find below the code I am using in my 'skin.tmpl' file:</div><div><br></div></div></div><div><div><div class="h5"><div><div id="content-container"></div><div><span style="white-space:pre-wrap">                   </span><div id="content"></div>



<div><span style="white-space:pre-wrap">                          </span><!--PageTitleGroupFmt--></div><div><span style="white-space:pre-wrap">                           </span><p class="grouptitle"></div><div><span style="white-space:pre-wrap">                                   </span>(:if equal "{$Groupspaced}" "Easy Catalog":)</div>



<div>    <span style="white-space:pre-wrap">                                    </span><a href='{$ScriptUrl}/{$Group}' class="pagegroup">{$Group}</a></div><div><span style="white-space:pre-wrap">                                     </span>(:else:)</div>


<div>
    <span style="white-space:pre-wrap">                                       </span><a href='{$ScriptUrl}/{$Group}' class="pagegroup">{$Groupspaced}</a></div><div><span style="white-space:pre-wrap">                                       </span>(:ifend:)</div>



<div><span style="white-space:pre-wrap">                          </span></p></div><div><span style="white-space:pre-wrap">                               </span><!--/PageTitleGroupFmt--></div><div><span style="white-space:pre-wrap">                  </span></div></div>



<div></div></div><div><br></div><div>If anyone could shed some light on this that would be great, I have attached an image of how it looks on the web page.</div><div><br></div></div></div><div><div><div><div class="h5">


<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">



<div>Regards,</div><div><br></div><div>Matt Clinton</div><div>65bit Software Limited</div><div><a href="http://www.65bit.com/" target="_blank">www.65bit.com</a></div><div><br></div></div></div></div><span><PastedGraphic-1.tiff></span><br>



<br>
</div>

<br></div></div></div><div class="im"><br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></div></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz/" target="_blank">http://kiwiwiki.co.nz</a>
</font></span></div>
</blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>