Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   changing raw style when empty attribute value, posted by Zbigniew Reszela on Thu Jul 14 19:53:13 2011 
    icon2.gif   Re: changing raw style when empty attribute value, posted by Stefan Ritt on Wed Jul 20 13:50:34 2011 
       icon2.gif   Re: changing raw style when empty attribute value, posted by Zbigniew Reszela on Wed Jul 20 17:38:16 2011 
Message ID: 67089     Entry time: Thu Jul 14 19:53:13 2011     Reply to this: 67090
Icon: Question  Author: Zbigniew Reszela  Author Email: zreszela@cells.es 
Category: Question  OS: All  ELOG Version: 2.8.1-1 
Subject: changing raw style when empty attribute value 

Dear all,

I wonder if anyone of you already tried to  change raw style in case of empty attribute value.

In my configuration file I have defined attribute "End date" (without quotation marks) and it's type is datetime.

How should I configure extra style for entries where this attribute doesn't have value.

My tries were:

Style End date = background-color:red

Style End date "" = background-color:red

Style End date " " = background-color:red

Style End date - = background-color:red

But they didn't work.

Any ideas?

ELOG V3.1.5-3fb85fa6