Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 122 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  457   Mon Nov 24 10:25:10 2003 Entry Etienne Van Caillieetienne.vancaillie@mba.beBug fixLinux2.3.9Re: speed is very slow if logbook contains many entries
> I implemented the new scheme where 
> 
> - under Windows, the configuration is only checked once every access
> 
> - under Unix, the configuration is read initially, and on every -HUP signal
> 
> This should speed up the server considerably. The next bottleneck is the 
> rsputs2() function, which requires quite some computing power in order to find 
> any "http://", "//", etc. strings in every output. If anybody knows a 
> more clever way of coding that, please let me know.
> 
> The new version is under CVS.

may be use the logic in the 'format' attribute
like 'email', http, ftp 
so elog will test only on these attributes
  130   Tue Sep 10 17:28:21 2002 Question Stefan Rittstefan.ritt@psi.chQuestion  Re: specify attribute type as a number or date format?
> any way to specify that a particular option be in a date format or even 
> the ability to specifiy the category must be of a particular format:
> -must be a number 
> -must be a date
> -must be alpha
> -must be certain length

Put on the wish list as well.
  2250   Mon Jun 25 08:46:55 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: sorting a drop down menu in elog

chris williams wrote:
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks


No, you have to sort them by hand in the config file.
  2253   Mon Jun 25 18:15:24 2007 Reply chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869Re: sorting a drop down menu in elog
ok...thanks much.
  2166   Wed Mar 14 12:06:20 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows6.4-1802Re: sort attributs

deletoille wrote:

For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way?


Yepp. Since you can only sort on a single attribute, you combine time and date into one. This can be done like following:
Attributes = Icone, Type def fiche, ..., Evenement
Type Evenement = datetime

Now you can not only sort on Evenement, but you get also a date picker for that attribute in the entry form. To format the way Evenement is displayed, use the Time format option.
  2174   Wed Mar 21 16:51:14 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frQuestionLinux | Windows6.4-1802Re: sort attributs

Stefan Ritt wrote:

deletoille wrote:

For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way?


Yepp. Since you can only sort on a single attribute, you combine time and date into one. This can be done like following:
Attributes = Icone, Type def fiche, ..., Evenement
Type Evenement = datetime

Now you can not only sort on Evenement, but you get also a date picker for that attribute in the entry form. To format the way Evenement is displayed, use the Time format option.


thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea?
  2217   Wed Apr 25 20:29:39 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows6.4-1802Re: sort attributs

deletoille wrote:
thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea?


Two ideas. First, you have following URL:
.../page?rsort=Date+Evenement

but your attribute is "Evenement" (without "Date"). Can you check that?

Second: In threaded mode, only the "thread heads" are sorted. If an entry has one or more replies, it does not make sense to tear apart these replies because of sorting, so threads are always kept together, independent of their attributes.
  1658   Mon Feb 6 17:15:11 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionOther2.6.1Re: sort after find

Willem Koster wrote:
Obviously I would like to be able to sort the result of a find-query.


That worked some time ago, but did not work currently. So I fixed that in the current SVN version.
ELOG V3.1.5-3fb85fa6