14 Oct
1999
14 Oct
'99
5:09 p.m.
-=-=-=-=-= Question -=-=-=-=-=-
Can someone please point me to code that will
<> display an 'Edit this page' link on pages for which the viewer has edit permission <> redirect user to an 'edit & save' window <> hide the link from other users
Here's a better solution: <dtml-if "AUTHENTICATED_USER.has_permission('Edit', this())"> <p><font size="-1"><a href="manage_main">Edit Page</a></font> </dtml-if> -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~