Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 678 of 808  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  68669   Mon Aug 21 14:27:50 2017 Question Andreas Luedekeandreas.luedeke@psi.chRequestAllV3.1.3-aded4aeCSS reference in Email for private logbooks
We operate ELOG in an intranet. Many logbooks do send out emails; several use HTML content formatting.
If I watch HTML formatted emails from the intranet, then everything is fine.
If I try to read them from home, my email client hangs when it tries to read the CSS file from out intranet (URL: https://elog-gfa.psi.ch/SLS/elog.css).
Is there a way to set a URL for the email CSS?
Then I could simply copy the CSS file to the internet accessible location and the emails would be properly formatted in the intranet and from home.
 
I've tried to use "Use Email URL = ", but it turned out that this will change all base URL's in the email BUT the one in the CSS :-(
So I would need a config "Email CSS URL = " to set this.
 
Here is a patch that does what I want, but it might have some side-effects I'm not yet aware of:
7636,7643c7636,7638
<    if (absolute_link) {
<       if (lbs != NULL && getcfg(lbs->name, "Email CSS URL", str, sizeof(str)))
<          strlcpy(css_base, str, sizeof(css_base));
<       else if (lbs == NULL && getcfg("global", "Email CSS URL", str, sizeof(str)))
<          strlcpy(css_base, str, sizeof(css_base));
<       if (css_base[0] == 0)
<         compose_base_url(lbs, css_base, sizeof(css_base), FALSE);
<    } else
---
>    if (absolute_link)
>       compose_base_url(lbs, css_base, sizeof(css_base), FALSE);
>    else
 
 
Cheers
Andreas
  68670   Tue Aug 22 14:19:43 2017 Question Richard Stamperrichard.stamper@stfc.ac.ukQuestionWindows3.1.2HTML in attribute values

When one has "Allow HTML = 1" to permit HTML in attribute values, is it only a subset of HTML that is rendered?

I find that <br> and <a href="..."> tags are properly rendered, for example, but lists with <ol> and <ul> are not.

  68676   Tue Aug 22 18:29:02 2017 Question Stefano Bonaldostefano.bonaldo.13@gmail.comQuestionMac OSXv3.1.2Hide logbook tab when not authorized

Hello, I read carefully the manual, but I didn't find a way to hide the logbooks in the logbook bar and in the initial logbook selection for which the user does not have the access. So, if a user1 does not have the access to a specific logbook, user1 is not able to see that logbook in the bar and neither in the initial logbook selection. How can I do this without using the top groups?

  68682   Mon Sep 4 11:22:05 2017 Question Tim Schelfhouttimpieworks@gmail.comRequestWindowsELOG V3.1.3-fd7edit 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

  68683   Mon Sep 4 11:56:47 2017 Question Tim Schelfhouttim.schelfhout@fixbrussel.beQuestionWindowsELOG V3.1.3-fd7javascript?

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.

 

  68686   Fri Sep 15 00:56:38 2017 Question Alan Grantagrant@winnipeg.caQuestionLinux3.1.2Elog 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.

  68688   Wed Sep 20 16:34:18 2017 Question Ben Shepherdben.shepherd@stfc.ac.ukRequestLinux3.1.0-2411f95Email 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!

  68689   Mon Oct 2 12:55:18 2017 Question Tim Schelfhouttim.schelfhout@fixbrussel.beQuestionWindowsELOG V3.1.3-fd7Format 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 ?

 

Attachment 1: ELOG_Kandidaten.png
ELOG_Kandidaten.png
ELOG V3.1.5-3fb85fa6