Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Linking to the logout page from within the CMS?


Go to End


3 Posts   1315 Views

Avatar
flipsidenz

Community Member, 49 Posts

29 June 2011 at 9:14am

Just wondering how I can include a link to the /Security/logout page using a HTML editor inside one of my pages?

If I add a link, my options are:

- Select a page from the site tree (logout isn't in the tree)
- Link to an external website (forces http:// onto the front of the URL)

Therefore, I cannot easily link to the logout page.

Are there any ways of doing this from within the CMS?

Avatar
swaiba

Forum Moderator, 1899 Posts

29 June 2011 at 11:49pm

could you setup a redirector page (that redirects for Security/logout) and then link to that?

Avatar
flipsidenz

Community Member, 49 Posts

7 July 2011 at 8:00am

Thanks for the reply!

I thought I was going to be stuck with the same problem when using a redirector page, but then I realised just to use an absolute URL as a link to the logout page...http://mysite.com/Security/logout/

Simple, really :S

Thanks again