• Getting Started
  • Lessons
  • Developer Guides
    • Model and Databases
    • Templates and Views
      • Template Syntax
      • Common Variables
      • Requirements
      • Rendering data to a template
      • Template Inheritance
      • Themes
      • Caching
      • Translations
      • Formatting, Casting, and Escaping Variable Content
      • Generating Unique Keys
      • Partial Template Caching
      • How To's
        • How to Create a Navigation Menu
        • How to Create a Paginated List
        • Disable Anchor Rewriting
    • Controllers
    • Forms
    • Configuration
    • Extending Silverstripe CMS
    • Testing
    • Debugging
    • Performance
    • Security
    • Email
    • Integration and Web Services
    • Search
    • i18n
    • Files
    • Customising the Admin Interface
    • Execution pipeline
    • Command Line Interface
    • Cookies and Sessions
    • Graphql
    • Deprecating code
  • Optional features
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Developer Guides
  2. Templates and Views
  3. How To's
Version 5Supported

This version of Silverstripe CMS is still supported though will not receive any additional features.

Go to documentation for the most recent stable version

How to's: templates and views#

How to Create a Navigation Menu

Build a multi-tiered navigation UI.

How to Create a Paginated List

Break up the result of a database query into multiple pages

Disable Anchor Rewriting

Get more control over how hash links are rendered.

Edit on GitHub