Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 76 of 807  Not logged in ELOG logo
    icon2.gif   Re: Extending attribute list, posted by Paul O'Shaughnessy on Wed May 7 17:33:54 2008 

Stefan Ritt wrote:

Paul O'Shaughnessy wrote:

Stefan Ritt wrote:

Paul O'Shaughnessy wrote:

Hello everyone, I am new to the forum.

I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?

Example:

Attributes = RB

Options RB = a, b, c, ...,etc.

The number of 100 options is defined in elogd.c with

#define MAX_N_LIST  100

You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like

Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.

 

Stefan,

Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog  service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog.

You need a C compiler to compile Elog under Windows. If you don't have one, I would suggest to follow the advice to use conditional attributes. This does not require a recompilation of Elog.

Stefan,

I can get my hand on a C compiler. What the process involved?

Thanks,

Paul

    icon2.gif   Re: Extending attribute list, posted by Stefan Ritt on Wed May 7 19:55:30 2008 

I can get my hand on a C compiler. What the process involved?

 Sorry, but teaching you how to compile C programs is beyond the scope of this forum. Please buy a book for that. Most C compilers also comes with some decent documentation. You might try gcc under cygwin or Visual C++.

    icon2.gif   Re: Extending attribute list, posted by Paul O'Shaughnessy on Thu May 8 09:44:48 2008 

Stefan Ritt wrote:

 

 Sorry, but teaching you how to compile C programs is beyond the scope of this forum. Please buy a book for that. Most C compilers also comes with some decent documentation. You might try gcc under cygwin or Visual C++.

Stefan,

Thanks for your help. Will get back to you on how compiling the program went.

    icon2.gif   Re: Can u send me the configuration file for this logbook ?, posted by Franck C on Fri May 9 14:04:42 2008 

Stefan Ritt wrote:

Franck C wrote:

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

https://midas.psi.ch/elogs/Config+Examples/2

- Stefan

 

 

Ok thanks... but i meant this Forum logbook... Can u give me the configuration file and the css file if i need a different one ?

thanks a lot by advance

    icon2.gif   Re: Help me please I can't uplode Attach file, posted by Mark Soohoo on Sun May 18 06:20:00 2008 ErrorScreen.JPG

Stefan Ritt wrote:

Samrit wrote:

Dear All
I can't uplode Attach file. It have Error

Error: Filename "D:\aaa.doc" contains invalid character
Please use your browser's back button to go back

 

Thank you very much

Joe..

The problematic part is the "\" in the filename, which is not correctly recognized as a directory. I will fix this in the next release. For now, just click on the Browse button, navigate to d:\, and then select there the file aaa.doc.

 

Hi, I'm having the same problem, too, when attempting to upload an attachment.  I'm using version 2.7.3-2095.

I wasn't able to attach an image by clicking on the Browse button, clicking on the desired file, hitting the Open button, and then hitting the Upload button.  I just noticed that I could upload my error screen to this forum:

Thanks for any help you can provide.

Mark

ErrorScreen.JPG

    icon2.gif   Re: Can u send me the configuration file for this logbook ?, posted by Stefan Ritt on Fri May 23 13:38:52 2008 

Franck C wrote:

Stefan Ritt wrote:

Franck C wrote:

Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file

Thanks a lot

Franck

https://midas.psi.ch/elogs/Config+Examples/2

- Stefan

 

 

Ok thanks... but i meant this Forum logbook... Can u give me the configuration file and the css file if i need a different one ?

thanks a lot by advance

The forum logbook is here:

https://midas.psi.ch/elogs/Config+Examples/4

the CSS file you can directly load from the server under

https://midas.psi.ch/elogs/forum/forum.css

icon5.gif   multi-headings, posted by parrish on Sat Jun 7 01:43:52 2008 

how can you have more than 1 heading like in this forum. Example is: Demo and Discusion and have diferent sub heading under each one?

So example if Demo is selected you get one group of tabs to select from and if Discussion is selected you get a different second set of tabs to choise from.

Thanks in adavance

    icon2.gif   Re: multi-headings, posted by Stefan Ritt on Sat Jun 7 11:10:48 2008 

parrish wrote:

how can you have more than 1 heading like in this forum. Example is: Demo and Discusion and have diferent sub heading under each one?

So example if Demo is selected you get one group of tabs to select from and if Discussion is selected you get a different second set of tabs to choise from.

Thanks in adavance

You can do this by defining groups. For this forum I did

Group Demo = Linux Demo, Database
Group Discussion = Forum, Config Examples, Contributions, Vulnerabilities

where each name on the right side of the equal sign is an individual logbook.

ELOG V3.1.5-3fb85fa6