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   1203 Views

Avatar
Robert1970

Community Member, 4 Posts

13 June 2009 at 5:36pm

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

Community Member, 4 Posts

14 June 2009 at 5:20am

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

Avatar
Willr

Forum Moderator, 5513 Posts

14 June 2009 at 9:51pm

Edited: 14/06/2009 9:51pm

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.