Forums / Developer / Custom tags..where to override?

Custom tags..where to override?

Author Message

K259

Tuesday 29 November 2005 5:53:50 am

I need to know where I shall put the custom tags I made.

If I put them under design/standard/templates/content/datatype/view/ezxmltags I guess that my tags are deleted when I upgrade..

Where shall I put my own custom tags, and where do I write in config which path to the custom tags to use?

Hope someone can help me with this..

I'm totally confused over the override-system of ez.

Łukasz Serwatka

Wednesday 30 November 2005 2:53:15 am

Here is everything very well explained:

http://ez.no/products/ez_publish_cms/documentation/customization/components/datatypes/ezxmltext/custom_tags

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

K259

Wednesday 30 November 2005 3:04:50 am

Yes, but not so clear anyway. I have default the standard-tags in:
design/standard/templates/content/datatype/view/ezxmltags

And I have added a couple of tags here, and added the tags in content.ini.
BUT, shall I instead create my own tags in:
design/user/templates/content/datatype/view/ezxmltags ? and create another content.ini?

Łukasz Serwatka

Wednesday 30 November 2005 3:09:39 am

Put custom tag tpl files in your design directory, not in standard, and define them in your overridden content.ini.append.php file. That's all.

design/your_design/templates/content/datatype/view/ezxmltags/

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

K259

Wednesday 30 November 2005 3:29:50 am

Great! Tnx :)