2.1.1releasedOutput Field

An input field with advanced data source output for mail addresses and URIs

Clone URLhttps://github.com/symphonists/output_field.git

Add as a submodulegit submodule add https://github.com/symphonists/output_field.git extensions/output_field --recursive




Output Field

This extension for Symphony CMS extends the default input field and offers an optimized data source output for mail addresses and URIs.

1. Mail address

Example output:

xml <mailaddress alias="sam.symphonian" domain="getsymphony.com" hash="9a6ea6ecaa6ce46c0dcfb8415993e638"> [email protected] </mailaddress>

Output parameters:

  • alias
  • domain
  • hash (useful for Gravatar integration)

2. URI

Example Output:

xml <website scheme="http" host="getsymphony.com">http://getsymphony.com</website>

Output parameters:

  • scheme, e.g. http
  • host
  • port
  • user
  • pass
  • path
  • query, after the question mark ?
  • fragment, after the hashmark #

See PHP documentation for details

Version history

Symphony 2.4.x to 2.x.x

  • Fix wrong schema namespace

Symphony 2.4.x to 2.x.x

  • Code cleanup
  • PHP 7 compatibility
  • Symphony 2.7 compatibility
  • Allow field to be set as 'required' in the section editor

Symphony 2.3.x to 2.6.x

  • Symphony 2.3 compatibility

Symphony 2.2.x to 2.2.5

  • Added extension.meta.xml

Symphony 2.0.6 to 2.1.x

  • Renamed field from advanced_input to output_field

Symphony 2.2.x to 2.2.5

  • Symphony 2.2 compatibility

Symphony 2.0.6 to 2.1.x

  • Initial release