Reflection Field
A field to reflect its entry
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
- A lot depends on the field names provided in the formula matching your actual field names, so be careful with that.
- 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.
- 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.