<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 4:32 AM, Jont Allen <span dir="ltr"><<a href="mailto:jontalle@illinois.edu" target="_blank">jontalle@illinois.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":84q" style="overflow:hidden">Next I added the following construction to the default home page:<br>


<br>
(:if enabled AuthId:)<br>
body text<br>
(:ifend:)<br>
<br>
I then logged in as admin:<br>
   ...?action=admin<br>
The login appeared to be successful.<br>
<br>
1) How do you know if the login is successful?<br>
<br>
2) Once logged in, my test construction failed to display "body text"<br>
<br>
Summary: using the default pmwiki download, I am not able to successfully use the<br>
  (:if enabled AuthId:)...(:ifend:)<br>
construction.<br>
<br>
I suspect that the variable $AuthId is not "true" for some reason.</div></blockquote></div><br>According to the page <a href="http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup">http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup</a> the way to check if you are logged in is</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">(:if authid:)</div><div class="gmail_extra">-or, with slightly different semantics-</div><div class="gmail_extra">(:if auth <level> <pagename>:)</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">There is no mention of:</div><div class="gmail_extra"><br></div><div class="gmail_extra">(:if enabled AuthId:)</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Do note the case of authid and auth as well.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Can you tell us if these conditionals work in your scenario?</div><div class="gmail_extra"><br></div><div class="gmail_extra">

-Peter</div></div>