Cover 1 missing

Discuss using and your tips/tricks for BookCAT
Post Reply
User avatar
Alex Ivanovich
Posts: 319
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

Cover 1 missing

Post by Alex Ivanovich » Tue Sep 13, 2016 1:54 pm

Hello to all the forum, I need your help for this code
as you can see from screnshot I would see the warning "Albi senza cover per questa Serie" (Trad. Albi no cover for this series)
only if the first cover is not inserted :roll:

the code below does not work if I enter the second Cover (but the first and the empty) :?

Code: Select all

 <!--  Count Cover Missing by Series (original code of Dave) -->
<td class="record_pane_table_fieldvalue" colspan="2">
<a href="BookList.xsl?series={/data/record/bookdata/series}@image1=false@xslparam:doctitle=Albi senza cover per questa Serie@validate=yes,1,2" target="_blank">
  <span style="text-align:center;background-color:red;color:yellow;font-weight:bold;font-size:small">Albi senza cover per questa Serie</span> 
  [ <strong><span style="color:red;"> 
  ##CMD:COUNT:Book,series=<xsl:value-of select="/data/record/bookdata/series"/>@image1=false## </span></strong> ]
<img class="index_image" src="warning.gif"/>
Thanks for your help
SS Screen Capture #003.png
SS Screen Capture #003.png (78.35 KiB) Viewed 432 times
SS Screen Capture #005.png
SS Screen Capture #005.png (178.08 KiB) Viewed 432 times

Post Reply