ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

attribute_view_gui

Summary

Outputs the view template for a content object attribute.

Usage

{attribute_view_gui attribute=attribute [ parameter=value [...] ]}

Parameters

NameTypeDescriptionRequired
attribute object The target content object attribute. Yes.
parameters any Parameter(s) that will be passed to the included template. No.

Description

This function shows the view interface for a content object attribute. The attribute must be specified (as a "ezcontentobjectattribute" object) using the "attribute" parameter. All other parameters (of any type) will be passed on and thus become available as template variables in the included template.

Balazs Halasy (06/02/2004 1:14 pm)

Balazs Halasy (28/04/2005 2:12 pm)


Comments

  • Exemple

    Hello,

    It would be usefull to have an exemple on how to use parameter with attribute_view_gui function.

    Thank
    • Re: Exemple

      In your calling template you do something like:

      {attribute_view_gui attribute=$node.object.data_map.file link_text='Download'}

      Then in your attribute template you can access this variable by doing something like:

      {$link_text}