Author:
buzzomatic
Version:
1.0.11
Released:
11 April 2011
Category:
Field Types

Description

The Reflection Field lets you define an XPath to create a new value from the XML data of other fields.

For example, if you have a section with two fields "First Name" and "Last Name", you could use a Reflection Field to create a "Full Name" field by setting its expression to {entry/first-name} {entry/last-name}.

Notes

  1. A lot depends on the field names provided in the formula matching your actual field names, so be careful with that.
  2. If you ever change the formula for an instance of the field, you'll have to re-save every entry to recalculate the field's value.
  3. In the Expression, anything between a set of {} is treated as an XPath.

Changelog

Version 1.0.11, 11 April 2011

  • Force tables to be created with the MyISAM table engine.

Version 1.0.10, 4 March 2011

  • Fixed a sanitisation issue on publish pages.
  • Made compatible with Symphony 2.2.

Version 1.0.9, 1 November 2010

  • Bug with usage of appendFormattedElement fixed by michael-e.

Version 1.0.8, 9 December 2009

  • Some bug fixes and code cleanup.

Version 1.0.7, 21 August 2009

  • Fixed column sorting issues.
  • Added more filter modes.

Version 1.0.6, 23 April 2009

  • Added a search: filter method to allow you to use boolean type searching.

Version 1.0.5, 30 March 2009

  • Fixed a number of possible encoding issues.

Repository

http://github.com/rowan-lewis/reflectionfield/tree/1.0.11

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