[greenstone-users] Re: [greenstone-devel] FORMAT STRING - PROBLEM -

From Tomáš Fiala
DateMon, 26 Feb 2007 14:08:56 +0100
Subject [greenstone-users] Re: [greenstone-devel] FORMAT STRING - PROBLEM -
In-Reply-To (45DF7A2A-1030209-cs-waikato-ac-nz)
Di Quan,

there wasn't any solution of the problem which could satisfy my needs.
So I changed the string into:

<td valign="top">[link][icon] {Or} {[ex.Title]}{If}{[numleafdocs] > 1,
([numleafdocs])}[/link]</td><td valign="right"><a
href=/gsdl/collect/[collection]/index/assoc/[archivedir]/doc.pdf
target="_blank"/>[ex.srcicon]{If}{[dc.Title]}{[ex.thumbicon]}</td>

This looks fine for me now.

Many thanks for your help.

Sincerely,

Tomáš Fiala

Qiu wrote / napísal(a):
> Hi Tomáš
>
> You can check GLI->Enrich panel to see whether metadata
> [dls.Title],[ex.Title] and [dc.Title] have values. If some of them
> don't cantain any values, get rid of them for format. You also can try
> to delete "Untitled" from format string, like:
>
> <td
> valign="top">[link][ex.srclink][icon]{Or}{[dls.Title],[ex.Title][/link],
> [dc.Title]}{If}{[numleafdocs], ([numleafdocs])}<a
> href=/gsdl/collect/[collection]/index/assoc/[archivedir]/doc.pdf
> target="_blank"/>[ex.srcicon]{If}{[dc.Title],[dc.Title]}{Or}{[ex.thumbicon]}</td>
>
>
> Regards
> Quan
>
>
>
> Tomáš Fiala wrote:
>
>
>> Hi all,
>>
>> im trying to format the AZCompactList. I want that metadata text
>> displays as a link, that works fine ! But when I opened the bookshelf
>> there is some "dummy" text (like "Document Outline" or "..."_)_ from
>> [ex.Title] which i don't want to display. If I remove [ex.Title], it
>> is OK, but the text near bookshelf disappears.
>>
>> Please could someone help me how to hide the "dummy" text, without
>> loosing the text near bookshelf?
>>
>> You can see the the problem on http://tinyurl.com/3yaomc
>>
>> This is my FORMAT STRING :
>>
>> <td
>> valign="top">[link][ex.srclink][icon]{Or}{[dls.Title],[ex.Title][/link],
>> [dc.Title],Untitled}{If}{[numleafdocs], ([numleafdocs])}<a
>> href=/gsdl/collect/[collection]/index/assoc/[archivedir]/doc.pdf
>> target="_blank"/>[ex.srcicon]{If}{[dc.Title],[dc.Title]}{Or}{[ex.thumbicon]}</td>
>>
>>
>> MANY THANKS !
>>
>> Sincerely,
>>
>> Tomas
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-devel mailing list
>> greenstone-devel@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>>
>>
>
>

--
Department of digitization
University library Bratislava
http://www.ulib.sk