ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68689
|
Mon Oct 2 12:55:18 2017 |
| Tim Schelfhout | tim.schelfhout@fixbrussel.be | Question | Windows | ELOG V3.1.3-fd7 | Format Form |
Hello there,
I am trying to format my entry form a little bit more practical and readable. I am struggling with the following:
- Numbers should be standard fields of 3 characters and can only be 3 characters wide (doing this by Format Leeftijd=1, css, 3, 3)
- Text Entry fields should be max. width of 15 characters ?
Also struggling with mutliple fields on one line:
- Can Spacing between fields be controlled? Even vertical spacing?
- When omitting the css in the Format syntax, the fieldname and field gets colored dark blue
.. found via css inspection a part solution using "Format Leeftijd=1, attribname, 3, 3", which solves the field title
but then the value still gets colored dark blue
Also I see that when one formats the entry field in edit mode it shows differently in list mode. (for example set width is not enforced in list mode)
Anyone ?
|
68688
|
Wed Sep 20 16:34:18 2017 |
| Ben Shepherd | ben.shepherd@stfc.ac.uk | Request | Linux | 3.1.0-2411f95 | Email fields - accept semicolons too |
My elog has a field for entering a list of email addresses, which goes into the "Email All" attribute. They need to be comma-separated, and an error is thrown if semicolons are used instead. Would it be possible to automatically change semicolons into commas before attempting to send the mail via SMTP? Neither character is allowed in email addresses so it shouldn't break anything to just do that silently. Thanks! |
68687
|
Fri Sep 15 15:16:42 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | 3.1.2 | Re: Elog System Requirements |
Hi Alan,
we run our ELOG server (38 GB Logbook data in about 50 logbooks dating back up to 16 years) on a virtual Linux box.
The memory is important, since ELOG scans through all entries and creates an index at start-up. But we have only about 6% used out of 2GB: ELOG is not very demanding. If you have many and large pictures attached, then "convert" needs a bit of memory to work with.
Since "elogd" is a single task, you will not gain much from many CPUs. File IO is often a limiting factor: we've tried a while to run the logbook data on an AFS directory, and that did not turn out well. A local disk is best, an NFS disk works fine as well (in our case).
Cheers, Andreas
Alan Grant wrote: |
In response to an elog-hang issue I've been having on the Windows platform, I am building a new Unbuntu 14 TLS VM machine to host the identical configuration so that I can more easily debug when the hang happens again. I don't mind beefing up the hardware resources to either eliminiate that as a factor or resolve the problem. I'll have a higher end CPU to deal with 20 to 50 clients doing searches through the data (since the elog configuration currently does not provide a setting to limit how far back it can search with Quick Filters - pretty please add this basic setting!), but the main question I have now is what is a good amount of memory to add to the VM? I suspect even with 30 concurrent searches going CPU power will have more impact than memory in the case of elog. Can someone please confirm my suspicion and also recommend a suitable amount of memory I should install? My data volume is about 25 MB, all textual (no attachmemts), and the number of daily files goes back about 5 years. Any other tips for the build is very welcome.
|
|
68686
|
Fri Sep 15 00:56:38 2017 |
| Alan Grant | agrant@winnipeg.ca | Question | Linux | 3.1.2 | Elog System Requirements |
In response to an elog-hang issue I've been having on the Windows platform, I am building a new Unbuntu 14 TLS VM machine to host the identical configuration so that I can more easily debug when the hang happens again. I don't mind beefing up the hardware resources to either eliminiate that as a factor or resolve the problem. I'll have a higher end CPU to deal with 20 to 50 clients doing searches through the data (since the elog configuration currently does not provide a setting to limit how far back it can search with Quick Filters - pretty please add this basic setting!), but the main question I have now is what is a good amount of memory to add to the VM? I suspect even with 30 concurrent searches going CPU power will have more impact than memory in the case of elog. Can someone please confirm my suspicion and also recommend a suitable amount of memory I should install? My data volume is about 25 MB, all textual (no attachmemts), and the number of daily files goes back about 5 years. Any other tips for the build is very welcome. |
68685
|
Mon Sep 4 13:19:33 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | ELOG V3.1.3-fd7 | Re: javascript? |
This logbook, the forum, provides some javascript code. The code is simply referenced in the footer (Bottom text = <file> | <string> ).
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css"><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script><script>hljs.initHighlightingOnLoad();</script>
There's another example under elog:contributions/39
Cheers, Andreas
Tim Schelfhout wrote: |
Is there anyone out there who can help me get started using javascript in elog ? Is there an example somewhere ... i suppose you put the code in the
scripts folder?
Basically I am trying to calculate age of an added person in the database and display it after the birthdate field. I want to do other stuff, but once I know how
the interaction is done I can proceed.
Thankx heaps
Great job btw with this ELOG ... been using it for years now. I see you can add forms with html also, this might interest me for the future.
|
|
68684
|
Mon Sep 4 13:08:35 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | Windows | ELOG V3.1.3-fd7 | Re: edit elog config via elog web interface |
On the right side of "Change password" you should find "Change config file".
But you'll only see this, if the user has admin priviledges defined in the config file: "Admin user = <user>"

Then you can edit the configuration of that logbook. At the top you'll have a button "Change [global]" to edit the global part of the configuration - if you have the relevant priviledges to do so.
Tim Schelfhout wrote: |
Hello,
Is it possible to edit the entire elog config file via the elog frontend? I see the config button
on some screens but it only allows me to change user and password??
Thankx
|
|
68683
|
Mon Sep 4 11:56:47 2017 |
| Tim Schelfhout | tim.schelfhout@fixbrussel.be | Question | Windows | ELOG V3.1.3-fd7 | javascript? |
Is there anyone out there who can help me get started using javascript in elog ? Is there an example somewhere ... i suppose you put the code in the
scripts folder?
Basically I am trying to calculate age of an added person in the database and display it after the birthdate field. I want to do other stuff, but once I know how
the interaction is done I can proceed.
Thankx heaps
Great job btw with this ELOG ... been using it for years now. I see you can add forms with html also, this might interest me for the future.
|
68682
|
Mon Sep 4 11:22:05 2017 |
| Tim Schelfhout | timpieworks@gmail.com | Request | Windows | ELOG V3.1.3-fd7 | edit elog config via elog web interface |
Hello,
Is it possible to edit the entire elog config file via the elog frontend? I see the config button
on some screens but it only allows me to change user and password??
Thankx |