ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
65874
|
Wed May 7 17:33:54 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Re: Extending attribute list |
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
|
|
65875
|
Wed May 7 19:55:30 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.7.3 | Re: Extending attribute list |
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++. |
65876
|
Thu May 8 09:44:48 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Re: Extending attribute list |
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. |
65877
|
Fri May 9 14:04:42 2008 |
| Franck C | franck.c95@free.fr | Request | Windows | | Re: Can u send me the configuration file for this logbook ? |
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 |
65888
|
Wed May 21 21:06:38 2008 |
| Dennis Seitz | dseitz@berkeley.edu | Request | All | | Make Email All = <list> override Suppress Email checkbox |
I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.
This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.
As far as I can tell, presently the Suppress Email checkbox overrides Email All. |
65889
|
Fri May 23 13:38:52 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | | Re: Can u send me the configuration file for this logbook ? |
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 |
65895
|
Mon Jun 2 12:22:48 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: Make Email All = <list> override Suppress Email checkbox |
Dennis Seitz wrote: |
I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.
This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.
As far as I can tell, presently the Suppress Email checkbox overrides Email All.
|
If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already). |
65896
|
Mon Jun 2 23:30:39 2008 |
| Dennis Seitz | dseitz@cosmology.berkeley.edu | Request | All | | Re: Make Email All = <list> override Suppress Email checkbox |
Stefan Ritt wrote: |
Dennis Seitz wrote: |
I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.
This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.
As far as I can tell, presently the Suppress Email checkbox overrides Email All.
|
If I make "Email all" override the suppress email checkbox, some uses would complain "I check the supporess box, but my admin still gets email, what am I doing wrong here?". So while this works for you, it will not be desired for everybody. I would have to add another parameter just for this request. Couldn't you instead use the RSS feed functionality? This way you well see all entries, independent of the email notification. You can use special RSS feed readers (your browser and email client probably support this already).
|
Hmm, I see your point, but wouldn't using the RSS feed have the same effect? Or are you saying the users just wouldn't know about it, so they wouldn't complain?
I haven't explored the RSS feed options yet. I'll study them.
|