Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 772 of 806  Not logged in ELOG logo
    icon2.gif   Re: Create entry from command line - override Date?, posted by Andreas Luedeke on Tue Oct 27 21:59:03 2020 
Hi David,
correct. And in addition you will need to convert "Orig Date" from seconds-of-the-epoch into a properly formated date string (see example
below from Stefan) ...
    icon2.gif   Re: Change / List Change doen't work anymore?, posted by Andreas Luedeke on Tue Dec 1 22:57:25 2020 
[quote="Harry Martin"][quote="Harry Martin"][quote="Stefan Ritt"][quote="Holger Mundhahs"]Hello @all,

I'm not sure if this is a bug, but after upgradeing from 2.7.0 to 2.7.7 the Change <attribute> and List Change <attribute> doesn't work anymore. In my
    icon2.gif   Re: Date conversion, posted by Andreas Luedeke on Tue Feb 23 17:20:39 2021 
If you define a field as "datetime" then you'll get the standard ELOG input field for datetime. It will be stored as seconds of the epoch
(seconds since 1.1.1970).

You can define a field as a default string input, then it is stored as a string. But you can convert that string by a shell scripts into seconds
icon5.gif   Request: make $text available for "subst", posted by Andreas Luedeke on Mon Mar 22 14:56:12 2021 
Hi Stefan,

I've just tried to read the $text with subst into another field and failed.
It looks like $text is only available for the execution of shell scripts in the "execute new|edit|delete = <script>" command.
    icon2.gif   Re: Request: make $text available for "subst", posted by Andreas Luedeke on Mon Mar 22 19:59:13 2021 
While the input widget of text attributes is a single line, they can easily be multi-line in the display - when you use HTML at least.
And of course the user can parse the text field and generate a single line, if he wants to.
If you leave it to me, I'll create wonderful applications to that feature :-)
    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
ELOG V3.1.5-3fb85fa6