Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Author drop-down menu length, posted by Kay Graf on Mon Mar 10 12:15:07 2014 
    icon2.gif   Re: Author drop-down menu length, posted by Andreas Luedeke on Mon Mar 10 15:18:51 2014 
       icon14.gif   Re: Author drop-down menu length, posted by Kay Graf on Tue Mar 11 09:19:06 2014 
Message ID: 67676     Entry time: Tue Mar 11 09:19:06 2014     In reply to: 67675
Icon: Agree  Author: Kay Graf  Author Email: kay.graf@fau.de 
Category: Question  OS: Linux  ELOG Version: 2.9.2-2455 
Subject: Re: Author drop-down menu length 

Andreas Luedeke wrote:

Kay Graf wrote

Hello Kay,

I had to look it up in the source code: yes, you are right, it is hard-coded in elogd.h

 
English (auto-detected) » English
 

elogd.h:#define MAX_N_LIST      100

You can of course change the limit and recompile.

As an alternative, you could have sub-menus with less than 100 entries  (disclaimer: the following is untested example):

Attributes = author_range, author, ...
options author_range = A-K{1}, L-Z{2}
{1} options author = Andi, Bob, Camilla, Dennis, ..., Kay
{2} options author = Lily, Max, Norbert, Oscar, ..., Zeta

Cheers

Andreas

Hello Andreas,

thanks a lot for your quick reply - both options are valid and working. For simplicity (the author list is generated automatically from a shell script) I opted for the first one.

Best regards,

Kay

 

ELOG V3.1.5-3fb85fa6