Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 214 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versionup Subject
  1509   Tue Nov 15 12:50:37 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0beta5Re: Getting back from "Find" mode

Yoshio Imai wrote:
There is one question regarding the "Find" function of the elog. Clicking onto "Search" takes the user to the list view on only those entries that match the search conditions. Since we use the list view in "Full" mode by default, this usually is enough to give us an overview of the event we looked for.
Is there a more direct way to get back to the unfiltered list view than selecting an entry and go to "List" or using "Find" again and clicking on "Back"?


I can easily add another button for that, will put it on the wish list.
  1512   Thu Nov 17 11:50:45 2005 Question Carlos Mateocmateo@indra.esQuestionWindows2.6.0beta5Automatic creation of new entry in another logbook
Hi

I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.

So far I have tried several ways:

1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests.
As my server is on a Windows machine I can´t execute elog on background.

2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.

3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> won´t substitute $ID

Is there a way to do what I want?

TIA,
Carlos
  1515   Fri Nov 18 10:53:26 2005 Question Ulrich Trüsselulrich.truessel@familienhund.chQuestionWindows2.6.0beta5Changing width in entry mode
I'd like to change the width of the display when entering a new record. But I didn't find the right way after trying some time: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.Is there any option to fix the widht of the entry screen to a fix width in pixels or to the screen width? "Ausgabe.jpg" as ex., so multiple moptions would be arranged on multiple lines like in the display mode for the record.I checked the flags as well as the CSS but didn't find a solution. But maybe anybody has the right idea?To have a flag or someting to switch between the two entry modes would be fantastic and give a lot more of flexiblity for adaption to different sizes of screens.Thank's a lot for any idea!
Attachment 1: Eingabe.jpg
Eingabe.jpg
Attachment 2: Anzeige.jpg
Anzeige.jpg
  1516   Fri Nov 18 19:57:03 2005 Question Yoshio ImaiQuestionLinux2.6.0beta5Passive elog mirrors
Hi!Is it possible to install a "passive" elog mirror? We want to allow members of another institute to browse our logbook, but the connection is rather slow. The idea is now to set up an elog mirror at their site for faster access. Still, we should be the only ones who can add and edit the entries, so the update mechanism needs to be restricted in one direction. Is this possible at all? I didn't find any clues on that in the documentation ...ThanksYoshio
  1517   Fri Nov 18 21:03:03 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.0beta5Re: Automatic creation of new entry in another logbook

Carlos Mateo wrote:
I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.
Please tell me for what purpose you need two identical logbooks. Maybe what you want can be achieved in a simpler way.
Carlos Mateo wrote:
1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests. As my server is on a Windows machine I can´t execute elog on background.
Have you tried to start your elog with the start command under Widnows, like start elog .... This is the equivalent of starting a process in the background under linux.
Carlos Mateo wrote:
2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.
This is because you use the same data directory for both servers. If one server writes a new entry to a file, the other server does not realize this. Only when you restart it, it rescans the whole data directory and gets aware of the new entry. Try using separate data directories for the two servers.
Carlos Mateo wrote:
3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> won´t substitute $ID
Parsing attributes is not implemented and therefore will not work.
  1519   Fri Nov 18 21:30:44 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.0beta5Re: Changing width in entry mode

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.
  1520   Fri Nov 18 21:48:33 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0beta5Re: Passive elog mirrors

Yoshio Imai wrote:
Is it possible to install a "passive" elog mirror? We want to allow members of another institute to browse our logbook, but the connection is rather slow. The idea is now to set up an elog mirror at their site for faster access. Still, we should be the only ones who can add and edit the entries, so the update mechanism needs to be restricted in one direction. Is this possible at all? I didn't find any clues on that in the documentation ...


This is not implemented directly, but you can achieve it in several ways:

  • In the remote logbook, prohibit any modifications. You can do that with the Menu commands = ... option, where you just remove New, Edit, Reply and Duplicate.
  • Do not allow public write access, but public read access. The remote logbook server can read but not write. This requires a guest access, see the manual.
  • Create a special user, let's call it "mirroruser". Use this user to log in from the remote elog server by using the command Mirror user = mirroruser. Now restrict the right of this user via
    Deny New = mirroruser
    Deny Edit = mirroruser
    Deny Reply = mirroruser
    Deny Duplicate = mirroruser

  1521   Sat Nov 19 11:57:49 2005 Smile Ulrich Trüsselulrich.truessel@familienhund.chQuestionWindows2.6.0beta5Re: 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!!! Smile

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!
ELOG V3.1.5-2eba886