Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 196 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1306   Sat Jul 23 18:30:57 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
if one uses ROptions instead of a simple Options the text displaied is "plain{1}" (with the "{1}" not stripped out!!)


Ok, fixed.
  1308   Mon Jul 25 10:24:23 2005 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: Summary page

Dinesh Bapat wrote:
But "Summary" page of my e-log continues to display additional column "Text". Kindly advise how to hide this last column.


Summary lines = 0


Dinesh Bapat wrote:
Also, is it possible to assign % width for each of these columns (ID, Author, Type, When, Subject)


Yes, via the Cascading Style Sheets, but only for the single display page. First put a

Format Author = 0, author_name, author_value

then put into your default.css following sections:
.author_name {
  width:10%;
  text-align:right;
  font-size:14pt;
  background-color:#AAAAFF;
  border:1px solid #0000FF;
  border-top:1px solid white;
  border-left:1px solid white;
  padding:3px;
}

.author_value {
  width:10%;
  font-size:14pt;
  border:1px solid #308000;
  border-top:1px solid white;
  border-left:1px solid white;
  background-color:#BBCCBB;
  padding:3px;
}

Here you can then play with the width, font-size etc. I use this for example for the large subject dispaly in this forum.

On the list display however, the column width is determined by the browser, which tries to optimally arrange the colums for best readability.
  1312   Mon Jul 25 20:20:18 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.5.?Re: Date in CSV and XML in UNIX time

PJ Meyer wrote:

Stefan Ritt wrote:

PJ Meyer wrote:
So what can be done to make all the dates look like dates?


Simply upgrade to 2.6.0beta where this problem has been solved.


I did upgrade to "2.60-beta2" of the Windows binaries - June 16th date stamps on Elog.exe and Elogd.exe.
I'm still getting dates that are in "Unix time"

Anything else?


I just tried again myself. Put following into elgod.cfg:

[demo]
Attributes = Author, Category, Arrival
Type Arrival = Date


type in one entry, did a XML extract, and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
	<ENTRY>
		<MID>1</MID>
		<DATE>Fri Jul 22 22:50:34 2005</DATE>
		<Author>sr</Author>
		<Category>Problem</Category>
		<Arrival>7/25/2005</Arrival>
		<TEXT></TEXT>
	</ENTRY>
</ELOG_LIST>

where the date looks ok. So what do you do differently?
  1313   Mon Jul 25 20:25:26 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0bRe: Literal comma in elogd.conf entries where "," is an item separator?

Chris Green wrote:
Could you tell me if there is a way to escape characters in elogd.conf? Particularly, I want to have a drop-down "Keyword" attribute where one of the options is "Spelling, grammar and typos.". This invariably gets split into "Spelling" and "grammar and typos". I've tried "\,", ",,", "%," and "%27", to no avail.


Just put it in quotations, like
Options Keyword = "Spelling, grammar and typos", Other

that will do the job.
  1314   Mon Jul 25 21:29:52 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: <img> in Display Attribute

Emiliano Gabrielli wrote:
donno if a "List Display <Attribute>" could be *the* solution ...


That's a good idea. Unfortunately, "List Display" is already used to specify which attributes to display in list mode. So I changed "Display <attibute>" to "Change <attribute>" and added "List change <attribute>", just to be different from "List display". In principle "List display =" and "List display <attibute> =" can be distinguished by elog, but it could be confusing to have the same option for two different things. The downside is that everybody using "Display <attribute>=" has to change this to "Change <attribute>=".
  1319   Tue Jul 26 09:25:40 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.5.?Re: Date in CSV and XML in UNIX time

PJ Meyer wrote:
Q: could it be the spaces in Attribute name????
Or the differences between Linux and Windows ports?


I tried following elogd.cfg:
[global]
port = 8080

[demo]
Attributes = System, Requestor, Title, Priority, Date Needed, Type, Also Notify, Subsystem, Status, Work Order, Assigned To, Team Lead, Percent Complete, Estimated Hrs, Actual Hrs, Date Added, Expected Delivery, Date Completed, Notifications, Completed
Options Priority = A-Emergency{p1}, B-Critical{p2}, C-High{p3}, D-Medium{p4}, E-Low{p5}
Preset Priority = D-Medium
Type Date Needed = Date

and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
	<ENTRY>
		<MID>2</MID>
		<DATE>Tue Jul 26 09:10:33 2005</DATE>
		<System>s</System>
		<Requestor>r</Requestor>
		<Title>t</Title>
		<Priority>D-Medium</Priority>
		<Date_Needed>07/26/05</Date_Needed>
		<Type></Type>
		<Also_Notify></Also_Notify>
		<Subsystem></Subsystem>
		<Status></Status>
		<Work_Order></Work_Order>
		<Assigned_To></Assigned_To>
		<Team_Lead></Team_Lead>
		<Percent_Complete></Percent_Complete>
		<Estimated_Hrs></Estimated_Hrs>
		<Actual_Hrs></Actual_Hrs>
		<Date_Added></Date_Added>
		<Expected_Delivery></Expected_Delivery>
		<Date_Completed></Date_Completed>
		<Notifications></Notifications>
		<Completed></Completed>
		<TEXT></TEXT>
	</ENTRY>
</ELOG_LIST>

So I have the blank in the attribute, and I tried it both under windows and linux. I looked again at the code, and am pretty sure you run an old version. So I made a 2.6.0beta3 windows binaries, with which you could try it again.
  1320   Tue Jul 26 09:38:07 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinuxV2.6.0Re: hide attributes when view the logbook

Juliana Peng wrote:
I downloaded Revision 1.717, replaced the source code with the new elogd.c, then run " dpkg-buildpackage -uc -b"
(debian linux) to build the package. Now after i add a new entry, once I select it I got
"Attachment #1 of entry #0 not found" error


I fixed that bug in Revision 1.722
  1322   Tue Jul 26 10:02:58 2005 Entry Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.0bRe: Can't set Author attribute properly in reply?

Chris Green wrote:
1) With the configuration below, I can't set the Author attribute to be the author of the reply. As written, it gives the Author field as blank. If the Remove on Reply line is removed, it is set to the parent's author. What am I doing wrong?


Hey, elog made it to MiniBooNE! I'm working on MEG...

What you need is the following:
Preset on reply subject = Re: $subject
Preset Author = $long_name
Preset on Reply Author = $long_name
Locked Attributes = Author

The Subst statements work after the entry gets submitted, while the preset statements work before. So Preset on Reply <attribute> is what you need.


Chris Green wrote:
2) With the Page Title line set as shown, $logbook gets expanded as "Charged+Current+Pi+Plus". If the line is left blank, the correct "Charged Current Pi Plus" gets put in the title line.


The substitution $logbook originally produces a valid URL to the logbook, and thus replaces blanks by "+". I changed that so that $logbook produces the original name containing blanks, and $elogbook is the encoded one with the "+"'s. The change is in revision 1.723
ELOG V3.1.5-3fb85fa6