Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Subject attribute in bold type - threaded display, posted by Paolo on Thu Jan 16 11:39:42 2014 
    icon2.gif   Re: Subject attribute in bold type - threaded display, posted by Andreas Luedeke on Thu Jan 16 19:11:58 2014 
       icon2.gif   Re: Subject attribute in bold type - threaded display, posted by Stefan Ritt on Fri Jan 17 08:17:09 2014 
       icon2.gif   Re: Subject attribute in bold type - threaded display, posted by Paolo on Fri Jan 17 15:59:29 2014 
Message ID: 67656     Entry time: Fri Jan 17 15:59:29 2014     In reply to: 67654
Icon: Reply  Author: Paolo  Author Email: pivato@science.unitn.it 
Category: Question  OS: Linux  ELOG Version: 2.9.2-2455 
Subject: Re: Subject attribute in bold type - threaded display 

Andreas Luedeke wrote:

Paolo wrote:
Hi all,
I am successfully using ELOG V2.9.2-2455 to manage several laboratory logs.
I am looking for a way, if possible, to format the subject attribute in bold type while in thread display.
I've used the following code
Display Subject = <b>$subject</b>
with no success, then I've tried
Subst Subject = <b>$subject</b>
again with no success. It seems that the <b> tag is not iterpreted.
Have you any suggestion about this?
Thank you in advance.
Paolo

 
English (auto-detected) » English
 
T
Hi Paolo,
you've made two little errors, one is partly driven by a bug in the documentation:

1st: If you want to use HTML tags in the display of attributes, you need to add "Allow HTML = 1" in the configuration.

2nd: The proper command is not "Display <attribute> = ..." but "Change <attribute> = ...". It is actually correct in the documentation (Change <attribute> = <string>), but the example is wrong (Display Telephone = <a href="http://any.company.com/telbook.cgi?search=$Name">$Name's telephone number</a>)

Stefan should fix the example in https://midas.psi.ch/elog/config.html#attrib some day.

Cheers
Andreas

 

 

Dear Andreas,

thank you very much for your prompt reply and for you suggestions, which helped me to solve the problem. Now it's all working perfectly.

Cheers,

Paolo

ELOG V3.1.5-fe60aaf