Creating a log out button at the .global_zone
|
Posted
#35597
(In Topic #8028)
|
|
|---|---|
|
Fan in action |
Creating a log out button at the .global_zoneReasons for doing that: 1. User need not to go back to the <Home> page to logout 2. Able to logout in any zones. |
|
Posted
|
|
|
ocStaff (admin) |
Code
<a href="{$PAGE_LINK*,:login:logout}">Logout</a>
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Nice solution Chris (of course). I tried it and it works. Just in case anyybody else is following the thread, I was encouraged to add it to my Admin Zone 'zone menu', and it works there as well.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Community saint |
Yes, and No! The "Admin Zone" zone menu was a recent introduction and isn't activated by default.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Community saint |
Probably. Take a look at topic #28145 on this page.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
ocStaff (admin) |
Code
{+START,IF,{$NOT,{$IS_GUEST}}}
For the first, try the MENU_ZONE template. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
PS: i edit the code at the menu_zone template |
1 guests and 0 members have just viewed this: None
Control functions:








