Wednesday 02 May 2007 2:00:27 am
Hi, I've written an override template for ezobjectrelationlist.tpl. It works properly in the user siteaccess, but I get nothing in the admin siteaccess. This has got me puzzled. Can someone point me in the right direction? This is the override entry...
[ptw_edit_objectrelationdatatype]
Source=content/datatype/edit/ezobjectrelationlist.tpl
MatchFile=datatype/ptw_edit_ezobjectrelationlist.tpl
Subdir=templates
Match[class_identifier]=article
The datatype shows properly in user siteaccess, but not even a mention of the template in the admin siteaccess. (I'm looking at the same object from each siteaccess). Looking at the (admin siteaccess) debug output, I get:
eZTemplate: Loading template "content/datatype/edit/ezobjectrelationlist.tpl" with resource "design"
eZTemplate: Loading template <b>"content/datatype/edit/.tpl"</b> with resource "design"
Warning: eZTemplate:attribute_edit_gui May 02 2007 18:46:13
None of the templates design:content/datatype/edit/ezobjectrelationlist.tpl, design:content/datatype/edit/.tpl could be found
The ".tpl" looks very suspicious, but I can spot the source of the problem. Any thoughts gratefully accepted. This is driving me nuts!! - Paul
|