Overriding an extension datatype tpl

Overriding an extension datatype tpl

Wednesday 03 September 2003 2:43:33 pm - 2 replies

Modified on Wednesday 03 September 2003 3:14:56 pm by Paul Forsyth

Author Message

Hans Melis

Thursday 04 September 2003 7:46:48 am

Hi Paul,

I'm just taking a guess here, but what happens when you put the new tpl in:

extension/mymodule/design/user/....

If that doesn't work, try putting it in the override/templates of the design and clear the override cache.

--
Hans

Hans
http://blog.hansmelis.be

Paul Forsyth

Thursday 04 September 2003 8:06:58 am

Thanks Hans,

Getting closer...

The admin interface now recognises the new override when i put the file into 'extension/design/user/...' but it fails to override when i try to view. Cache is clear. Even having the file back in 'design/user' doesn't work.

Im wondering if it has something to do with the wrong resource being used. For other regular overrides the resource is:

"Default template resource design/user/override/templates"

While my extension override has this resource:

"Default template resource extension/mymodule/design/user/override/templates"

I am not finding any errors from this.

Ez, can you comment?

Paul

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.