Re: Expand all at elog home, posted by Stefan Ritt on Tue Mar 29 09:57:29 2005
|
> So I have posted a picture to explain better my question.
> So could it be possible to have the index page always expanded ?
> thanks for answers.
I added a new configuration option "Expand selection page" which defaults to
one. So if nothing is changed in the configuration file, the logbook selection
page is expanded by default. Only if one has very many logbooks and wants back
the old behaviour, one has to add "Expand selection page = 0" in the config
file. The new version is under CVS. |
Re: Unable to enter/edit time in user defined $date field?, posted by Stefan Ritt on Wed Mar 30 11:07:08 2005
|
I implemented a "datetime" option which does exactly what you want. All you
need is a
Type Record Date = datetime
in your config file. The new option is present in version 2.5.8-2 and ready to
download. |
Re: Expand all at elog home, posted by Alex H on Wed Mar 30 15:12:54 2005
|
> > So I have posted a picture to explain better my question.
> > So could it be possible to have the index page always expanded ?
> > thanks for answers.
>
> I added a new configuration option "Expand selection page" which defaults to
> one. So if nothing is changed in the configuration file, the logbook selection
> page is expanded by default. Only if one has very many logbooks and wants back
> the old behaviour, one has to add "Expand selection page = 0" in the config
> file. The new version is under CVS.
Many many Thanks for all Stefan ! :o) |
HTML-File as attachement, posted by Becher on Tue Apr 5 22:39:20 2005
|
When I upload a HTML-File as attachement the file is shown as the
HTML-source and not as the formatted text. Is there a possibility to see the
HTML-attachements as formatted text like images are shown as images? |
Re: HTML-File as attachement, posted by Stefan Ritt on Tue Apr 5 22:45:22 2005
|
> When I upload a HTML-File as attachement the file is shown as the
> HTML-source and not as the formatted text. Is there a possibility to see the
> HTML-attachements as formatted text like images are shown as images?
I could turn the ASCII display off, but the result is not always what you want.
If you have a HTML file without the <html>, <header> and <body> tags, it's ok.
But if you have these tags in your HTML (and this is the normal case), the
resulting page has these tags twice, once from the ELOG page and once from the
attachment. This confuses some browsers, so the resulting page might look
strange. A solution would be to strip these tags from the attachment, but for
that I would have to interprete the HTML attachment completely, which is too
much work.
So I will turn the ASCII display off in the next release, but be prepared to see
some nonexpected results. |
Re: HTML-File as attachement, posted by Becher on Wed Apr 6 14:45:22 2005
|
Yesterday I mad a little experiment:
I copied in OpenOffice the content from my HTML file, which was not shown correctly
in ELOG, to a new HTML file, uploaded it in ELOG, and now my file was shown
correctly formatted. The only one problem is that not all lines are shown, in the
last line is written ...1753 more lines... . How can I show all lines? Do I have to
recompile ELOG? |
Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 14:56:09 2005
|
> Yesterday I mad a little experiment:
> I copied in OpenOffice the content from my HTML file, which was not shown correctly
> in ELOG, to a new HTML file, uploaded it in ELOG, and now my file was shown
> correctly formatted. The only one problem is that not all lines are shown, in the
> last line is written ...1753 more lines... . How can I show all lines? Do I have to
> recompile ELOG?
The reason for the "...1753 more lines..." is the following: Sometimes people upload
really huge files (10 MB or so). If they are displayed as ASCII attachments, each time
you access the entry you have to DOWNLOAD 10 MB. Sometimes even the browser crashes.
That's why I limited the display of the ASCII attachments to the first 1000 lines. To
see the complete file, just lick on the attachment name.
Concerning the inline display of HTML documents, I'm currently thinking of checking if
there is an <HTML> or <BODY> statement inside the file. If not, it might be just some
HTML fraction in which case it could be shown. If yes, it cannot be shown inline, but
if you click on it's name a new browser windows is opened containing the full document.
Does that sound reasonable to you? |
Re: HTML-File as attachement, posted by Stefan Ritt on Wed Apr 6 21:26:19 2005
|
Ok, I turned display of HTML attachments completely off in 2.5.8-3. So if one wants to see
it, on has to click on it. Otherwise there is no way to ensure a correct web page, so
people would complain again that the page does not pass the HTML validator if someone
attached an invalid HTML file. |