Choose the node/view override into the admin interface

Author Message

David P

Monday 09 October 2006 1:56:05 am

Hello,

I would like to know how create dynamically a node/view override.

For example, I would like to choose a template with a specific attribute into the Class.

Thanks for advance !

Claudia Kosny

Thursday 12 October 2006 5:29:45 am

Hi David

I am not exactly sure what you mean. If you want to create an override based on the content of an attribute this is not possible as far as I know.
The only way I know would be to fetch the node and the content of the attribute thatcontains the information about the override to use. Then you could use the {node_view_gui function and then set the view parameter deping on the attribute content. But this is not possible to do via the admin interface, you would have to write that in the template.

Greetings from Luxembourg

Claudia

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