Author:
Nitriques
Version:
1.0.0
Released:
27 October 2014
Category:
Field Types, Interface, and Workflow

Description

Entry Relationship Field

Version: 1.0

A new way to create master-details (parent-child) relationships with Symphony's sections.

SPECS

  • Supports multiple sections for the same relationship.
  • Offers developers the possibility to create xslt templates for the field's backend UI.
  • Offers a modal UI in order to create/edit for the children.
  • Compatible with Symphony associations.
  • Supports multiple level (recursive) of associations.
  • Aims to be compatible with all fields.

TODO

  • Advanced filtering and sorting.

REQUIREMENTS

  • Symphony CMS version 2.5.1 and up (as of the day of the last release of this extension)

INSTALLATION

  • git clone / download and unpack the tarball file
  • Put into the extension directory
  • Enable/install just like any other extension

You can also install it using the extension downloader. Just search for entry_relationship_field.

For more information, see http://getsymphony.com/learn/tasks/view/install-an-extension/

HOW TO USE

  • Go to the section editor and add an Entry Relationship field.
  • Give it a name.
  • Select at least one section that will be permitted as children.
  • Select also the fields you want to be available in the backend templates and data sources.
  • Create backend templates in the workspace/er-templates folder.
    • The name of the filed must be section-handle.xsl
    • Protip: add ?debug to backend url to see the available xml for each entry.
  • (Optional) Select an xsl mode to be able to support multiple templates for the same section.
  • (Optional) Select a maximum recursion level for nested fields.
  • (Optional) Select a minium and maximum number of elements for this field.

There is also a screen cast available

AKNOWLEDGMENTS

This field would not have been created if some other people did not released some really cool stuff. We would like to thanks everybody that contributed to those projects:

We basically trashed things that were not necessary and re-implemented things that we liked from those extensions.

LICENSE

MIT http://deuxhuithuit.mit-license.org

Voila !

Come say hi! -> https://deuxhuithuit.com/

Available on http://symphonyextensions.com/extensions/entry_relationship_field/

Repository

https://github.com/DeuxHuitHuit/entry_relationship_field

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details