ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66310
|
Tue Apr 14 17:57:56 2009 |
| Erik Iverson | eiverson@ornl.gov | Question | Windows | 2.7.5-2187 | Re: Simple Math |
Stefan Ritt wrote: |
mike cianci wrote: |
Sorry to bother you. I could see in past Forum entries that the question of "Simple Math" has come up before, although the answers were not all that simple.
Can you do simple math (i.e. attribute A + attribute B = attribute C) in ELOG ?
Thank you for putting up with my questions.
Mike
|
No, you can't. The only way is to export a logbook to CSV, then import it in a spreadsheet program, then do the math there.
|
You can pass numerical attributes to an external command via "Execute new =...". This external command can then do the math and pass the result _back_ to the logbook either as a new entry or as an edit with the command-line client "elog".
For example, given a new entry with (numerical) attributes A and B, if you have
Execute new = add_them.pl $A $B $message id
in your elog.cfg file, then $A and $B will be passed to the add_them.pl perl script. Now have the perl script (or bc, or whatever you want to use) do the appropriate math and submit the result. For example, your perl script might include
$C=$A+$B
$D=$A*$B
elog -a C=$C ... -e "$message id" "Sum as edit"
elog -a D=$D ... "Product as new entry"
|
66500
|
Thu Aug 6 22:29:12 2009 |
| Erik Iverson | eiverson@ornl.gov | Question | All | 2.7.3 | Pre-populate Attachments in URL |
Is there a way to pre-populate the new entry window with one or more attachments? Per the documentation, this is easy to do with attributes, i.e., http://localhost:8070/demo/?cmd=New&pauthor=joe&ptype=Info as a URL or bookmark will do it. I'd like to do the same thing with attachments, for example http://localhost:8070/demo/?cmd=New&pauthor=joe&ptype=Photograph&attfile1=picture1.jpg&attfile2=picture2.jpg might prepopulate two attachments, giving me an edit window all ready to enter the brief description represented by the two pictures. |
66662
|
Thu Jan 7 21:41:43 2010 |
| Erik Iverson | eiverson@ornl.gov | Question | All | 2.7.8 | Any way to paste clipboard into entry? |
Is there any way to directly paste an image from a Windows clipboard into an elog entry page? It's obvious
for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
already onscreen. |
66667
|
Mon Jan 11 16:44:23 2010 |
| Erik Iverson | eiverson@ornl.gov | Question | All | 2.7.8 | Re: Any way to paste clipboard into entry? |
> > Is there any way to directly paste an image from a Windows clipboard into an elog entry page? It's obvious
> > for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
> > already onscreen.
>
> This is a limitation of the FCKEditor used inside ELOG, and actually of the whole browser concept under Windows.
> There are some extensions to Firefox which let your paste an image as an attachment, but none for doing this right
> into the text body. For some discussion about this have a look at
>
> http://forums.developer.mindtouch.com/showthread.php?t=188
>
> for example.
Hmmm. Well, does that mean that it is easier under Linux? I have to confess I couldn't figure that out either. But
I'd be delighted to have Yet Another Reason to tell the users that "it works under Linux, maybe you should switch...." |
69084
|
Wed Jan 22 19:35:36 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | HTML editor tools grayed out |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..

|
69086
|
Thu Jan 23 14:28:28 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | Re: HTML editor tools grayed out |
Thank yoy for responding back to me ... I run the excutable that I downloaded from the website .. How can I do the full directory tree with the ELOG JavaScript files??
Stefan Ritt wrote: |
This typically happens if you update only the executabe and not the full directory tree with the ELOG JavaScript files.
/Stefan
Ehab Fanous wrote: |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..

|
|
|
69095
|
Fri Jan 24 21:50:37 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | Re: HTML editor tools grayed out |
We just tested eLog and it works in Chrome but not in IE .. Is it a setting issue that we need to chnage on IE ?!
Stefan Ritt wrote: |
This typically happens if you update only the executabe and not the full directory tree with the ELOG JavaScript files.
/Stefan
Ehab Fanous wrote: |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..

|
|
|
66700
|
Tue Feb 2 21:52:00 2010 |
| Ed Rogers | edrogers@fnal.gov | Question | Linux | V2.7.5-213 | Backing up an entire eLog |
Hi, I've been using the ELOG software for about a year now. I love it! But as my ELOG becomes more valuable, I become more paranoid about potential data loss. (We've had numerous close-calls with disk failures, recently.) Is there a way to download a backup of my ELOG, all at once? Maybe a command that could create a tar.gz of all the entries and attachments? Further, is there also a command to restore from such a backup? Apologies if this question is answered elsewhere. I couldn't readily find it in the documentation. Regards, --Ed |