View Single Post
Old 10-02-2019, 07:05 AM   #1283
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by chinax View Post
Would it be possible to add a feature that calculates progress within this plugin? I'm thinking the addition of two extra custom columns -- one in which a user manually enters their #currentpage & one that spits out a #percentcomplete after dividing #currentpage by the generated #pagecount -- could solve some problems for folks whose devices don't track reading progress.

You can do that with a custom column. Create a column of type "Column built from other columns". Set the template to something like:

Code:
{:'divide(raw_field("#currentpage "),raw_field("#pagecount "))'}
You can format this with:

Code:
{:'format_number(divide(raw_field("#currentpage "),raw_field("#pagecount ")),"5.2f")'}
davidfor is offline   Reply With Quote