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 Version Subjectup
  2146   Thu Mar 1 15:27:31 2007 Question An Thaithaithan@gmx.deQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file
Dear All,

I have got very good feedback from my colleagues about Elog logbook which I have made at my work since October 2006. The tool is going to use improving.

At moment, I don't let Elog start as a service (deamon), but as an application (start from a *.bat file). Because I just want to enable of "elogd -x" for reading of email list in an external file. But this cause that Elog cannot be set to automatically restart after a crash. (As a service in Windows, you can set it restart immediatly after crash)

I don't find anywhere in the administrator's guide how I can set the option 'elogd -x' while installing Elog to get a service with '-x' option.

Do you know it?


Dear Stefan,
could you enable it for the install download file for Windows?
  2149   Thu Mar 1 22:10:11 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file

An Thai wrote:

Dear Stefan,
could you enable it for the install download file for Windows?


I tried, but it does not work. A windows service does not let you start a internal command line shell. No way. Use Linux Wink
  2155   Tue Mar 6 13:49:17 2007 Reply An Thaithaithan@gmx.deQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file
Dear Stefan,

what i mean is that you maybe modify the setup file for Windows (elog-latest.exe) so that everybody can make change of -[options] while install Elog. I am not a Windows expert, but I think that a lot of software can be set or configurated at the first install time (For Example: Path destination, features avaible, ...)

Do you know if it is possible?
  2156   Tue Mar 6 13:55:15 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file

An Thai wrote:
Dear Stefan,

what i mean is that you maybe modify the setup file for Windows (elog-latest.exe) so that everybody can make change of -[options] while install Elog. I am not a Windows expert, but I think that a lot of software can be set or configurated at the first install time (For Example: Path destination, features avaible, ...)

Do you know if it is possible?


I don't know how to set-up the scheduled tasks from the installation script. Furthermore, having a application constantly running is somehow unusual, and it will confuse normal people. To my knowledge, not many people use the -x option under Windows. These people how really need it are clever enough (like you) to set-up the batch file manually.
  68650   Mon Jul 24 14:33:51 2017 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindowsLatestRe: Conditional attribute activation

Yes, this is possible by using "Conditional Attributes". Have a look at the ELOG syntax help: https://midas.psi.ch/elog/config.html#conditional

To hide attributes on edit, you can use "Show Attributes Edit =  ..." for the conditions; and you only list the comment reason for the case where the value of the other attribute has the value "reserved".

If you don't get it to work, then just post your logbook config with some comments on what you want to achieve.

Cheers, Andreas

Devrim Esenturk wrote:

I have a stock database running latest elog version on windows. I am reserving some products which not been sent to customer mistakenly and using value "reserved" for it. But I need another attribute for comment reason of reserving but this attribute must be activated when reserved value selected. Is this possible? I didn't see any option for this at admin guide.

 

Thank you

 

  1083   Wed Apr 13 10:06:56 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: Conditional conditions?
> Can conditional attributes be assigned as conditions?

Well, I guess the question was: "Can you implement this?" I'm sure that you
tried before.. (;-)

Yes, it is working now, I had to add some new code and fix a bug with AND'ed
conditions (via '&'). The new version is under CVS. Since you use Windows, you
have to wait for the next release.
  1453   Thu Oct 13 11:40:32 2005 Warning Yoshio Imaiimai@kph.uni-mainz.deQuestionLinux2.6.0beta2Re: Conditional hiding of attributes in list view
Hi again!

I noticed the quickfilter option in the config guide in the meantime Wink!
I have one question however, concerning the "Resource Dir"-statement of the
config file. When setting it, the default theme doesn't work any more, I get
white background and no color schemes when going to the elog page with the
browser. Does this mean that the default resource location (/usr/share/elog/themes)
is overriden by this statement, and that all resources have to be put there
(if so, is it on purpose or is it a bug)?

Thanks

Yoshio

BTW, do you think it is at all feasible to implement the changes we mentioned earlier?
  1456   Thu Oct 13 14:08:26 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0beta2Re: Conditional hiding of attributes in list view

Yoshio Imai wrote:
I noticed the quickfilter option in the config guide in the meantime Wink!


Sorry my late reply, I'm extremely busy these days. I still don't get the point where you want attributes to be hidden. Let's assume you have a logbook with attributes A, B, C, D, E. One set of entries use A, B and C, whil the other set of entries use A, D and E. Right now, you get a listing like
Title A  B  C  D  E
one   a  b  c
one   a  b  c
two   a        d  e
two   a        d  e
one   a  b  c

Now if you want to hide D and E for type one and B and C for type two, you would get
Title A  B  C  D  E
one   a  b  c
one   a  b  c
two   a  d  e
two   a  d  e
one   a  b  c

so the "d" and "e" values are under the wrong title "B" and "C". Of course you can put a separate tile line each time you switch from "one" to "two", but that costs a lot of space. So how would you layout a listing where different attribute sets are mixed?


Yoshio Imai wrote:
I have one question however, concerning the "Resource Dir"-statement of the
config file. When setting it, the default theme doesn't work any more, I get
white background and no color schemes when going to the elog page with the
browser. Does this mean that the default resource location (/usr/share/elog/themes)
is overriden by this statement, and that all resources have to be put there
(if so, is it on purpose or is it a bug)?


Well, the "theme" is a "resource". The manual says: Resource dir = <directory>: Specifies the root directory for ELOG resources like help files, themes, icons and user HTML files, so it's explicitly written there. If you change the resource dir and do not move your themes accordingly, you won't have them! If you shoot yourself in the foot, no gun will help you to prevent this Wink


Yoshio Imai wrote:
BTW, do you think it is at all feasible to implement the changes we mentioned earlier?


Which features do you mean? In your previous posting you mentioned a filter, but you found that already. So what else is left except the hiding of attributes?
ELOG V3.1.5-2eba886