Using templates more than once?

Author Message

Clemens T

Wednesday 11 May 2005 2:45:31 am

Heya all,
I was wondering if it is possible for me to specify more than one section/node/class for a template. It would be redundant to copy the templates I'd say. Please let me know if this is possible, so if I edit this one template, both pages will change.
Greets,
Clemens
ps: I'm not afraid of the ini files, so if it's only possible through there I'd love to hear it;).

edit: obviously I'm talking about an override here.

Giovanni Gigante

Wednesday 11 May 2005 2:55:01 am

Unless I'm missing something in your question...
Yes, you can.
Just create all the overrides you need, pointing to the same template file.

In certain cases (e.g. same templates for different siteaccesses, thus in different directories) I have also found convenient to use simlinks in the file system ("ln -s" in unix).

Clemens T

Wednesday 11 May 2005 3:22:53 am

OK, but can I do this in the admin-interface or?
I'm now creating the several templates as override for full.tpl, and I see I can edit them and load the defaults, but I can't really seem to change the file they're pointing to.

Sorry if this is a newbie question, just learning ezPublish :).

Thank you very much for your help,
Clemens

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