Forums / Setup & design / Shorten functionality with attribute view gui not works!

Shorten functionality with attribute view gui not works!

Author Message

Daniele Nocentini

Tuesday 14 June 2005 3:26:25 am

Is possible to apply the shorten functionality to the attribute_view_gui, example:

{attribute_view_gui attribute=$:item.object.data_map.intro|shorten(150)}

This is a xml field for article intro and not works, the article's intro not truncate after 150 characters.

Antica Bottega Digitale srl
http://www.abd.it

François Xavier Lacroix

Tuesday 14 June 2005 3:44:34 am

it never works for me...
actually, i use {view_node_gui...}, with
{$node.data_map.texte.content.output.output_text|shorten(150)} to display the xml field...
regards.