Cover 1 missing

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

Cover 1 missing

Postby 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"/>
  </a>
</td>


Thanks for your help
Attachments
SS Screen Capture #003.png
SS Screen Capture #003.png (78.35 KiB) Viewed 132 times
SS Screen Capture #005.png
SS Screen Capture #005.png (178.08 KiB) Viewed 132 times

Return to “Using BookCAT”

Who is online

Users browsing this forum: No registered users and 1 guest