View Single Post
Old 02-07-2021, 08:03 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,039
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Help with another template

My old #kobopath column (used for my device save template) was an enumerated column...which had the same values my top-level tags. So I changed it to this:

Code:
{tags:'list_re($, ',', '^(.*?)($|\..*$)', '\1')'}
This works as expected with the way my tags are setup - it shows Fiction, Nonfiction, Fanfiction, etc and it works with my save template.

However, my old enumerated column also had a separate entry for PDFs. How would I change this template so that it shows "PDFs" instead of the top-level tag if that's the only available format?


Last edited by ownedbycats; 02-07-2021 at 08:20 PM.
ownedbycats is online now   Reply With Quote