Calling header tpl in another template

Author Message

H-Works Agency

Thursday 13 April 2006 6:51:02 am

Hi all

How can i call a template from a XML field.

For exemple in my template :

{'<header>My Header</header>'|ezxml()}

Would call :

<b>
./standard/templates/content/datatype/view/ezxmltags/header.tpl
</b>

This would allow me to replace texts titles by images titles on certain sites by overriding the above template in my siteaccess.

Martin Harispuru

EZP is Great

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