Share » Forums » Setup & design » Problems with section in a ezenum

Problems with section in a ezenum

Problems with section in a ezenum

Thursday 26 May 2005 11:17:46 am - 2 replies

Author Message

Ɓukasz Serwatka

Monday 30 May 2005 12:46:53 am

Hi,

Try with

{section show=eq( $node.object.data_map.list.content.enumobject_list.0.enumvalue, 'externo'}
    show for externo
{/section}

You will have to change numer 0 to 1 for Compra and 2 for Reserva and 'list' for your attribute name.

Enum datatype isn`t recommended, eZ publish support this datatype for backward compatibility.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Albert Hornos

Tuesday 31 May 2005 1:03:27 am

Thank you very much Lukasz it's worked perfectly!

Only one more thing, I shouldn't change the .0. , it's always the same. (perhaps someone need this code too)

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

36 542 Users on board!

Forums menu