Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 634 of 808  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  1455   Thu Oct 13 13:51:55 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0-betaRe: Long lines in printout

Bertram Metz wrote:
The lines are still cut, if printed on paper.


Are you sure? After you change the CSS file, you have to reload the page. I just tried with the very long entry from this thread and got in the Firefox preview window the picture which I attached. The font size of the text body is shrunk such that all lines (except the one very long line) fit on the paper.
  1454   Thu Oct 13 13:27:02 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
The lines are still cut, if printed on paper.
I played again with the 'message width' parameter, which actually the key parameter in my problem. I saw in the source, that the default value is now 112, but it was 76 in the elog version we'd used previously (V2.5.2). If I set 'message width' to 76 again, it works fine for new entries!
I wrote in the previous reply, that changing 'message width' didn't help. That seems to be the case for entries, which are re-submitted. For new entries it works.

Bertram
  1453   Thu Oct 13 11:40:32 2005 Warning Yoshio Imaiimai@kph.uni-mainz.deQuestionLinux2.6.0beta2Re: Conditional hiding of attributes in list view
Hi again!

I noticed the quickfilter option in the config guide in the meantime Wink!
I have one question however, concerning the "Resource Dir"-statement of the
config file. When setting it, the default theme doesn't work any more, I get
white background and no color schemes when going to the elog page with the
browser. Does this mean that the default resource location (/usr/share/elog/themes)
is overriden by this statement, and that all resources have to be put there
(if so, is it on purpose or is it a bug)?

Thanks

Yoshio

BTW, do you think it is at all feasible to implement the changes we mentioned earlier?
  1452   Thu Oct 13 11:19:09 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0-betaRe: Long lines in printout
Ok, I found the problem. In the default.css file, you will find a section
.messagepre {
  font-family:'lucida console',courier,monospace;
  font-size:10pt;
}

Just go and delete the line with the font-size, this should fix your problem. If the font-size is fixed, the browser cannot resize the text to fit into your printing page. I still have problems with IE, but with Firefox it works fine if you select Shrink to fit page width on the page setup.
  1451   Thu Oct 13 10:56:29 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
Hi Stefan,
I tried your suggestions with 'page shrinking' and 'message width', but they didn't help. What I do not understand is why this problem occurs only if the message text is formatted as plain text. The lines are printed correctly, if the text is formatted as EL code or as HTML.

It is of course possible to format new entries in EL code or HTML, but we have a lot of existing entries, which are formatted as plain text.

Kind regards,
Bertram
  1450   Thu Oct 13 08:32:20 2005 Reply Stefan Rittstefan.ritt@psi.ch Windows2.5.4Re: Trying to remove "mailto:" from the email address

Matt Kimball wrote:
We are using ver 2.5.4. As users enter new requests into the system, they would like email notifications. I have added the $user_email into a "notifications" section that we created. The email address that gets entered is "mailto:user@domain.com". Is there a way to remove the "mailto:"? Attached is my config file.


The "mailto:" is there for good reason. After you submit the entry, elogd converts the "mailto:" into
<a href="mailto:user@domain.com">user@domain.com</a>

so the browser shows the email address as a link. If you click it, the browser automatically opens your email client with the email address already in the "To:" field. The same works in the main text body. So if I put "mailto:stefan.ritt@psi.ch", it gets converted automatially to "stefan.ritt@psi.ch", a feature many people rely on.

Now from your request it looks to me like you want email notifications, so you put
Email System CareWare = ..., $user_email

In that case the "mailto:" gets automatically stripped during the email notification, so the user_email gets entered and will be used correctly for the notification.
  1449   Wed Oct 12 23:59:13 2005 Question Matt Kimballmatthew.j.kimball@state.or.us Windows2.5.4Trying to remove "mailto:" from the email address
We are using ver 2.5.4. As users enter new requests into the system, they would like email notifications. I have added the $user_email into a "notifications" section that we created. The email address that gets entered is "mailto:user@domain.com". Is there a way to remove the "mailto:"? Attached is my config file.

Thanks
Matt
  1448   Tue Oct 11 15:09:42 2005 Smile ScottKsnkgak@yahoo.comQuestionLinux2.6.0Re: elog fails to connect with "cannot get host name: Success" message

Stefan Ritt wrote:

ScottK wrote:
I can't seem to connect using elog:

elog -h <myhost>:8080 -v -l Servers -a "Type=Routine" -a "Author=ScottK" -m ~/test.txt



Maybe a

elog -h <myhost> -p 8080 -v -l .... ???


Oops - amazing when I read the syntax correctly -- it works! Thanks for taking the time to reply to a "dumb, RTFD" question, Stefan. Thank you for making a great program!

ScottK
ELOG V3.1.5-3fb85fa6