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: 67092     Entry time: Wed Jul 20 17:38:16 2011     In reply to: 67090
Icon: Reply  Author: Zbigniew Reszela  Author Email: zreszela@cells.es 
Category: Question  OS: All  ELOG Version: 2.8.1-1 
Subject: Re: changing raw style when empty attribute value 

Stefan Ritt wrote:

Zbigniew Reszela wrote:

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?

This functionality was not implemented. I added it in SVN revision #2420, so it will be contained in the next release.

Thanks a lot Stefan

ELOG V3.1.5-3fb85fa6