Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 705 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  889   Thu Jan 20 23:59:19 2005 Reply John Habermannjohn.habermann@wilderness.org.auQuestionLinux Re: increasing the height of the attribute display field
Sorry I didn't see the wishlist but I see what you mean. I have just found out
that pasting content that contains more than 1 line into an attribute field
crashes elog.  

I have a play with the Preset text setting and see what I can come up with. By the
way there is a spelling mistake in the config.html page. In the Conditional
Attributes section you use the Preset text setting as an example but have spelt it
as "Prset text ="

Thank you for you help

John

> > Was wondering  if it was possible to increase the height that the text box
> > for an attribute is displayed as.
> 
> What you ask for is multi-line attributes. This is not implemented, but on the
> wishlist since some time, where I added your vote.
> 
> Best regards,
> 
>   Stefan
  888   Thu Jan 20 17:40:33 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: increasing the height of the attribute display field
> Was wondering  if it was possible to increase the height that the text box
> for an attribute is displayed as.

What you ask for is multi-line attributes. This is not implemented, but on the
wishlist since some time, where I added your vote.

Best regards,

  Stefan
  887   Thu Jan 20 16:32:25 2005 Question John Habermannjohn.habermann@wilderness.org.auQuestionLinux increasing the height of the attribute display field
Was wondering  if it was possible to increase the height that the text box
for an attribute is displayed as. I would like to construct a form for a
weekly report which consist of a couple of text area attributes. I have
found the format option and can see how you can increase the width and
number of characters but not the height. This is what is have in the config
file for the log book:

-----------------------
[Weekly Reports]
Comment = The logbook for people to enter their weekly reports

Attributes = Author,Position, Achievements_last_week, Plans for Coming Week,
Issues and Concerns, Other Items to Report
Format Achievements_last_week = 0,messageframe,attribvalue,90,1000

Show text = 0
Enable Attachments = 0
---------------------------

Basically what I would like is for the text field for 4 of the attributes to
be something like the text area for the main body. Is that possible or is a
better way to incorporate the form into the main body somehow?

Thanks for any help. Been using elog for about a month now as a logging tool
for our IT team and this is the first time i have had to ask anything thanks
to the great documentation and the example. Great job Stefan
  886   Wed Jan 19 04:33:00 2005 Idea Neil Swartzneilswartz@verizon.netInfoAll2.5.5Re: Find using multiple values with MOptions
> > Currently there is a dropdown when searching for MOption fields. Maybe you could 
> > allow multiple selections in the dropdown. This to me is an "OR" search.
> 
> Multiple selections are not possible in HTML, only a single value can be selected at
> a time.

Try: (From monster.com)
<SELECT NAME="lid" multiple size="5">
<OPTION VALUE=""> ------- Select all -------- </OPTION>
<OPTION VALUE="323">Alabama-Anniston</OPTION>
<OPTION VALUE="324">Alabama-Birmingham</OPTION>
<OPTION VALUE="325">Alabama-Mobile/Dothan</OPTION>
<OPTION VALUE="328">Alabama-Montgomery</OPTION>
...
</SELECT>

Although this may not be supported in all browsers. (I think recent versions of 
Netscape and IE support it)
  885   Tue Jan 18 13:06:48 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.5Re: Find using multiple values with MOptions
> Currently there is a dropdown when searching for MOption fields. Maybe you could 
> allow multiple selections in the dropdown. This to me is an "OR" search.

Multiple selections are not possible in HTML, only a single value can be selected at
a time.
  884   Tue Jan 18 03:37:40 2005 Reply Neil Swartzneilswartz@verizon.netQuestionAll2.5.5Re: Find using multiple values with MOptions
> > I have a logbook with an attribute that has a number of fixed values. I 
> > use MOptions to prevent typos when entering and allow multiple "keywords".
> > When searching the users can only search on one keyword.
> > Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not 
> > use MOption, they can do this, but the users entering logs may mistype the 
> > keywords.
> 
> Even with Moptions, you can put into the "Text:" line
> 
> (AAA|BBB|CCC)
> 
> and click on "Search text also in attributes". This is a valid regular
> expression with searches for AAA or BBB or CCC. Unfortunately you still can
> mistype the values. If I would add check boxes in the find page, it would not
> be clear if one searches for an "AND" of several values or an "OR" (Most people
> would probably think that they want an "AND" because this happens if they
> restrict several attributes).

Yes, I can use the Text: search, but I still have the mistyping problem. (My 
field values are like "ENA, ETB, HRES, etc.) -- Easy to have a typo.

Currently there is a dropdown when searching for MOption fields. Maybe you could 
allow multiple selections in the dropdown. This to me is an "OR" search.
  883   Mon Jan 17 21:29:32 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows Re: Login/Password request appears twice
> OK elogd.cfg is attached.

I tried to reproduce your problem, but without success. I only have to login once. 

So can you please check how your cookies are set? Under Mozilla Firefox, enable
prompting for cookies (Tools/Options/Privacy/Cookies/Keep kookies=ask me every
time, IE must have similar switch). Each cookie contains a path, for which it
will be sent to the elogd in the future. Since you have your password files in
the [global] sections, they are valid for the whole set of logbooks and the path
is therefre "/". This means of course that the browser also tries to send the
cookies to the logbooks in the other top groups, since in the URL path they are
all next to each other (like "/Work+Requests", "/Completed+Work+Requests").

With the cookie prompting enabled, you can check which cookie gets set for which
directory. You should see a cookie "unm" for username, "upwd" for the encrypted
password and "urem" for the "Remember me" button. If the cookie contents is
empty, the cookie will be removed.

So carefully check the sequence of setting and resetting of cookies, trying to
figure out what goes wrong. It is a good idea for a starting point to delete all
your cookies.

- Stefan
  882   Mon Jan 17 16:51:35 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.5.5Re: Find using multiple values with MOptions
> I have a logbook with an attribute that has a number of fixed values. I 
> use MOptions to prevent typos when entering and allow multiple "keywords".
> When searching the users can only search on one keyword.
> Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not 
> use MOption, they can do this, but the users entering logs may mistype the 
> keywords.

Even with Moptions, you can put into the "Text:" line

(AAA|BBB|CCC)

and click on "Search text also in attributes". This is a valid regular
expression with searches for AAA or BBB or CCC. Unfortunately you still can
mistype the values. If I would add check boxes in the find page, it would not
be clear if one searches for an "AND" of several values or an "OR" (Most people
would probably think that they want an "AND" because this happens if they
restrict several attributes).
ELOG V3.1.5-3fb85fa6