Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 698 of 807  Not logged in ELOG logo
    icon3.gif   Re: Request: make $text available for "subst", posted by Andreas Luedeke on Wed Mar 24 22:09:56 2021 
Hi Stefan,
no problem: if I just strip all newlines from the $text field (in HTML you use <br> anyway, the newline has no function apart from whitespace),
and my multiline attribute is fine to go.
    icon2.gif   Re: auto pre-fill fields issue, posted by Andreas Luedeke on Sun Apr 11 18:16:02 2021 
If you would post a minimal config file where the problem occurs, then we could look what the problem is.




Gys
Wuyts wrote:



Thank you but that is already  in place. I have the same issue
icon5.gif   How to format a column in list display?, posted by Andreas Luedeke on Fri Apr 23 20:08:10 2021 pik1.PNGpik-list.PNG
There is the nice conditional formatting feature for List display:

Cell Style <attribute> <value>
= <style>

I would like to use it without conditions: some attributes should always be formatted in a specific way.
 

Specifically I want a generated attribute (combined from other attributes) to be display in monospace font.

The
    icon3.gif   Bug Report with CSS includes (was Re: How to format a column in list display?), posted by Andreas Luedeke on Mon Jun 14 17:25:02 2021 
Okay, found some solution for my problem:

List Change Pikett = <div class="pikett">$Pikett</div>
CSS=pikett.css

And file themes/default/pikett.css contains:
    icon3.gif   Re: Request: make $text available for "subst", posted by Andreas Luedeke on Mon Jun 14 18:06:06 2021 
I should tell that I found a simpler way to achieve the same:
I suppress the "text" field and use a single line text input field instead.
The single line input in "free text" modes just contains "<br>" : I would have had to use those in the text field anyway.
icon4.gif   Adding entries without being logged in stopped working with attachments, posted by Andreas Luedeke on Sat Aug 28 21:32:09 2021 
Hi Stefan (et al),
we have several logbooks that allow to add new entries without logging in first.
That still works, as long as these entries don't have any attachments.
    icon2.gif   Re: How to access PSI Elog data from other web clients , posted by Andreas Luedeke on Thu Oct 21 00:42:42 2021 
There is a python API to access ELOG via HTTP: https://github.com/paulscherrerinstitute/py_elog




Lin
Wang wrote:



We want to develop separate mobile web pages for the web applications
icon4.gif   Redirect in Execute new needs space after ">", posted by Andreas Luedeke on Thu Oct 21 11:00:46 2021 
EDIT: forget the tip below. Instead just call script files: inline scripting in the ELOG config shows very strange behavior. Doing the same in external
scripts works reliable.

 
ELOG V3.1.5-3fb85fa6