Usually the moment at which a site-owner decides that a particular page requires some editing is while he is looking at that very page on his site's front-end. To do so, he switches over to the back-end (admin panel) and hunts over for the target page and completes the edit.
The process would be much easier for him if you, as the site-designer, could place a link directly on the page itself clicking which would lead him straight to the admin-panel with the page in question ready for being edited.
It is actually very easy to do using the cms:admin_link tag. This tag has been around for quite sometime now but I don't see many people using it. Following is a snippet that can be placed at an appropriate place in any template to show such a link.
Notice that we output the link only after checking that the user is logged-in as an admin or higher.
The process would be much easier for him if you, as the site-designer, could place a link directly on the page itself clicking which would lead him straight to the admin-panel with the page in question ready for being edited.
It is actually very easy to do using the cms:admin_link tag. This tag has been around for quite sometime now but I don't see many people using it. Following is a snippet that can be placed at an appropriate place in any template to show such a link.
- Code: Select all
<cms:if k_user_access_level ge '7' >
<p><a target="_blank" href="<cms:admin_link />">EDIT</a></p>
</cms:if>
Notice that we output the link only after checking that the user is logged-in as an admin or higher.