Undesirable TAG { }, posted by Alex H on Mon Nov 21 11:49:52 2005 
|
Hi, I'am using ELOG v2.6.0-beta1 on Windows 2000.
I'am using Conditional attributes and obtain in certain case undesirable {x} TAG.
Here is a part of my elog.cfg :Options Client = ALL, Test one{2}, Test two{3}
# Test one
{2} Options Equipment = FWL0020, RT0015
# Test two
{3} Options Equipment =
So when I'am using quick filter I have in the scroll box the { } TAG of my Client Option (See screenshots).
Is there any thinks to do for mask them ?
Thanks for answer. |
Re: Undesirable TAG { }, posted by Stefan Ritt on Tue Nov 22 09:00:42 2005
|
That problem was fixed on June 24th, 2005. So please upgrade to the current 2.6.0-beta5 version. |
Re: Undesirable TAG { }, posted by Alex H on Tue Nov 22 11:35:56 2005
|
Stefan Ritt wrote: | That problem was fixed on June 24th, 2005. So please upgrade to the current 2.6.0-beta5 version. |
Updated ! Thanks |
Add Button on calendar, posted by Alex H on Mon Nov 21 12:00:05 2005
|
Hi Stefan,
Could you add a "Today button" on the calendar to set immediatly the date of today on a date type field ?
Thanks |
Re: Add Button on calendar, posted by Stefan Ritt on Mon Nov 21 13:01:21 2005
|
Alex H wrote: | Could you add a "Today button" on the calendar to set immediatly the date of today on a date type field ? |
"Today" is selected by default if you pop-up a new calendar, so just click on the selected day. |
Re: Add Button on calendar, posted by Alex H on Mon Nov 21 14:19:22 2005
|
Stefan Ritt wrote: |
Alex H wrote: | Could you add a "Today button" on the calendar to set immediatly the date of today on a date type field ? |
"Today" is selected by default if you pop-up a new calendar, so just click on the selected day. |
I don't have the today date highlighted so I don't have some visual effect to find the date immediatly. Is it a bug or other ? |
Re: Add Button on calendar, posted by Stefan Ritt on Mon Nov 21 17:54:54 2005
|
Alex H wrote: | I don't have the today date highlighted so I don't have some visual effect to find the date immediatly. Is it a bug or other ? |
If I click Find on this page, then click on an calendar, I get following picture:

which clearly shows me the 21st highlighted. Do you get a different picture? Which browser are you using? If you get the proper picture here at the forum, but a different one at your installation, it might be that the default.css file is out of date in your installation and you have to copy over a newer one. |
Re: Add Button on calendar, posted by Alex H on Tue Nov 22 09:49:30 2005
|
Stefan Ritt wrote: |
Alex H wrote: | I don't have the today date highlighted so I don't have some visual effect to find the date immediatly. Is it a bug or other ? |
If I click Find on this page, then click on an calendar, I get following picture:

which clearly shows me the 21st highlighted. Do you get a different picture? Which browser are you using? If you get the proper picture here at the forum, but a different one at your installation, it might be that the default.css file is out of date in your installation and you have to copy over a newer one. |
My default.css was not updated ! Thanks Stefan. |
Re: Add Button on calendar, posted by Stefan Ritt on Mon Nov 21 17:54:54 2005
|
Alex H wrote: | I don't have the today date highlighted so I don't have some visual effect to find the date immediatly. Is it a bug or other ? |
If I click Find on this page, then click on an calendar, I get following picture:

