Navigation

  • index
  • next |
  • previous |
  • Sulu 1.4 documentation »
  • Reference »
  • Content Type Reference »

Single internal link¶

Description¶

Shows a field, on which exactly one link to another page can be assigned.

Parameters¶

No parameters available

Example¶

<property name="link" type="single_internal_link">
    <meta>
        <title lang="en">Link</title>
    </meta>
</property>

Usage¶

Currently this content type only returns the UUID of the target page. In order to construct a link to the page use:

{% set target = sulu_content_load(content.myLink) %}

Then target.content will give you access to the URL and other properties of the target page.

Logo

Table of Contents

  • The Book
  • Cookbook
  • Reference
    • Parameter Reference
    • System Requirements for Running Sulu
    • Content Type Reference
      • Block
      • Category list
      • Checkbox
      • Color
      • Date
      • Email
      • Internal links
      • Location
      • Media selection
      • Multiple Select
      • Contact selection
      • Password
      • Phone
      • Resource locator
      • Single internal link
      • Single Select
      • Smart content
      • Snippet
      • Tag list
      • Text area
      • Text editor
      • Text line
      • Time
      • URL
      • Teaser Selection
    • Twig Extensions
    • Document Manager
    • Glossary
  • Bundles
  • Developer Guide

Related Topics

  • Documentation overview
    • Reference
      • Content Type Reference
        • Previous:
          Resource locator
        • Next:
          Single Select

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • Sulu 1.4 documentation »
  • Reference »
  • Content Type Reference »