View Single Post
Old 11-17-2023, 02:51 PM   #39
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Wiggo View Post
I've tried to add an icon to a column for has_notes similar to extra_files

Code:
if has_extra_files() then icon = add_icon(icon, 'extra_files.png') fi;
but this doen't work. Is it possible to show an icon for has_notes regardless the type of notes (author,tag, series...)?
It is possible but will require a new function/template. Reason: notes are not attached to books, instead to metadata items. The new function must check every metadata item attached to a book to see if it has notes.

Are you sure you want to do this? Check for a note on any item in any column?

Edit: I won't be able to provide an example for a while.

Last edited by chaley; 11-17-2023 at 02:53 PM.
chaley is offline   Reply With Quote