Jump to:

3435 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » $SilverStripeNavigator Shown At All Times

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

Page: 1
Go to End
Author Topic: 1131 Views
  • david.brunelle
    Avatar
    Community Member
    5 Posts

    $SilverStripeNavigator Shown At All Times Link to this post

    I'm facing an issue that I've seen mentioned, but can't seem to locate a resolution: SilverStripeNavigator (and SilverStripeNavigatorMessage) is being displayed at all times -- logged in or not. It's my understanding that this message should only be displayed under two circumstances:

    - When an Admin is logged in
    - When the site is in DEV mode

    Right now my site is in LIVE mode, but the message is being displayed at all times.

    Other info:
    - SilverStripe 2.4.5

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: $SilverStripeNavigator Shown At All Times Link to this post

    I believe it could also been shown if you have a cookie which indicates you previously had it displayed / logged in. You could check with a completely fresh browser / computer.

  • david.brunelle
    Avatar
    Community Member
    5 Posts

    Re: $SilverStripeNavigator Shown At All Times Link to this post

    It appears that it's more than a cookie issue... I was able to view it from a new session. For now I've just removed $SilverStripeNavigator. I'll continue to look into it. Thanks for the response!

  • openhoat
    Avatar
    Community Member
    1 Post

    Re: $SilverStripeNavigator Shown At All Times Link to this post

    Same problem, I did this in my template :

    <% if CurrentMember %>
       $SilverStripeNavigator
    <% end_if %>

    Hope this helps...

    1131 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.