ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1521
|
Sat Nov 19 11:57:49 2005 |
| Ulrich Trüssel | ulrich.truessel@familienhund.ch | Question | Windows | 2.6.0beta5 | Re: Changing width in entry mode |
Stefan Ritt wrote: |
Ulrich Trüssel wrote: | Problem: see pic "Eingabe.jpg", if thre are more MOptions to select in entry mode, I have to scroll from right to left all the time. Ti s isn't really comfortable. |
I had a nowrap statement in the MOptions check boxes, which should not be there. I removed that and now the options are wrapped nicely:

The problem is that in HTML, the check boxes and the associated text are sometimes ripped apart, i.e. the box appears at the right corner and the text at the next line. That's why I had the nowrap statement there.
This fix will be contained in the next release of elog. |
Thank you Stefan!!! 
Just as an idea: Some People may find it usefull to have the norap statement in the code. If it's possible for a future release it may be nice to have a flag for this feature! |
66462
|
Mon Jul 27 08:40:50 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.6 | Re: Changing Entry Time |
Jay Johnstone wrote: |
Hi,
I am new to eLog, trying to make a logbook tool. This is probably a question with a simple answer, but here it is... I need to be able to edit the entry time for an entry as it is being made and also in Edit mode later. We have field staff who use a paper log in the field and then come back to the computer later and create the log entries, and they need to be time stamped to reflect when an event happened, not when the entry is put into the log.
I'm guessing I'm missing something easy in my Config file, I've looked through the config examples and searched the forum but I couldn't come up with an example of how to make this work.
Thanks in advance!
Jay
|
Hi Jay,
the entry time cannot be changed, because it should reflect the real time when the entry was made. What you can do in your case is to define a "datetime" attribute, which contains then the time stamp. You need something like this:
Attributes = Author, Field time, Subject
Type Field time = datetime
... |
66463
|
Mon Jul 27 09:25:06 2009 |
| Jay Johnstone | jay.johnstone@gmail.com | Question | Windows | 2.7.6 | Re: Changing Entry Time |
Stefan Ritt wrote: |
Jay Johnstone wrote: |
Hi,
I am new to eLog, trying to make a logbook tool. This is probably a question with a simple answer, but here it is... I need to be able to edit the entry time for an entry as it is being made and also in Edit mode later. We have field staff who use a paper log in the field and then come back to the computer later and create the log entries, and they need to be time stamped to reflect when an event happened, not when the entry is put into the log.
I'm guessing I'm missing something easy in my Config file, I've looked through the config examples and searched the forum but I couldn't come up with an example of how to make this work.
Thanks in advance!
Jay
|
Hi Jay,
the entry time cannot be changed, because it should reflect the real time when the entry was made. What you can do in your case is to define a "datetime" attribute, which contains then the time stamp. You need something like this:
Attributes = Author, Field time, Subject
Type Field time = datetime
...
|
Hi, Stefan,
Thanks for the quick reply, I've added that to my config and it does what we need.
Cheers, Jay |
1402
|
Thu Sep 1 17:53:58 2005 |
| ralphb | elog@spampot.com | | | | Re: Changes in Comment and Elog Index page? |
ralphb wrote: | - The "Several logbooks are defined on this host" elog index page was previously collapsable, now it is not. |
OK, I've fixed that one with "Expand Selection page = 0" |
1408
|
Tue Sep 6 09:37:20 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | | | | Re: Changes in Comment and Elog Index page? |
ralphb wrote: | HTML code inculed in elog.cfg "Comment" lines were previously rendered, now they are not. e.g. "Comment = Some comment <A href="http://somedomain.com/some.html" target="_top"> Some link text</A>" Is this change deliberate, or is the functionality likely to return? |
I had to render the comment, because some people had comments like "PCs > W2k", where the ">" screwed up the HTML code of the page. I added some code now which checks if the comment is real HTML, and reverts back to the old behaviour if it is. The update is in CVS.
ralphb wrote: | The "Several logbooks are defined on this host" elog index page was previously collapsable, now it is not. Same questions as previous. |
People complained about the collapsing (it's really hard to make everybody happy!!!). So the page is expanded by default. If you want the old behaviour, add an
Expand selection page = 0
into your config file |
1411
|
Tue Sep 6 18:36:21 2005 |
| ralphb | elog@spampot.com | | | | Re: Changes in Comment and Elog Index page? |
Stefan Ritt wrote: | I added some code now which checks if the comment is real HTML, and reverts back to the old behaviour if it is. The update is in CVS. |
Thanks very much Stefan.
Our new server has no gcc so I had to compile it on a sister machine, pending the next RPM release.
By the way, your download page needs an extra line:
cvs -d :ext:cvs@midas.psi.ch:/usr/local/cvsroot checkout mxml to have a hope of the make working.
Also, it would be nice if the "Installing and running on UNIX" section of the Administrator's Guide also had a set of "Installation from CVS" instructions.
Stefan Ritt wrote: | it's really hard to make everybody happy!!! |
Ah, but you are doing it so well!
Thanks again.
Best regards, Ralph. |
1783
|
Mon Apr 3 10:35:37 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.1-1681 | Re: Change in encoding close entry | > Maybe it is a wrong configuration, because in this forum it works well.
> If I change the encoding in the logbook entry I get "Submit modified ELOG entry?",
> and after clicking OK the entry is closed. Because this behavior is on all loggbooks
> it must be a global config entry, but I dont know, which.
>
> ...
> Use Lock = 1
> ...
I comes from using the lock. If you remove that, you won't get this dialog box any more. |
1784
|
Mon Apr 3 10:48:45 2006 |
| Holger Mundhahs | holger.mundhahs@vtg-rail.com | Question | Windows | 2.6.1-1681 | Re: Change in encoding close entry | > > Maybe it is a wrong configuration, because in this forum it works well.
> > If I change the encoding in the logbook entry I get "Submit modified ELOG entry?",
> > and after clicking OK the entry is closed. Because this behavior is on all loggbooks
> > it must be a global config entry, but I dont know, which.
> >
> > ...
> > Use Lock = 1
> > ...
>
> I comes from using the lock. If you remove that, you won't get this dialog box any more.
OK, it seems, that the last part of the Use Lock documentation is the explanation:
----
If someone edits an entry, but then goes away from that page or closes the browser without submitting the
changes, a pop-up window appears asking the user to submit the changed entry. Although this works for most
browsers in most cases, it could be that Javascript has been turned off in a browser, in which case the stale
locks still might appear.
---
So if I switch the encoding the whole entry is reloaded, and the JS take it as leaving.
Is it possible to change this behavior? Changing encoding should be handled different as
"regular" leaving.
Additional information:
If you have set Use Lock = 1 you can't switch the encoding on a NEW entry.
The new entry is closed w/o saving. To prevent this you must input any data,
after them you can save the NEW entry with the PopUp-OK. But there can't be
anyone else on a new entry? |
|