Skip to main content

Dynamic pages: one design for every team, player or item

A dynamic page is one design that PressBox uses for every item in a collection, such as every team, athlete or sponsor.

A
Written by Andy Crum

When to use this

  • Use a dynamic page when many items need the same design, such as every team or player. You edit one design, and every item's page changes.

  • To show details unique to one item, such as a player bio, add a field to that collection and show it with Fields. You do not need a separate page for that player.

Create a dynamic page

  1. Go to Sites → Pages and select New Page.

  2. Under Page type, choose Dynamic.

  3. Under Pages for, choose what the page is for: Teams, Athletes, Leagues, Events, Seasons, Authors, or one of your own collections.

  4. For teams, athletes, events and seasons, choose the League. New items in that league get a page automatically.

  5. Check the Route prefix, for example "teams". The dialog shows a sample URL.

  6. Enter a Title and select Create page.

  7. In the editor, open Fields in the block panel to add the item's details, such as its name or photo, to your blocks.

  8. To check the design with a real item, use the Preview entity picker and search by name.

  9. Save and Publish.

To keep an item off the site, select Page settings. Under Hidden items, select the checkbox beside the item. Use Filter items to find it in a long list. Select Save, and then publish the page. A hidden item has no page on your site.

Good to know

  • Names, photos and field values are read when a visitor opens the page, so data changes show without a publish.

Tip: Use the preview picker to check an item with missing data, for example a player with no photo, before you publish.

Did this answer your question?