"Edit this page" only for admins.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"Edit this page" only for admins.

Pedro <Nabble>
Edit your macro_viewer_page_link like this:
<override_macro name="macro_viewer_page_link">
     <a href="[n.macro_viewer_page_path/]" id="edit_link" rel="nofollow" style="display:none;">Edit this page</a>
     <n.visible_for_admins selector="#edit_link" />
</override_macro>
My test forum.