Version 6 pre-stable
This version of Silverstripe CMS has not yet been given a stable release. See the release roadmap for more information. Go to documentation for the most recent stable version.

Linkfield

Make sure that your Silverstripe CMS installation has silverstripe/linkfield installed.

This module provides a Link model and CMS interface for managing different types of links. Including:

  • Emails
  • External links
  • Links to pages within the CMS
  • Links to assets within the CMS
  • Phone numbers
Basic usage
How to set up your link relations and fields
Configuring links and link fields
Advanced usage of the Link model and link fields
Rendering links in templates
How to render links in templates, and what templates to override
Gotchas
Behaviour or scenarios that might be unexpected, and how to deal with them
Migrating to silverstripe/linkfield
Guides for migrating to silverstripe/linkfield