Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 202 of 806  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  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.
  2251   Mon Jun 25 08:50:38 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: list of 500 files

chris williams wrote:
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help


No way to get so many entries. If you just increase the value and recompile, you will get stack and heap overflows in the program. Why do you need so many entries? Can you explain? Maybe there is another way to achieve this.
  2252   Mon Jun 25 18:14:44 2007 Reply chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869Re: list of 500 files
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.
  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.
  2254   Mon Jun 25 19:22:01 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: list of 500 files

chris williams wrote:
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.


Of course you can put any number of entries into a logbook, each having only one file as attachment.
  2255   Tue Jun 26 01:56:05 2007 Reply chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869Re: list of 500 files
True, thanks.
  2257   Wed Jun 27 15:06:24 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

toumbi wrote:
Why Gain and G1,G2 .... G8 are on the same line ?


Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.


toumbi wrote:

When I create a new entry, attibute 'attribgainname' is not used.( i can see lime color only when i see logged
message.)


The 'attribmainname' is only used for the display page, not for the entry form.
  2258   Wed Jun 27 16:02:49 2007 Reply toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855Re: formating bug : css and Format command

Stefan Ritt wrote:

Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.

Oups ... I understand better now how to put a new line .
this is my example.
; start a new line G1,G2...G8
Format G1 = 0,attribgainname,attribvalue,10,10
Format G2 = 1,attribgainname,attribvalue,10,10
Format G3 = 1,attribgainname,attribvalue,10,10
Format G4 = 1,attribgainname,attribvalue,10,10
Format G5 = 1,attribgainname,attribvalue,10,10
Format G6 = 1,attribgainname,attribvalue,10,10
Format G7 = 1,attribgainname,attribvalue,10,10
Format G8 = 1,attribgainname,attribvalue,10,10
; start a new line I1,I2...I8
Format I1 = 0,attribgainname,attribvalue,10,10
Format I2 = 1,attribgainname,attribvalue,10,10
Format I3 = 1,attribgainname,attribvalue,10,10
Format I4 = 1,attribgainname,attribvalue,10,10
Format I5 = 1,attribgainname,attribvalue,10,10
Format I6 = 1,attribgainname,attribvalue,10,10
Format I7 = 1,attribgainname,attribvalue,10,10
Format I8 = 1,attribgainname,attribvalue,10,10




Stefan Ritt wrote:

The 'attribmainname' is only used for the display page, not for the entry form.


ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form.
Is it possible to implement it for the next time?

thanks
ELOG V3.1.5-3fb85fa6