Share » Forums » Setup & design » Display long name in template

Display long name in template

Display long name in template

Monday 30 October 2006 2:26:06 am - 2 replies

Author Message

Mark Marsiglio

Monday 30 October 2006 4:27:32 am

The short name is a special node "name" that is set as the identifier of the node.

The long name is usually a different attribute (most commonly a text line) that has to be called as an attribute.

I usually use something like:

{$node.object.data_map.name.content|wash()}

where "name" is the name of the attribute that contains the long name.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Andreas Kaiser

Monday 30 October 2006 7:38:38 am

Thanks it works!

I had to change a lot of fetches, but this way seo will be better in the template.

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu