Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Linking to the logout page from within the CMS?

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

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

Page: 1
Go to End
Author Topic: 749 Views
  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Linking to the logout page from within the CMS? Link to this post

    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?

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Linking to the logout page from within the CMS? Link to this post

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

  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Re: Linking to the logout page from within the CMS? Link to this post

    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

    749 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.