Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon8.gif   show attributes directive does not work?, posted by Harry Martin on Sat Aug 16 02:48:42 2025 Screenshot_2025-08-15_17-57-59.png
    icon8.gif   Re: show attributes directive does not work? -- It does, if you use show attributes edit, posted by Harry Martin on Sat Aug 16 14:31:49 2025 
Message ID: 69889     Entry time: Sat Aug 16 14:31:49 2025     In reply to: 69888
Icon: Angy  Author: Harry Martin  Author Email: harrymartin772@gmail.com 
Category: Other  OS: Linux  ELOG Version: 3.1.5 
Subject: Re: show attributes directive does not work? -- It does, if you use show attributes edit 

Well, it DOES work.... but only if you use the "Show Attributes Edit" directive.  "Show Attributes" is only for the single entry pages, whereas "Show Attributes Edit" is for the "entry pages."

I should have read the docs more carefully, sorry.  But isn't this a bit inconsistent with the way other directives work?  Usually one uses "<Directive>" for new entries, "<Directive Edit>" for editing existing entries, and "<Directive Reply>" for replies.  So I am guessing that "Show Attributes Edit" will be used for new and edit?

Harry Martin wrote:

Follows a very simple logbook definition:

[simple]
Comment = test show attributes directive
Attributes = a, b, c
Show Attributes = a

(Assume that all attributes are used farther down.  This is for illustration only.)   

To see what I see when I run this tiny elogd.cfg, see attachment.

"Show attributes" does not seem to be working because all of the attributes are shown, not just those specified in the directive.  Or do I misunderstand/forget something?

 

 

ELOG V3.1.5-3fb85fa6