Skip to content

symphonists/entry_url_field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entry URL Field

Installation

  1. Upload the 'entry_url_field' folder in this archive to your Symphony 'extensions' folder.
  2. Enable it by selecting the "Field: Entry URL", choose Enable from the with-selected menu, then click Apply.
  3. The field will be available in the list when creating a Section.

Usage

When adding this field to a section, the following options are available to you:

  • Anchor Label is the text used for the hyperlink in the backend. An <entry id="123">...</entry> nodeset is provided from which you can grab field values, just as you would from a datasource. For example:

    Link to "{entry/name}"

  • Anchor URL is the URL of your entry view page on the frontend. An <entry id="123">...</entry> nodeset is provided from which you can grab field values, just as you would from a datasource. For example:

    /members/profile/{entry/name/@handle}/

  • Open links in a new window enforces the hyperlink to spawn a new tab/window

  • Hide this field on publish page hides the hyperlink in the entry edit form

Credits

Big thanks to Rowan Lewis' Reflection Field, which comprises about 90% of this code! Thx.