Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Single Button Entry, posted by Geoff Ellis on Tue Feb 16 04:17:24 2010 
    icon2.gif   Re: Single Button Entry, posted by Yoshio Imai on Thu Feb 18 18:50:57 2010 
    icon2.gif   Re: Single Button Entry, posted by Capt. Ben Smith on Sun Feb 28 07:25:10 2010 
       icon2.gif   Re: Single Button Entry, posted by Stefan Ritt on Wed Mar 3 14:29:08 2010 
Message ID: 66727     Entry time: Wed Mar 3 14:29:08 2010     In reply to: 66725
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: All  ELOG Version: 2280 
Subject: Re: Single Button Entry 

Capt. Ben Smith wrote:

Geoff Ellis wrote:

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

 This would be of value for me as well. I'm trying to develop a event log for a research ship. Thanks. -ben

There are several ways:

1) Use conditional attributes (see https://midas.psi.ch/elog/config.html#conditional). If you have several standard entries, put the into the option list of a "type" attribute. Then depending on that value, you can pre-populate other attributes/options. This is then not a single-button solution, but a single-click plus one selection from a drop-down list solution which should be pretty close.

2) You can make a bookmark in your browser. Take the URL of the logbook, add "?cmd=New" and then for each attribute you can select a preset value using "&p<attribute>=<value>". So for example on the demo logbook you can use

https://midas.psi.ch/elogs/Linux+Demo/?cmd=New&ptype=Routine&pcategory=General&pauthor=Ellis 

which opens the new entry dialog, and pre-set values for Type, Category and Author. Then you can make several bookmarks for different standard entries.

- Stefan

ELOG V3.1.5-fe60aaf