Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 16 23:29:15 2020
|
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam |
Re: Expanding column width when viewing in Summary mode, posted by Stefan Ritt on Fri Jul 17 09:18:18 2020
|
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for "listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam Pakkirisamy wrote: |
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam
|
|
Re: Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Sat Jul 18 17:19:31 2020
|
Hi Stefan,
Thanks for your prompt follow up. I did try commenting of the width statement for listtitle2 and also reducing it to 40% but it did not work. I restarted elogd daemon and I don't see the columns changing. I also tried putting a percentage number (40%) for listtitle1 just to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for "listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam Pakkirisamy wrote: |
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam
|
|
|
Re: Expanding column width when viewing in Summary mode, posted by David Pilgram on Sun Jul 19 13:14:36 2020
|
Anyone who knows me knows I (ab)use elog a lot. And this one is another of a long list of cheats and work arounds rather than modifying the code properly.
In summary mode, the top row are titles, and if they are long, they will dominate the width of that column. Similarly if they are short, if entries under that title are either non-existant or even shorter. Sometimes entries below the title will dominate, e.g. entries under "Date" title.
I assume your entries under the title in question are things like more than one word, such that they get split into two rows within that cell. Sometimes that can look very untidy. However, if you want the column wider than the title is given, you can pad out the title with " " (without the ""). Either on both sides for a centred title, or on the right for left justified. Or between words if the title has more than one. (Sorry for this edit, I hit submit button rather than preview).
Illam Pakkirisamy wrote: |
Hi Stefan,
Thanks for your prompt follow up. I did try commenting of the width statement for listtitle2 and also reducing it to 40% but it did not work. I restarted elogd daemon and I don't see the columns changing. I also tried putting a percentage number (40%) for listtitle1 just to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for "listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam Pakkirisamy wrote: |
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam
|
|
|
|
Re: Expanding column width when viewing in Summary mode, posted by Stefan Ritt on Mon Jul 20 08:37:17 2020
|
I can think of two reasons why you don't see a change:
1) You modified the wrong file. The elog.css file is under elog/themes/default/elog.css. If you "install" elog, it might go into your installation directory. So check if you have more than one file with this name.
2) After the change, you did not reload the page in your browser.
Try to request the file directly in your browser with <url to elog>/logbook/elog.css then you will see the actual file your browser is using. Make sure your modification is present there.
Stefan
Illam Pakkirisamy wrote: |
Hi Stefan,
Thanks for your prompt follow up. I did try commenting of the width statement for listtitle2 and also reducing it to 40% but it did not work. I restarted elogd daemon and I don't see the columns changing. I also tried putting a percentage number (40%) for listtitle1 just to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for "listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam Pakkirisamy wrote: |
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam
|
|
|
|
Re: Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 23 21:19:24 2020
|
Hi Stefan,
I have only one elog.css file in the default directory and the installation path is the same one that I'm using. Basically, I'm using off of the installed path. I also tried, modifying the file and calling it elog_mod.css and then specified CSS=<path>/elog_mod.css and started the server again. I did not see any changes. Is there something else I'm missing here.
Thanks.
Illam
Stefan Ritt wrote: |
I can think of two reasons why you don't see a change:
1) You modified the wrong file. The elog.css file is under elog/themes/default/elog.css. If you "install" elog, it might go into your installation directory. So check if you have more than one file with this name.
2) After the change, you did not reload the page in your browser.
Try to request the file directly in your browser with <url to elog>/logbook/elog.css then you will see the actual file your browser is using. Make sure your modification is present there.
Stefan
Illam Pakkirisamy wrote: |
Hi Stefan,
Thanks for your prompt follow up. I did try commenting of the width statement for listtitle2 and also reducing it to 40% but it did not work. I restarted elogd daemon and I don't see the columns changing. I also tried putting a percentage number (40%) for listtitle1 just to try and no change either. Appreciate your help.
Thanks.
Illam
Stefan Ritt wrote: |
You can't directly change individual columns, but you can reduce the "Text" column. This is done in themes/default/elog.css. Search for "listtitle2" and change or remove the line "width:100%". This makes the text column narrower, leaving more space for the subject column.
Illam Pakkirisamy wrote: |
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam
|
|
|
|
|
How to change name of record Id from $@MID@$., posted by John on Wed Jul 22 18:11:56 2020
|
Hi Everyone,
I tried using this $@MID@$ in JS as a variable and cannot doit. I researched a little and found no answer on special character usage. If anyone knows, please lemme know. I also tried breifly in Elogd to change it to something like just MID, but need a better editor as (Kate) is not saving the program back in correct iso (character) format. So I thought I'd pose the question in the meanwhile.
Thanks, John |
Re: How to change name of record Id from $@MID@$., posted by Stefan Ritt on Wed Jul 22 19:10:08 2020
|
No idea what you are talking about. $@MID@$ is used in the database files to indicate the start of a new message. It is not used on any elog web page. If you want to put the message ID on your web page, you should use the variable "$message id" as written in the documentation. You say JS, where is your JS running? You wrote a JS program to work on the raw elog database files? Or you wrote an extension to run in your browse? You have to be a bit clearer.
Stefan
John wrote: |
Hi Everyone,
I tried using this $@MID@$ in JS as a variable and cannot doit. I researched a little and found no answer on special character usage. If anyone knows, please lemme know. I also tried breifly in Elogd to change it to something like just MID, but need a better editor as (Kate) is not saving the program back in correct iso (character) format. So I thought I'd pose the question in the meanwhile.
Thanks, John
|
|
Expanding column width when viewing in Summary mode, posted by Illam Pakkirisamy on Thu Jul 16 23:26:43 2020
|
Hi,
I'm trying to expand the Subject column, when viewing in summary mode, and couldn't find any documentation for it. Is this possible and if so, how would I do it.
Thanks in advance for your help.
Illam |
bug in elog.spec, posted by Janusz Szuba on Mon Jul 6 19:09:48 2020
|
Hi,
in commit 1812e7c, specifying CFLAGS to make command in elog.spec, renders all other settings in Makefile void. That is, if I want to include any of KRB5, LDAP, PAM support, and change makefile accordingly, then when producing rpm they are not taken into account. Anyway, CFLAGS in Makefile are already set to the same defaults, so why it is redefined in spec file?
best
Janusz |
Re: bug in elog.spec, posted by Laurent Jean-Rigaud on Mon Jul 6 20:19:21 2020 
|
Hi,
You rights, CFLAGS should not be in specfile to take care of distrib env.
Btw, I sent in the past an update for build process of Stefan delivery to generate src.rpm file copatible to tarball version. I think Stefan did not have time yet to test and to check.
With the enclosed SPEC file, you can build ELOG with options at rpmbulld command w/o modifying sources. For exemple,
rpm -i elog-.....src.rpm
rpmbuild -bb --with ssl --with pam --with ldap --with krb5 ~/rpmbuild/SPECS/elog.spec
I enclosed also the SRPMS i used for my projects. Be careful, It's maybe not uptodate of last GIT version or PSI releases... but you can test it on your RPM distrib. It should be nice to hare your feedback.
Bye,
Laurent
Janusz Szuba wrote: |
Hi,
in commit 1812e7c, specifying CFLAGS to make command in elog.spec, renders all other settings in Makefile void. That is, if I want to include any of KRB5, LDAP, PAM support, and change makefile accordingly, then when producing rpm they are not taken into account. Anyway, CFLAGS in Makefile are already set to the same defaults, so why it is redefined in spec file?
best
Janusz
|
|
Re: bug in elog.spec, posted by Janusz Szuba on Tue Jul 7 11:22:45 2020
|
Thanks for the answer, I will try with your specfile
best
Janusz
Laurent Jean-Rigaud wrote: |
Hi,
You rights, CFLAGS should not be in specfile to take care of distrib env.
Btw, I sent in the past an update for build process of Stefan delivery to generate src.rpm file copatible to tarball version. I think Stefan did not have time yet to test and to check.
With the enclosed SPEC file, you can build ELOG with options at rpmbulld command w/o modifying sources. For exemple,
rpm -i elog-.....src.rpm
rpmbuild -bb --with ssl --with pam --with ldap --with krb5 ~/rpmbuild/SPECS/elog.spec
I enclosed also the SRPMS i used for my projects. Be careful, It's maybe not uptodate of last GIT version or PSI releases... but you can test it on your RPM distrib. It should be nice to hare your feedback.
Bye,
Laurent
Janusz Szuba wrote: |
Hi,
in commit 1812e7c, specifying CFLAGS to make command in elog.spec, renders all other settings in Makefile void. That is, if I want to include any of KRB5, LDAP, PAM support, and change makefile accordingly, then when producing rpm they are not taken into account. Anyway, CFLAGS in Makefile are already set to the same defaults, so why it is redefined in spec file?
best
Janusz
|
|
|
change Cell Style, posted by Lahreche Abdelmadjid on Tue Jun 30 11:39:12 2020
|
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work.
can some one give me the code to do that.
Regards.
|
Re: change Cell Style, posted by Andreas Luedeke on Tue Jun 30 17:12:10 2020
|
You should edit the CSS style file: /usr/local/elog/themes/default/elog.css
Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
Lahreche Abdelmadjid wrote: |
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work.
can some one give me the code to do that.
Regards.
|
|
Re: change Cell Style, posted by Lahreche Abdelmadjid on Wed Jul 1 09:08:17 2020
|
I would like to change the backround cilor of a cell and not sheet.
also don't use color, but system of point (to print it in monochome printer)
Andreas Luedeke wrote: |
You should edit the CSS style file: /usr/local/elog/themes/default/elog.css
Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
Lahreche Abdelmadjid wrote: |
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work.
can some one give me the code to do that.
Regards.
|
|
|
Update, posted by Lahreche Abdelmadjid on Tue Jun 30 13:42:13 2020
|
Hi,
How to do the last update with out losing any data ?
Regards |
Re: Update, posted by Andreas Luedeke on Tue Jun 30 17:15:18 2020
|
When you update from a version 2.* to a version 3.* then all elog entry files will be moved in subfolder for each year. But non of the entries are lost.
Only if you afterwards try to start an old version 2.* with the newly converted data directories, then the old version will not find any of the entries.
I've updated the ELOG version many times now. The only data I once lost was a modified CSS style file and a "hand modified" configuration of the ckeditor.
Lahreche Abdelmadjid wrote: |
Hi,
How to do the last update with out losing any data ?
Regards
|
|
change Cell Style, posted by Lahreche Abdelmadjid on Tue Jun 30 11:21:11 2020
|
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work.
can some one give me the code to do that.
Regards.
|
email notification for self register 2 3 and 4, posted by pierre brionnet on Mon Jun 8 07:30:06 2020
|
Hi,
I have set up my elog for testing and setup postfix to be able to send email notification for register of new user but whatever i try elog cannot set email. I try to sent test email in my bash and this is working without problem to my gmail account.
I have tried several configuration for my smtp client on my centos 7 but nothing is working in elog for the email. I also tried with several other email but no change either.
Is there a problem with the automatic sending of email ?
Best
Pierre |
Re: email notification for self register 2 3 and 4, posted by Stefan Ritt on Mon Jun 8 08:11:33 2020
|
Why don't you start elogd interactively with the "-v" flag (verbose) and watch the communication between elog and postfix. Maybe you see a specific error there.
Stefan
pierre brionnet wrote: |
Hi,
I have set up my elog for testing and setup postfix to be able to send email notification for register of new user but whatever i try elog cannot set email. I try to sent test email in my bash and this is working without problem to my gmail account.
I have tried several configuration for my smtp client on my centos 7 but nothing is working in elog for the email. I also tried with several other email but no change either.
Is there a problem with the automatic sending of email ?
Best
Pierre
|
|
Re: email notification for self register 2 3 and 4, posted by pierre brionnet on Mon Jun 8 08:29:16 2020
|
Hi Stefan, I did run in verbose mode but only got this output with the 587 SMTP port from gmail
Email from <ELog@localhost.localdomain> to XXXX@gmail.com, SMTP host smtp.gmail.com:
220 smtp.gmail.com ESMTP n1sm6153685pfd.156 - gsmtp
EHLO localhost.localdomain
250-smtp.gmail.com at your service, [134.160.38.27]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
AUTH LOGIN
530 5.7.0 Must issue a STARTTLS command first. n1sm6153685pfd.156 - gsmtp
However the mail command in my bash is working juste fine
Pierre
Stefan Ritt wrote: |
Why don't you start elogd interactively with the "-v" flag (verbose) and watch the communication between elog and postfix. Maybe you see a specific error there.
Stefan
pierre brionnet wrote: |
Hi,
I have set up my elog for testing and setup postfix to be able to send email notification for register of new user but whatever i try elog cannot set email. I try to sent test email in my bash and this is working without problem to my gmail account.
I have tried several configuration for my smtp client on my centos 7 but nothing is working in elog for the email. I also tried with several other email but no change either.
Is there a problem with the automatic sending of email ?
Best
Pierre
|
|
|
Re: email notification for self register 2 3 and 4, posted by Stefan Ritt on Mon Jun 8 09:12:27 2020
|
STARTTLS is not supported natively by elog. You have to disable this in your SMTP server.
Stefan
pierre brionnet wrote: |
Hi Stefan, I did run in verbose mode but only got this output with the 587 SMTP port from gmail
Email from <ELog@localhost.localdomain> to XXXX@gmail.com, SMTP host smtp.gmail.com:
220 smtp.gmail.com ESMTP n1sm6153685pfd.156 - gsmtp
EHLO localhost.localdomain
250-smtp.gmail.com at your service, [134.160.38.27]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
AUTH LOGIN
530 5.7.0 Must issue a STARTTLS command first. n1sm6153685pfd.156 - gsmtp
However the mail command in my bash is working juste fine
Pierre
Stefan Ritt wrote: |
Why don't you start elogd interactively with the "-v" flag (verbose) and watch the communication between elog and postfix. Maybe you see a specific error there.
Stefan
pierre brionnet wrote: |
Hi,
I have set up my elog for testing and setup postfix to be able to send email notification for register of new user but whatever i try elog cannot set email. I try to sent test email in my bash and this is working without problem to my gmail account.
I have tried several configuration for my smtp client on my centos 7 but nothing is working in elog for the email. I also tried with several other email but no change either.
Is there a problem with the automatic sending of email ?
Best
Pierre
|
|
|
|