Share » Forums » Setup & design » Wash of unwanted zeroes

Wash of unwanted zeroes

Wash of unwanted zeroes

Wednesday 02 February 2005 6:20:53 am - 2 replies

Author Message

Ɓukasz Serwatka

Wednesday 02 February 2005 6:36:50 am

Hi,

I didn`t test it but should work...

{*Checking if attribute is not 0*}
{section show=ne($node.object.data_map.your_attr_name.data_int, 0)}
    *blank*
{section-else}
    {attribute_view_gui attribute=$node.object.data_map.your_attr_name}
{/section}

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

Olav Bringedal

Thursday 03 February 2005 12:54:16 am

there you go...

my one track mind looking for solution in the wrong place. So simple, im ashamed i didnt think of that.

Thanks a lot for good and quick answer :)


Senior Consultant
http://Umoe-consulting.no

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

36 542 Users on board!

Forums menu