Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   author field in reply, posted by Aldo Saavedra on Sun Apr 15 22:53:41 2012 
    icon2.gif   Re: author field in reply, posted by A. Tuttle on Wed Apr 18 21:53:26 2012 
       icon2.gif   Re: author field in reply, posted by Ken Harvey on Tue Jun 19 04:02:43 2012 
          icon2.gif   Re: author field in reply, posted by Andreas Luedeke on Wed Jun 20 16:16:56 2012 
             icon2.gif   Re: author field in reply, posted by Ken Harvey on Thu Jun 21 05:29:59 2012 
Message ID: 67291     Entry time: Thu Jun 21 05:29:59 2012     In reply to: 67290
Icon: Reply  Author: Ken Harvey  Author Email: richard.harvey@l-3com.com 
Category: Question  OS: Linux  ELOG Version: 2.9.1-2435 
Subject: Re: author field in reply 

Andreas Luedeke wrote:

Ken Harvey wrote:

A. Tuttle wrote:
Look in https://midas.psi.ch/elog/config.html
--
Fun things to set are:
Preset on first reply <attribute> = <string>
and
Preset on reply <attribute> = <string>


I am a newbie to being the administrator to ELog, but have used it for a while now. We just updated and have the same issue with the reply now. Unfortunatley I am not much of a programmer, yet, still learning. In our config file it has "Preset Name = $long_name", "Preset Author = $long_name", "Preset on reply Author = $long_name". By looking in the Syntax of elogd.cfg section, it seems to be correct, but I am not sure. Can you give me a suggestion on how it should look? Or tell me why it is not working and lead me in the right direction on how to correctly set it up? Thank you for your time.


A common mistake is to think that "Author" is some kind of keyword: it is not.
You can use any defined attribute, if you want to use "Author" this attribute needs to be defined in the "Attributes=" command line.
Attributes = Author, ...
Then you can use the "Preset" command.
Preset Author = $long_name
Preset on reply Author = $long_name


I've just tested it with 2.9.0-2435 and it works fine.
If the following 4 line minimal logbook configuration does not work for 2.9.1, then please post again:
Attributes = Author
Preset Author = $long_name
Preset on reply Author = $long_name
Locked Attributes = Author

Cheers
Andreas


Thanks Andreas,

That cleared up a lot for me. With your information I was able to figure it out. I got rid of the Author and just went with Name, and now it all works good.

Again, thanks for your help,

Ken Harvey
ELOG V3.1.5-fe60aaf