Online Programme Page Templates¶
The online programme is generated using a set of Templates. These are referred to here as Page Templates.
The following Output types are used for Page Templates.
Template Output | Description |
---|---|
ItemPage | Used to create the content for a single item. |
ListPage | Used to create the content for a page that will display a list of items. |
ListPageItem | Use to display a single item in a ListPage. |
PageHeader | The template provides a consistent header for every page in the Programme. See Static Content Data Function. |
PageFooter | The template provides a consistent footer for every page in the Programme. See Static Content Data Function. |
PageMenu | The template provides a consistent menu for every page in the Programme. See Static Content Data Function. |
An Item Page will display the content for a single item such as a programme entry, a submission, a contributor etc. It can include any data from the item being displayed and data from associated objects
Example
If displaying data for a submission, then entries linked to that submission are also available.
A List Page will contain a number of list items of the same type. (E.g. Authors, Submissions etc). The List Page starts off by showing the first 20 items in the list and as users scroll, the list loads the next set of items. This ensures fast performance for very long lists e.g. List of Authors.
The ListPage template only defines the template for the list page and not the individual items in the List Page.
A List Page Item template defines the content to be displayed for a single item displayed in a List Page.
Each type of object has its own template.
Example
A Contributor has a separate template to a Submission. An Oral Session Entry has a different template to a Break Entry.
When building content, default templates are used.
Default templates can be replaced with custom templates witheach project. Custom templates can be created by logging in as an admin, visiting the relevant page in the Programme Browser, and clicking Edit Template on the Admin Toolbar.