Share » Forums » General » Function "is_empty" doesn't work...

Function "is_empty" doesn't work...

Function "is_empty" doesn't work...

Tuesday 25 October 2005 8:59:11 am - 3 replies

Author Message

Marko Žmak

Tuesday 25 October 2005 12:45:27 pm

Hm... where did you see that is_empty can be used. To check if an attibute has content use:

{$node.object.data_map.field1.has_content}

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Philip K.

Wednesday 26 October 2005 12:12:05 am

Hm, I found this line of code in another template which wasn't written by me...

But thanks a lot for your answer :)

Linux is like a wigwam; no windows, now gates, and apache inside!

Roy Bøhmer

Monday 31 October 2005 11:49:51 am

Hi!
For the record: I think is_empty can be used on xml-fields.

roy

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

36 542 Users on board!

Forums menu