• Getting Started
  • Lessons
  • Developer Guides
  • Optional features
    • Advanced Workflow
    • Elemental blocks
    • Content Localisation with Fluent
    • GridField Bulk Editing Tools
    • GridField Extensions
    • Linkfield
      • Basic usage
      • Configuring links and link fields
      • Rendering links in templates
      • Gotchas
      • Migrating to silverstripe/linkfield v4
    • Login forms
    • Multi-factor authentication (MFA)
    • Non-blocking File-based Sessions
    • Queued Jobs
    • RealMe
    • Static Publish Queue
    • TagField
    • Taxonomies
    • Text Extraction
    • TOTP Authenticator
    • UserForms
    • WebAuthn Authenticator
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Optional features
  2. Linkfield
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

Linkfield#

On this page

  • Installation
  • GitHub repository

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

Installation#

bash
composer require silverstripe/linkfield

GitHub repository#

https://github.com/silverstripe/silverstripe-linkfield

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 v4

Guides for migrating or upgrading to silverstripe/linkfield v4

Edit on GitHub