Re: Increment a field automatically on a new thread vs every entry, posted by Stefan Ritt on Sat Apr 26 09:26:53 2008
|
Chuck Brost wrote: |
Ok, nevermind that one, Dumb Question I think, now that I have figured out that the field I was concerned with does not increment in a reply already. So.. that only leaves my one question, is there somewhere that I can change the text, not the action, on the menu so that I can do a reply, but have the link list as something like "New Item".?
|
Unfortunately this is not possible at the moment. |
Re: scrollable text section only when viewing a log entry, posted by Stefan Ritt on Mon Apr 28 08:00:18 2008
|
Bill Pier wrote: |
Stefan Ritt wrote: |
Bill Pier wrote: |
Is there a way, option, feature to setup the text section only to be scrollable when viewing a log entry, such that the header (meta info) section stays fixed?
|
Unfortunately no.
|
Well, I tinkered a bit with a journal entry display page and found that without having to suggest the flavor-of-the-month web design mantra of "replace table layout with CSS only", just a few CSS tweaks can enable exactly what I am desiring.
For your consideration, here are the tweaks I made to get a fixed header and footer section with a scrollable journal entry section in the middle:
- moved the journal entry content and footer line (elog version info) out of the layout table structure, into their own div sections;
- in the style sheet, added attribute "position:fixed" to the "frame table" section;
- in the style sheet, added attribute sections for journal entry content and footer div sections:
- #content: overflow:auto;position:fixed;top:230px;bottom:30px;width:100%;
- #footer: text-align:center;bottom:0;position:fixed;width:100%;
Now as I'm not a web designer by trade and not intimately familiar with CSS nuances, I used the time honored method of documentation lookup with trial and error.
In any case, it worked and displays exactly the way I wanted; please do consider this for a future elog release.
|
Apparently you downloaded an ELOG page and modified it manually. Can you send me the modified page, it then would be easier for me to implement it (I can shorten "my" trial and error phase..) |
Extending attribute list, posted by Paul O'Shaughnessy on Fri May 2 00:58:04 2008
|
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.
Thanks,
Paul |
Re: Extending attribute list, posted by Stefan Ritt on Mon May 5 08:51:10 2008
|
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.
|
Re: Extending attribute list, posted by Paul O'Shaughnessy on Tue May 6 14:49:54 2008
|
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. |
Re: Extending attribute list, posted by Stefan Ritt on Tue May 6 15:17:52 2008
|
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. |
Re: scrollable text section only when viewing a log entry, posted by Bill Pier on Tue May 6 21:28:18 2008 7x
|
IStefan Ritt wrote: |
Bill Pier wrote: |
Stefan Ritt wrote: |
Bill Pier wrote: |
Is there a way, option, feature to setup the text section only to be scrollable when viewing a log entry, such that the header (meta info) section stays fixed?
|
Unfortunately no.
|
Well, I tinkered a bit with a journal entry display page and found that without having to suggest the flavor-of-the-month web design mantra of "replace table layout with CSS only", just a few CSS tweaks can enable exactly what I am desiring.
For your consideration, here are the tweaks I made to get a fixed header and footer section with a scrollable journal entry section in the middle:
- moved the journal entry content and footer line (elog version info) out of the layout table structure, into their own div sections;
- in the style sheet, added attribute "position:fixed" to the "frame table" section;
- in the style sheet, added attribute sections for journal entry content and footer div sections:
- #content: overflow:auto;position:fixed;top:230px;bottom:30px;width:100%;
- #footer: text-align:center;bottom:0;position:fixed;width:100%;
Now as I'm not a web designer by trade and not intimately familiar with CSS nuances, I used the time honored method of documentation lookup with trial and error.
In any case, it worked and displays exactly the way I wanted; please do consider this for a future elog release.
|
Apparently you downloaded an ELOG page and modified it manually. Can you send me the modified page, it then would be easier for me to implement it (I can shorten "my" trial and error phase..)
|
Yes, you are correct, I did simply take a sample page from logs and tinker with the html and css file, with the changes enumerated previously. I have attached the tweaked sample html elog log page and css file, along with a few of the standard elog png files to complete the page with some semblance of the normal display. |
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
|
|
|