User Tools

Site Tools


bigace:smarty_tags:link_logout

Table of Contents

{link_logout}

The {link_logout} TAG returns the URL to perform a logout for the current user.

After clicking the user will cmoe back to the current page, if he has read permissions. Otherwise he will be redirected to the homepage.

→ Since BIGACE 2.5.

Attributes

  • item - (optional, Item)

The Item to redirect to.

  • id - (optional, int)

The ID to redirect to.

  • language - (optional, String)

The language to redirect to.

  • cms - (optional, String)

The command to redirect to.

Example

This example shows how to show a logout link.

<html>
<head>
   <title>LOGOUT - Example</title>
</head>
<body>
   <a href="{link_logout}">Login</a>
</body>
</html>

For a full “admin links” example, see {permission_editcontent}.

bigace/smarty_tags/link_logout.txt · Last modified: 2009/10/20 12:18 by kevin