public class $.symphonyDuplicator

symphony.duplicator.js

Duplicators are advanced lists used throughout the Symphony backend to manage repeatable content.

				$('.duplicator').symphonyDuplicator({
					orderable: true,
					collapsible: true
				});

Methods

static symphonyDuplicator(Object $options, String $options.instances, String $options.templates, String $options.headers, String $options.perselect, Boolean $options.orderable, Boolean $options.collapsible, Boolean $options.constructable, Boolean $options.destructable, Integer $optionss.minimum, Integer $options.maximum, Integer $options.delay)

Duplicators are advanced lists used throughout the Symphony backend to manage repeatable content.

				$('.duplicator').symphonyDuplicator({
					orderable: true,
					collapsible: true
				});
Parameters
  • $options ObjectAn object specifying containing the attributes specified below

  • $options.instances StringSelector to find children to use as instances

  • $options.templates StringSelector to find children to use as templates

  • $options.headers StringSelector to find the header part of each instance

  • $options.perselect StringDefault option for the selector

  • $options.orderable BooleanCan instances be ordered

  • $options.collapsible BooleanCan instances be collapsed

  • $options.constructable BooleanAllow construction of new instances

  • $options.destructable BooleanAllow destruction of instances

  • $optionss.minimum IntegerDo not allow instances to be removed below this limit

  • $options.maximum IntegerDo not allow instances to be added above this limit,

  • $options.delay IntegerTime delay for animations

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