• 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, Modifying and Casting Variables
      • 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
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Developer Guides
  2. Templates and Views
  3. How To's
Version 4End of Life

This version of Silverstripe CMS will not receive any additional bug fixes or documentation updates.

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