Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 226 of 801  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  65828   Sat Apr 12 22:04:58 2008 Reply Grant Jeffcotegrant@jeffcote.orgRequestAll Re: attachment indicator in summary view

Hi Stefan,

When using  2.7.3-2095 I can't seem to get the paperclip/s to show,  just an additional field in the summary view (named Attachments) with the attachment file names below? Am I missing something?

Thanks

 

Dennis Seitz wrote

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

 

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

Thanks!

 

  65829   Sun Apr 13 16:04:09 2008 Reply Stefan Rittstefan.ritt@psi.chRequestAll Re: attachment indicator in summary view

Grant Jeffcote wrote:

When using  2.7.3-2095 I can't seem to get the paperclip/s to show,  just an additional field in the summary view (named Attachments) with the attachment file names below? Am I missing something?

 

Yes, you miss the paperlclip icon. Get it from here and copy it under elog/themes/default/attachment.png.

  65830   Mon Apr 14 08:46:41 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: Sticky entries?

Peter Freeman wrote:

EDIT: Just downloaded the latest version and now it works. My old one was 2058, BUT, how can I change multiple styles, e.g. background and font color at the same time? Komma does not seem to work and two style lines also not.

You can separate them with a semicolon. Just like:

Style Category Info = background-color:lightblue;font-weight:bold


Note that you cannot change the font color, since it is a link, and that is defined in the default.css file under

/* standard link colors and decorations */
a:link { color:#0000FF; text-decoration:none }
a:visited { color:#800080; text-decoration:none }
a:hover { color:#0000FF; text-decoration:underline }
a:active { color:#0000FF; text-decoration:underline }
a:focus { color:#0000FF; text-decoration:underline }

  65831   Tue Apr 15 20:34:49 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.7.3-2099Re: Problems with elog client

Yoshio Imai wrote:
Another thing: I have noticed that when using conditional preset texts, the "Preset Text =" statements have to be declared for each logbook of a logbook group; it is not sufficient to only declare it in the "[global]" section of the logbook group. This means that we only need to declare the conditions once, e.g.
Options Category = .... , Shift {1} , ....
{1} Options Subject = Shift start {a}, Shift end {b}, ....

but the preset text declarations
{1&a} Preset text = shift_checklist.txt
{1&b} Preset text = shift_summary.txt
have to be declared in every individual logbook section for the logbooks of this group. Is this expected behaviour, or a bug?


I cannot reproduce your problem. I just tried following file:
[global]
port = 8000
password file = passwd
Options Category = Other , Shift {1} , Routine
Attributes = Author, Category, Subject
{1} Options Subject = Shift start {a}, Shift end {b}
{1&a} Preset text = shift_checklist.txt
{1&b} Preset text = shift_summary.txt

[demo1]
Comment = General linux tips & tricks

[demo2]
Comment = General linux tips & tricks

and it worked as expected. Can you try it? If it works for you as well, then try to morph this file towards your config file, and figure out when the unexpected behavior starts.
  65833   Thu Apr 17 08:27:27 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: Help me please I can't uplode Attach file

Samrit wrote:

Dear All
I can't uplode Attach file. It have Error

Error: Filename "D:\aaa.doc" contains invalid character
Please use your browser's back button to go back

 

Thank you very much

Joe..

The problematic part is the "\" in the filename, which is not correctly recognized as a directory. I will fix this in the next release. For now, just click on the Browse button, navigate to d:\, and then select there the file aaa.doc.

  65834   Thu Apr 17 19:11:36 2008 Reply Yoshio ImaiBug reportLinux2.7.3-2099Re: Problems with elog client
I have tried your sample config file, and this one also works for me.
The problem arises when using top groups. I have produced a minimal config file including a top group, of the form
[global]
logbook tabs = 1
SSL = 1
Theme = default

Top group testgroup = demo1, demo2
Show top groups = 1


[global testgroup]
Attributes      = Author, Subject, Type
Options Subject = ThisOne{1}, Shift info {2}, ThatOne{3}

{1} Options Type = OneType1, OneType2, OneType3
{2} Options Type = Shift start {a}, Shift end {b}, Info
{3} Options Type = TwoType1, TwoType2, TwoType3

Required Attributes = Author, Subject, Type

{2&a} Preset Text = shift_checklist.txt
{2&b} Preset Text = shift_summary.txt


[demo1]
Comment = DemoLog 1

[demo2]
Comment = DemoLog 2

Although the conditional attributes work for the logbooks demo1 and demo2, the preset text does not work. It works when the Preset Text= statement is (also) places in the individual logbook sections. Can you check if it behaves the same on your side?

Yoshio
  65836   Thu Apr 17 20:22:30 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.3Re: Custom Links in each column, in the display list?

Don Perrea wrote:

Using the "Link Display  =" I can turn of the link to each individual entry, however, I would like to have a custom link in one of my columns. Is this possible?

What you can do is to define an attribute (let's call it 'link'), then substitute this (maybe empty) attribute after submit with

Subst link = http://www.google.com

so this attribute will contain this link. You can also combine the value of the attribute with the link, like

Subst link = http://www.google.com/search?q=$link

this will produce a link to google search where it searches for the value of the attribute:

demo.png

  65837   Thu Apr 17 21:23:06 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.7.3-2099Re: Problems with elog client

Yoshio Imai wrote:
The problem arises when using top groups.


Uff, that was a tough one. Thanks to your detailed analysis I could reproduce the problem. It indeed only happens with conditional 'preset text' under a top group (which is so exotic I have never tried it before). I fixed that in SVN revision 2103, please download and test it.
ELOG V3.1.5-3fb85fa6