[greenstone-users] Removing dummy icon on browseable search results page

From Helen Joy Gianoulis
DateSun Apr 12 03:41:33 2009
Subject [greenstone-users] Removing dummy icon on browseable search results page
Dear Greenstone designers and users,

I have a digital library of jpeg images. I have set up browseable searches for them. When you click the bookshelf icon at the node level the results page gives a thumbnail icon of the jpeg. To the left of this is a tiny white icon and when you click on it it takes you to another page which states: "This document has no text.". I know how to remove the dummy text. What I want to know is: what is the format string needed in order to get rid of the dummy icon. I don't want it to show up at all.

I was able to remove the dummy icon from my search result pages by removing the [link][icon][/link] from the first line of the format string
<td valign="top">[link][icon][/link]</td> so that it looked like this:
<td valign="top"> </td>
When I tried doing the same thing in my CL Classifiers metadata lists, for example, CL1: AZ CompactList ?metadata dc.Title, the command removed the bookshelf icons at the node level.

I was told that I needed to create an IF statement:{If} {[numleafdocs],[something in here that keeps the bookshelf nodes in tact and is the TRUE statement], [something in here that affects the record display to remove that pesky dummy icon and is the FALSE statement]
I would like to know what to put into that format string.
The format string I tried below did not work:
{If} {[numleafdocs], [ex.Title],
<td valign="top"> </td>
<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
[/highlight] </td>
<td>[dc.Format]</td>
}

The
<td valign="top"> </td>
<td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
[/highlight] </td>
<td>[dc.Format]</td>
} string is what worked to get rid of the dummy icon in my search results.

If youhave any suggestions on how to fix the above format striing OR if you have another suggestion using a totally different approach, I would very much appreciate. I need to know by Monday, April 13, 2009 by 1 pm eastern standard time.
Thank you for your time and effort.
Sincerely,
hgianoulis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090411/07b890de/attachment.html