• Getting Started
  • Developer Guides
  • Optional features
    • Advanced Workflow
    • Elemental blocks
    • Content Localisation with Fluent
    • GraphQL
    • GridField Bulk Editing Tools
    • GridField Extensions
    • TinyMCE HTML editor
    • Linkfield
      • Basic usage
      • Configuring links and link fields
      • Rendering links in templates
      • Gotchas
      • Migrating to silverstripe/linkfield
    • Login forms
    • Multi-factor authentication (MFA)
    • Queued Jobs
    • RealMe
    • Static Publish Queue
    • TagField
    • Taxonomies
    • Text Extraction
    • TOTP Authenticator
    • UserForms
  • Upgrading
  • Changelogs
  • Contributing
  • Project Governance
  1. Optional features
  2. Linkfield
Version 6Supported

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

Guides for migrating to silverstripe/linkfield

Edit on GitHub