Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 762 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  867   Fri Jan 7 17:15:14 2005 Idea David Kappelngreply@gmx.netRequestWindows Re: Extendable options for conditional attributes
> > Playing with all the configuration possibilities I have one issue:
> > I like to use the "Extendable options" but I can't combine them with 
> > the "Conditional attributes".
> 
> That was never ment to work. But I found some time to implement it. If you
> download elog255-4.exe from today it whould work. Let me know if you have
> problems.

Thanks a lot for fixing this issue, especially as it was never planed. I will
test it on Monday afternoon and will give you a reply.
  870   Mon Jan 10 19:44:16 2005 Reply Heiko Scheith.scheit@mpi-hd.mpg.deRequestLinux Re: implement 'hide attribute' and 'sort attribute'
> > Could you implement a 'hide attribute' and 'sort attribute' config option?
> 
> I implemented it as 'hidden attributes = <list>' and 'sort attributes'.

'sort attributes' sorts the logbook entries when they are displayed.  Or?

What I want is to rearrange the entry mask.  E.g. if 'Entry type' article is
selected then the attributes 'Author', 'Journal', 'Title', and 'Year' 
should be listed first, as they are required for this bibtex entry type.
Is it possible with the current elogd version to also sort (rearrange) the 
attributes in the entry mask?  If yes, how?  

Thanks for your time.
  871   Mon Jan 10 20:23:35 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux Re: implement 'hide attribute' and 'sort attribute'
> 'sort attributes' sorts the logbook entries when they are displayed.  Or?

Right

> What I want is to rearrange the entry mask.  E.g. if 'Entry type' article is
> selected then the attributes 'Author', 'Journal', 'Title', and 'Year' 
> should be listed first, as they are required for this bibtex entry type.
> Is it possible with the current elogd version to also sort (rearrange) the 
> attributes in the entry mask?  If yes, how?  

Attributes are shown in the order you specify them in the config file, so what about

Attributes = Entry type, Author, Journal, Title, Year     ???
  872   Mon Jan 10 20:42:31 2005 Agree David Kappelngreply@gmx.netRequestWindows Re: Extendable options for conditional attributes
> > > Playing with all the configuration possibilities I have one issue:
> > > I like to use the "Extendable options" but I can't combine them with 
> > > the "Conditional attributes".
> > 
> > That was never ment to work. But I found some time to implement it. If you
> > download elog255-4.exe from today it whould work. Let me know if you have
> > problems.
> 
Hello Stefan,

the changes I asked for, are working as requested. The extandable options are 
inserted into the correct line of the conditional attributes. 

  Thanks.

PS: While testing on a new demo logbook, I first made the mistake to declare 
both options, the first one and the related one as extendable. But I can imagine 
that this was really never ment to be implemented.
  873   Mon Jan 10 20:52:13 2005 Reply Heiko Scheith.scheit@mpi-hd.mpg.deRequestLinux Re: implement 'hide attribute' and 'sort attribute'
> > 'sort attributes' sorts the logbook entries when they are displayed.  Or?
> 
> Right
> 
> > What I want is to rearrange the entry mask.  E.g. if 'Entry type' article is
> > selected then the attributes 'Author', 'Journal', 'Title', and 'Year' 
> > should be listed first, as they are required for this bibtex entry type.
> > Is it possible with the current elogd version to also sort (rearrange) the 
> > attributes in the entry mask?  If yes, how?  
> 
> Attributes are shown in the order you specify them in the config file, so what about
> 
> Attributes = Entry type, Author, Journal, Title, Year     ???

Because for 'Entry type'='InProceedings' one needs:
'Author', 'Title', 'Booktitle', 'Year', 'Volume', 'Number'.
So, depending on the entry type that was chosen the entry mask should change,
with the required fields first and the not valid fields should not be shown
at all, which can nicely be done with the 'hidden attributes' config option.
Only the sorting (of the entry mask!) is missing! :)
  874   Tue Jan 11 12:55:35 2005 Reply Stefan Rittstefan.ritt@psi.chRequestLinux Re: implement 'hide attribute' and 'sort attribute'
> Only the sorting (of the entry mask!) is missing! :)

Ok, I put that on my wish list. So once the second or third person asks for it, I will
implement it (;-)
  875   Wed Jan 12 23:48:18 2005 Reply PJ Meyerpjm@pjmeyer.orgBug reportWindows Re: Login/Password request appears twice
> > Have set up 3 top level groups, each with their own password file.
> > Ever since users have to 'login' twice to get to the appropriate elog.
> > You click on top level group, get to log book and click on the one you 
want 
> > and get login/password dialog box, click ok and and you get it again 
and 
> > then you finally get into the elog book.
> > 
> > Anything I can check on this behavior?
> 
> Sorry my late reply, was very busy these days... (;-) Can you send me your
> elogd.cfg so that I can see how you defined your groups?
> 
> - Stefan

OK elogd.cfg is attached.
  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
ELOG V3.1.5-3fb85fa6