Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 202 of 806  Not logged in ELOG logo
icon5.gif   80 column Message width., posted by Carl Shirey on Mon Jan 21 15:03:48 2008 

 

First thing we have been using the Elog for 2 yr for a shift carryover and it has works out great.

Now for the problem I have. I heave the message width set to 80.  It works for plain Encoding but it does not work for HTML or ELCode. The text does not wrap around when viewing using Explorer or Fire Fox or printing out the Elog.  Is this a problem or do I need to modify the Config file?

Thanks

    icon2.gif   Re: 80 column Message width., posted by Stefan Ritt on Mon Jan 21 15:08:19 2008 

Carl Shirey wrote:

 

First thing we have been using the Elog for 2 yr for a shift carryover and it has works out great.

Now for the problem I have. I heave the message width set to 80.  It works for plain Encoding but it does not work for HTML or ELCode. The text does not wrap around when viewing using Explorer or Fire Fox or printing out the Elog.  Is this a problem or do I need to modify the Config file?

Thanks

A limited message width does not make sense for HTML or ELCode encoding since the text is laid out by the browser dynamically when displaying messages. For example have a look at this very message in your browser, and resize your window. You will see that the text flows dynamically, so the line breaks move with the window size. Furthermore the text entry uses a variable width font, so a fixed line length would not result in line breaks at the same vertical position. Therefore the message entry size scales automatically with the browser window. If you need lines with fixed length, you can only do that in plain encoding.

icon2.gif   80 column Message width., posted by Carl Shirey on Mon Jan 21 15:32:06 2008 

That is the the problem the text does not resize with the window or sending to the printer.

    icon2.gif   Re: 80 column Message width., posted by Stefan Ritt on Mon Jan 21 15:33:22 2008 

Carl Shirey wrote:

That is the the problem the text does not resize with the window or sending to the printer.

As I told you, if you need that feature, stick to plain encoding.

icon5.gif   Converting dates from an Excel import into ELOG, posted by Fergus Lynch on Thu Jan 24 13:50:10 2008 

Hi,

I'm importing an Excel spreadsheet into ELOG through CSV format.  All working fine apart from dates.

Dates are exporting from Excel in the format "day/month/year" so 1st January 2008 is exported as 01/01/2008 in the CSV.

However all dates are displayed in ELOG as "01/01/1970" regardless of the field content, and looking at the raw ELOG data file dates are displayed as numeric's - so for example 01/01/2008 is "1199188800"

Can you tell me how dates are computed/stored in ELOG so that I can do the necessary conversion.

Many Thanks

Fergus

    icon2.gif   Re: Converting dates from an Excel import into ELOG, posted by Fergus Lynch on Thu Jan 24 16:50:16 2008 

Fergus Lynch wrote:

Hi,

I'm importing an Excel spreadsheet into ELOG through CSV format.  All working fine apart from dates.

Dates are exporting from Excel in the format "day/month/year" so 1st January 2008 is exported as 01/01/2008 in the CSV.

However all dates are displayed in ELOG as "01/01/1970" regardless of the field content, and looking at the raw ELOG data file dates are displayed as numeric's - so for example 01/01/2008 is "1199188800"

Can you tell me how dates are computed/stored in ELOG so that I can do the necessary conversion.

Many Thanks

Fergus

S'ok - looked up the documentation  and have converted Excel dates to ELOG 'seconds since 01/01/1970' and all has come over fine!

 

Thanks

Fergus

icon5.gif   Possible to sort attribute chronologically? , posted by Dennis Seitz on Tue Jan 29 04:25:11 2008 
Hi,

We've defined a "LastEdit" attribute for some of our logs so that we can indicate that an entry has been revised, and when that was done. 

From our config:

Attributes =  Last Edit, etc etc
.
.
.
Preset Last Edit =$date
Locked Attributes = Last Edit
Subst on edit Last Edit = $date

This works fine, but when we sort the LastEdit column, the dates are sorted alphabetically. Is there a way to tell Elog to treat this particular attribute 
as a date when sorting?
    icon2.gif   Re: Possible to sort attribute chronologically? , posted by Stefan Ritt on Tue Jan 29 08:02:41 2008 
> Hi,
> 
> We've defined a "LastEdit" attribute for some of our logs so that we can indicate that an entry has been revised, and when that was done. 
> 
> From our config:
> 
> Attributes =  Last Edit, etc etc
> .
> .
> .
> Preset Last Edit =$date
> Locked Attributes = Last Edit
> Subst on edit Last Edit = $date
> 
> This works fine, but when we sort the LastEdit column, the dates are sorted alphabetically. 
> Is there a way to tell Elog to treat this particular attribute as a date when sorting?

You are missing:

Type Last Edit = datetime

which will tread the "Last Edit" attribute as a date/time combination. Actually it's stored 
internally in seconds since Jan 1st 1970, so sorting will work right. The only caveat is that
when you edit an entry, the "Last Edit" is displayed really in seconds since 1970, but I will
fix this in the next release.
ELOG V3.1.5-3fb85fa6