Forums / General / form creation / Comment37248

Author Topic

Max Keil

Wednesday 29 July 2009 3:35:40 pm

Comment37248

So your override rules already working?

If you call a link which is type of meeting_rfp class you can access the $node variable. This variable is automatically set by Exponential on the node view.

The attributes stored in this node are placed in $node.data_map:

{attribute_view_gui attribute=$node.data_map.first_name}
{attribute_view_gui attribute=$node.data_map.surname}

This displays the datatype view of this attribute. In most cases you can directly access the content by:

{$node.data_map.first_name.content}

You can also check if your variable has some content by:

{if $node.data_map.first_name.has_content}
...
{/if}

Try to use the attribute(show) operator for the variables it displays you the whole dump for this variable.
{$node.data_map.first_name|attribute(show)}
In most cases it helps you to resolve the problem.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh