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.

General Questions

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

"Published Site" and "Draft Sit" red boxes in tutorial


Reply

3 Posts   1146 Views

Avatar
Robert1970

13 June 2009 at 5:36pm Community Member, 4 Posts

I am trying to go through tutorial with 2.3.1 release. I try to understand how it works and one thing is not cleare. Probably it is silly question but where "Published Site" and "Draft Sit" red boxes are created. I look for them in Page.php and in Page.ss without success.

Please somebady help me explaining the mechanism of it? How to get rid of these boxes from the view.

Avatar
Robert1970

14 June 2009 at 5:20am Community Member, 4 Posts

I have found that myself ... $SilverStripeNavigator must be removed. That's all :)

Avatar
Willr

14 June 2009 at 9:51pm (Last edited: 14 June 2009 9:51pm), Forum Moderator, 5511 Posts

Note that $SilverStripeNavigator should only be shown when your site is in development or you are a logged in admin user, so it doesn't actually get shown to the site visitors, its just there to help navigating between the cms / page.