Page behaviour
When you add a page in SilverStripe CMS you can determine the page behaviour, which includes the type of page it will be and whether the page is displayed in menus or in the results of a search. Page type determines the fields available for that page and whether the page has any custom purpose. Other than Page type, the remaining page behaviour fields are looked at below (for more information on page types, refer to Page Types).
- Click on the Site Content icon
to display the Site Content window - Locate or add the required page (for more information, refer to Finding a Page or Adding a Page)
- Click on the page, in the My Site pane, to display the contents and properties in the Edit Page pane
- Click on the Behaviour tab in the Edit Page pane
The Behaviour options are displayed…
- Click on the drop arrow
for Page type and select an option from the list (for more information, refer to Page types) - Click on the tick box for Show in menus and/or Show in search to select or deselect the option(s)
Use the following table to help determine if you want these options selected…
| Option | Description |
|---|---|
| Show in menus | The structure of a site map largely determines the lists or menus that parent pages will display on the published site. That is, these lists or menus (on the published site) are determined by the navigation labels of their children pages. If you do not want a page to be displayed as a part of a menu, then you need to remove the tick from this option. |
| Show in search | If you do not want a particular page to be retrieved as the result of a search by a browser, then you need to remove the tick from this option. |
