From 4500a3a4b5b2cc1ac66f47e9ba58fa9fd04f5071 Mon Sep 17 00:00:00 2001 From: Alexander Rutz Date: Tue, 15 Aug 2017 19:35:47 +0200 Subject: [PATCH] Fix field caption (#37) and thus 1.D https://github.com/symphonists/reflectionfield/issues/35 --- extension.meta.xml | 3 +++ fields/field.reflection.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/extension.meta.xml b/extension.meta.xml index 582b506..73f8ae8 100644 --- a/extension.meta.xml +++ b/extension.meta.xml @@ -17,6 +17,9 @@ + + - Fix field caption and thus `1.D` in https://github.com/symphonists/reflectionfield/issues/35 + - Fix issues with xslt functions diff --git a/fields/field.reflection.php b/fields/field.reflection.php index b03329e..1fd3347 100755 --- a/fields/field.reflection.php +++ b/fields/field.reflection.php @@ -142,7 +142,7 @@ public function displaySettingsPanel(XMLElement &$wrapper, $errors = null) $help->setAttribute('class', 'help'); $help->setValue(__(' - To access the other fields, use XPath: {entry/field-one} static text {entry/field-two}. + To access the other fields, use XPath: {//entry/field-one} static text {//entry/field-two}. ')); $label->appendChild($help);