Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   implement 'hide attribute' and 'sort attribute', posted by Heiko Scheit on Thu Dec 2 14:39:50 2004 
    icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Stefan Ritt on Thu Jan 6 11:25:54 2005 
       icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Heiko Scheit on Mon Jan 10 19:44:16 2005 
          icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Stefan Ritt on Mon Jan 10 20:23:35 2005 
             icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Heiko Scheit on Mon Jan 10 20:52:13 2005 
                icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Stefan Ritt on Tue Jan 11 12:55:35 2005 
                   icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Lars Jorgensen on Thu Mar 23 14:49:07 2006 
                      icon2.gif   Re: implement 'hide attribute' and 'sort attribute', posted by Steve Jones on Thu Mar 23 21:52:03 2006 
Message ID: 820     Entry time: Thu Dec 2 14:39:50 2004     Reply to this: 866
Icon: Question  Author: Heiko Scheit  Author Email: h.scheit@mpi-hd.mpg.de 
Category: Request  OS: Linux  ELOG Version:  
Subject: implement 'hide attribute' and 'sort attribute' 
Could you implement a 'hide attribute' and 'sort attribute' config option?
While sort is probably not so easy to do the hide option would already 
be very useful.  What I want to do is to use elog to collect bibtex entries
which are then used to generate a bibtex file.  So, e.g. if the entry 
type 'Article' is selected I would like that all fields that do not make
sense are hidden.  Currently I just lock them.  The config looks like
this:

Attributes                  = Login, Bibtex Key, Entry Type, Address,
Annote, Author, Booktitle, Chapter, Crossref, Edition, Editor, Howpublished,
Institution, Journal, Key, Month, Note, Number, Organization, Pages,
Publisher, School, Series, Title, Type, Volume, Year, URL, Short Comment
Options Entry Type          = Article{1}, Book{2}, Booklet{3}, InBook{4},
InCollection{5}, InProceedings{6}, Manual{7}, MastersThesis{8}, Misc{9},
PhDThesis{a}, Proceedings{b}, TechReport{c}, Unpublished{d}
Required Attributes         = Entry Type
; ARTICLE
{1} Comment Author          = [required]
{1} Comment Journal         = [required]
{1} Comment Title           = [required]
{1} Comment Year            = [required]
{1} Locked Attributes       = Address, Annote, Booktitle, Chapter, Crossref,
Edition, Editor, Howpublished, Institution, Key, Organization, Publisher,
School, Series, Type


Instead of Locking the attributes, hiding them altogether would make the
entry form look much nicer.  
A further improvement would be to sort the attributes, e.g. for author I
would sort the like this, i.e. the more important entries first:

{1} Sort Attributes    = Author, Title, Journal, Volume, Pages, Year, Month,
Number, Note

Attributes not mentioned in the sort line could then be displayed 
in any order. 
ELOG V3.1.5-3fb85fa6