Hi, nos: I think this is the same question I asked and then
answered for myself this morning. I couldn't find it in the docs
either.<br>
<br>
It's even simpler than your example, if I'm reading your question correctly - it's just:<br>
<br>
(:if auth edit pagename:) or (:if ! auth edit pagename:)<br>
<br>
BUT if you want a link on (for example) the Site.SideBar that will let the user edit Main/SomePage, then it really is just:<br>
<br>
(:if auth edit:)[[{$Name}?action=edit | Edit]]<br>
<br>
because a link in a SideBar acts as if it were a link right on on the
page that is being viewed. You probably already knew this - this
probably isn't what you meant. <br>
<br>
If you want a link on Site.SideBar that will let the user edit Site.SideBar, then the new syntax is good. Then it's<br>
<br>
(:if auth edit Site.SideBar:)[[Site.SideBar?action=edit | Edit SideBar]]<br>
<br>
Hope that answers your question.<br>
<br>
Tegan<br><br><div><span class="gmail_quote">On 4/3/06, <b class="gmail_sendername">noskule</b> <<a href="mailto:noskule@gmx.net">noskule@gmx.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi list<br>is it somhow possible to say:<br><br>if auth edit of page=pagename<br><br>?<br>I would like to add a edit button (and some others) to the sidebars. And<br>the sidebars have not the same attributes like the wikipage itself.
<br><br>thanks for any suggestions<br>nos</blockquote></div><br>