Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Pinned entry, posted by Giuseppe Cucinotta on Thu Apr 18 12:29:05 2019 
    icon2.gif   Re: Pinned entry, posted by Stefan Ritt on Tue Apr 23 10:00:48 2019 
       icon2.gif   Re: Pinned entry, posted by Giuseppe Cucinotta on Tue Apr 23 11:02:32 2019 
       icon2.gif   Re: Pinned entry, posted by Finn Junker on Tue May 21 15:42:46 2019 
Message ID: 68930     Entry time: Tue Apr 23 10:00:48 2019     In reply to: 68929     Reply to this: 68931   68984
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux | Windows  ELOG Version: 3.1.3 
Subject: Re: Pinned entry 

This is not directly possible, but you can configure it with a trick. Create an attribute "pinned", make it of type "boolean", and set the start page such that it sorts using the "pinned" attribute:

Atributes = ..., Pinned
Options Pinned = boolean
Start page = ?rsort=Pinned

This move all entries where "Pinned" is true to the top of the list.

Stefan

 

Giuseppe Cucinotta wrote:

Hi everybody,

sorry if this question has already been posed (I did a quick search but I didn't found anything): elog sorts entry by ID, I wonder if it is possible to pin an entry in order to be always on top of the page independently on its ID.

Thanks

Giuseppe

 

ELOG V3.1.5-fe60aaf