<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 class="gmail_extra"><br><br><div class="gmail_quote">

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><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>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 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 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><img height="207" width="262" src="cid:F6D07B4D-3E82-428E-81EE-F0ABA48E7DF9@popcorn"><br>

<br>
</div>

<br></div></div></div><br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">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></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>