Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to insert new entry between two entries., posted by Daniel Roldan on Mon Nov 3 15:28:41 2014 
    icon2.gif   Re: How to insert new entry between two entries., posted by David Pilgram on Mon Nov 3 17:14:44 2014 
    icon2.gif   Re: How to insert new entry between two entries., posted by Andreas Luedeke on Tue Nov 4 14:51:20 2014 
Message ID: 67711     Entry time: Mon Nov 3 17:14:44 2014     In reply to: 67710
Icon: Reply  Author: David Pilgram  Author Email: David.Pilgram@epost.org.uk 
Category: Question  OS: Linux  ELOG Version: 2.9.2 
Subject: Re: How to insert new entry between two entries. 

Daniel Roldan wrote:

 I would like to put between two entries a new entry.

My Users forgot to put a entry, and now they would like to put a new entry between olders entries.

For Example:

We have 10 entries order by Id:

300

301

302

...

 

They want to put between the entry 300 and 301 a new entry.

Is possible to do this feature?

 

Thanks! 

There is nothing within elog itself to insert entry 310 between 300 and 301.  If you allow branching in your logbook. make a second reply to entry 300, and add in the missing details.  That entry will always be there as a reply to 300, but not obviously between 300 and 301.

From this point, any way to improve matters will require editing of the log files (default location /usr/local/elog/logbooks).  I should warn that editing these files can cause problems, including elog to crash, and spotting your error can take a lot of effort.  I speak from experience. I suggest that you have a look at a few entries, the layout of the entries etc first, and if you're still up for it I'll give a quick spin on how to improve the tidyness of how your entires look with 310 inserted between 300 and 301.

I should add what I would write only applies for certain for linux users, as it is my OS of choice.

ELOG V3.1.5-fe60aaf