10-07-2013, 01:00 PM | #1 |
Connoisseur
Posts: 65
Karma: 400010
Join Date: Mar 2013
Location: London
Device: Nook STG, PW2
|
Template Help - Send to device
I'm trying to create a send to device template. I want to create an if/else;
If #fandom is not empty {#fandom:|_|}/{title} else {author_sort}/{title} I've tried {#fandom:'ifempty($, field('author_sort'))'|_|} But I don't want the underscore on the author_sort. Any help is much appreciated. Also, I have a Nook Glowlight. Is there any way to link a collection to Calibre? So if I have a collection called finished, could Calibre tag books in that collection with finished? I'm trying to find a way to organise. Thanks for any help. |
10-07-2013, 01:41 PM | #2 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Try {#fandom:'test($, strcat($, '_'), field('author_sort'))'}/{title}
I can't help you with the kobo. |
Advert | |
|
10-07-2013, 03:36 PM | #3 |
Connoisseur
Posts: 65
Karma: 400010
Join Date: Mar 2013
Location: London
Device: Nook STG, PW2
|
Chaley, thank you! It worked.
|
10-07-2013, 10:37 PM | #4 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
10-08-2013, 07:54 AM | #5 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with template | KALKITO | Library Management | 1 | 07-02-2012 02:54 PM |
Changes in template evaluation in V0.8.43 | chaley | Library Management | 1 | 03-16-2012 03:12 PM |
New page template? | Artha | Sigil | 10 | 11-23-2011 05:54 PM |
v8.4 template error | cybmole | Calibre | 5 | 06-04-2011 11:10 AM |