which clearly shows me the 21st highlighted. Do you get a different picture? Which browser are you using? If you get the proper picture here at the forum, but a different one at your installation, it might be that the default.css file is out of date in your installation and you have to copy over a newer one. |
Passive elog mirrors, posted by Yoshio Imai on Fri Nov 18 19:57:03 2005
|
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 |
Re: Passive elog mirrors, posted by Stefan Ritt on Fri Nov 18 21:48:33 2005
|
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:
|
Re: Passive elog mirrors, posted by Yoshio Imai on Mon Nov 21 14:35:20 2005
|
Thanks, I will try it with one of these methods. |
Automatic creation of new entry in another logbook, posted by Carlos Mateo on Thu Nov 17 11:50:45 2005
|
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 |
Re: Automatic creation of new entry in another logbook, posted by Stefan Ritt on Fri Nov 18 21:03:03 2005
|
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. |
Re: Automatic creation of new entry in another logbook, posted by Carlos Mateo on Mon Nov 21 10:41:46 2005
|
Stefan Ritt wrote: |
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.
They are not identical. They just share some information
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.
Thank you. It works with start!
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. |
Thank you for your help |
Changing width in entry mode, posted by Ulrich Trüssel on Fri Nov 18 10:53:26 2005 
|
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! |
Re: Changing width in entry mode, posted by Stefan Ritt on Fri Nov 18 21:30:44 2005
|
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. |
Re: Changing width in entry mode, posted by Ulrich Trüssel on Sat Nov 19 11:57:49 2005
|
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! |
Re: Changing width in entry mode, posted by Ulrich Trüssel on Sat Nov 19 11:57:49 2005
|
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! |
Send a email to E-log?, posted by Dinesh Bapat on Fri Nov 18 08:40:13 2005
|
Is it possible to send an email to Elog and record an entry automatically?We have situations where endusers have very narrow bandwidth email access. But no broadband to update E-log. Is there some mechanism so that they can send a email and it update Elog automatically?Thanks in advance. |
Re: Send a email to E-log?, posted by Stefan Ritt on Fri Nov 18 21:09:01 2005
|
Dinesh Bapat wrote: | Is it possible to send an email to Elog and record an entry automatically? |
Have a look at elog:Contributions/10 |
page2?cmd=List does not show next page, posted by Oleg Solovyanov on Tue Nov 15 08:35:33 2005
|
Maybe I'm doing something wrong, but the following does not work on a Elog with multiple pages:
1. View message
2. Click List
3. Click Next or page number
4. Only the last page is shown
It looks like the URL pageN?cmd=List does not work, while pageN works.
Any hints?
Same behaviour can be seen also with Discussion forum on Elog site. |
Re: page2?cmd=List does not show next page, posted by Stefan Ritt on Tue Nov 15 08:40:31 2005
|
Oleg Solovyanov wrote: | Maybe I'm doing something wrong, but the following does not work on a Elog with multiple pages:
1. View message
2. Click List
3. Click Next or page number
4. Only the last page is shown
It looks like the URL pageN?cmd=List does not work, while pageN works.
Any hints?
Same behaviour can be seen also with Discussion forum on Elog site. |
I don't understand. I tried on the Discussion forum:
1. View message, for example http://midas.psi.ch/elogs/Forum/1506
2. Click List, which takes me to http://midas.psi.ch/elogs/Forum/
3. Click Next, which takes me to http://midas.psi.ch/elogs/Forum/page2
Then I really see page2, not the last page. So what do you do differently? |
Re: page2?cmd=List does not show next page, posted by Oleg Solovyanov on Wed Nov 16 15:24:53 2005
|
Stefan Ritt wrote: |
Oleg Solovyanov wrote: | Maybe I'm doing something wrong, but the following does not work on a Elog with multiple pages:
1. View message
2. Click List
3. Click Next or page number
4. Only the last page is shown
It looks like the URL pageN?cmd=List does not work, while pageN works.
Any hints?
Same behaviour can be seen also with Discussion forum on Elog site. |
I don't understand. I tried on the Discussion forum:
1. View message, for example http://midas.psi.ch/elogs/Forum/1506
2. Click List, which takes me to http://midas.psi.ch/elogs/Forum/
3. Click Next, which takes me to http://midas.psi.ch/elogs/Forum/page2
Then I really see page2, not the last page. So what do you do differently? |
Somehow in my logbooks List command would add cmd=List to the URL
And this does not work... |
Re: page2?cmd=List does not show next page, posted by Stefan Ritt on Wed Nov 16 15:27:40 2005
|
Oleg Solovyanov wrote: | Somehow in my logbooks List command would add cmd=List to the URL
And this does not work... |
You use an old version of elog. Please upgrade to the 2.6.0-beta5 which you can obtain from
http://savannah.psi.ch/viewcvs/trunk/src/elogd.c?root=elog&rev=1541 |
Re: page2?cmd=List does not show next page, posted by Oleg Solovyanov on Thu Nov 17 23:40:10 2005
|
Yes, new version seems to fix this bug, but...
Now there's a new feature: sometimes it breaks the text message line into 2 when
displaying the summary page.
Maybe it happens only with Russian text  |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |