Wednesday 03 September 2003 2:43:33 pm
I have an extension with a module, datatype and design directory. The design directory contains the edit,view tpl files for the datatype. The path, as expected, is:
extension/mymodule/design/standard/templates/content/datatype/view/mydatatype.tpl extension/mymodule/design/standard/templates/content/datatype/edit/mydatatype.tpl I thought i could override this file in the normal manner, so in my override file I have:
[new_datatype_view]
Source=content/datatype/view/mydatatype.tpl
MatchFile=content/datatype/view/mydatatype.tpl Subdir=templates With the new tpl located at: design/user/templates/content/datatype/view/mydatatype.tpl but this doesnt work. Checking the templates section within the admin shows me that the override is there but that the original view .tpl is actually overriding itself, and not the expected tpl. This of course means i cannot view my datatype with my new code. Has anyone else seen this? Paul
|