<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    It may be possible to intercept the if code and find out what
    condition pmwiki is evaluating, which should give information about
    what is happening. Try this in local/config.php:<br>
    <br>
    $CondTextReplacement = "MyTempRepl(\$pagename, \$m[0], \$m[1])";<br>
    function MyTempRepl($pagename, $text, $code='') {<br>
      echo $text;<br>
      return CondText2($pagename, $text, $code);<br>
    }<br>
    <br>
    If I am reading stdmarkup.php correctly, this should echo the
    contents of the if code at the time the conditional is evaluated,
    which will show whether the var has been evaluated as intended.<br>
    <br>
    JR<br>
    <br>
    <div class="moz-cite-prefix">On 2/04/15 12:07 AM, Criss Ittermann
      wrote:<br>
    </div>
    <blockquote
      cite="mid:C0D32FC7-E5AF-4212-BE1F-19340240063B@kinhost.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="">I'm trying to figure out why this is returning false
        ("To be announced."):</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">(:if exists Profile-Data.{Members/Hosts$:{(ftime
          "%Y%m")}} :)</div>
        <div class="">...</div>
        <div class="">(:else:)</div>
        <div class="">To be announced.</div>
        <div class="">(:ifend:)</div>
        <div class=""><br class="">
        </div>
        <div class=""><br class="">
        </div>
        <div class="">When the following returns a fully functioning
          link to the correct page, which exists:</div>
        <div class=""><br class="">
        </div>
        <div class="">[[Profile-Data.{Members/Hosts$:{(ftime "%Y%m")}}]]</div>
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">What am I doing wrong?</div>
      <br class="">
      <div apple-content-edited="true" class="">
        <p style="margin: 0.0px 0.0px 0.0px 0.0px" class=""><font
            style="font: 12.0px Comic Sans MS" class="" face="Comic Sans
            MS" size="3">Crisses</font></p>
        <p style="margin: 0.0px 0.0px 0.0px 0.0px" class=""><br class="">
        </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
John Rankin
Affinity Limited
T +64 4 495 3737
M +64 21 726 546</pre>
  </body>
</html>