Attribute 'title' for tag 'Field' in userspecific Guppy XML layout not parsed...
Attribute 'title' for tag 'Field' in userspecific Guppy XML layout not parsed...
Posted: 22.06.2007, 21:20
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
To ensure multi-langual backend, e.g. when creating or editing a new publication, we wanted to use a DEFINE _CONSTANT in the userspecific Guppy XML Layout for the attribute 'title' in the 'Field' tag.
This as written up in the Guppy Manual chapter 4 Form Layout, references.
However, the attribute 'title' as specified in our XML layout spec in the publications directory is not rendered in the pubedit form...
Seems function XML_parse is not parsing this attribute.
Anyone knows why?
As workaround we inserted following code in pagesetter/guppy/guppy.php line 2207:
if (defined($fieldTitle)) {
$fieldTitle = constant($fieldTitle);
}
The language constant has been added in the language/eng/global.php.
We would however like the pagesetter / Guppy 'clean' way and using the XML layout file for compatibility purposes.
Thx in advance and regards
Maarten
www.umphakatsi.com
Pretoria, South Africa
empowerment by employment