[sagreenstone] [greenstone-users] A-Z Compact list display
Amos Kujenga
akujenga at gmail.com
Wed Nov 12 13:52:56 EET 2008
Hi Renate
It looks like your problem is somewhat "two-fold":
1. You decided to enable the "keep_the_original_filename" option for
the PDF plugin
2. Most (all???) your files have the "#" as a prefix. The webserver
doesn't seem to like this character and that's why it displays a
directory listing.
Hope this works!
Regards
Amos
On 11/10/08, Renate Morgenstern <rmorgenstern at unam.na> wrote:
> Hi Amos,
> I am coming back to you about the link problem. It only worked partly
> - if I now click on the link to the PDF document it does not open the
> PDF immediately, but displays the file list and I have to open by
> clicking on the file name. See screenshot below:
> Renate
>
> Emacs!
>
>>Date: Fri, 07 Nov 2008 16:16:10 +0100
>>To: "Amos Kujenga" <akujenga at gmail.com>
>>From: Renate Morgenstern <rmorgenstern at unam.na>
>>Subject: Re: [greenstone-users] A-Z Compact list display
>>
>>It worked - thanks very much! ;-)
>>Have a good weekend.
>>Regards
>>Renate
>>
>>>Hi Renate,
>>>
>>>Try changing <td valign="top">[link][icon][/link]</td>
>>>to <td valign="top">{If}{[numleafdocs],[link][icon][/link]}</td>
>>>
>>>The If statement should ensure that Greenstone only displays the
>>>bookshelf icons (when leaf nodes exist) and not the links to the html
>>>versions created by Greenstone.
>>>
>>>Kindly confirm if this has solved your problem.
>>>
>>>Amos
>>>
>>>On 11/7/08, Renate Morgenstern <rmorgenstern at unam.na> wrote:
>>> >
>>> >>Hi,
>>> >>
>>> >>I have a collection of PDF documents converted to HTML. In the
>>> >>display of an A-Z Compact List I just want the PDF link and not the
>>> >>link to the html files generated by Pdftohtml. When I remove the
>>> >>link to the html, then the link in the A-Z Classifier also
>>> >>disappears. Here is my current format. How should I format it to
>>> >>only display the link to the PDF?
>>> >>Thanks
>>> >>Renate
>>> >>===============
>>> >>
>>> >><td valign="top">[link][icon][/link]</td>
>>> >><td
>>> >>valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./sr
>>> clink]</td>
>>> >><td valign="top">[highlight]
>>> >>{Or}{[format:dc.Date],[ex.Title],Untitled}
>>> >>{if}{[numleafdocs],([numleafdocs])}
>>> >>[/highlight]
>>> >>{If}{[dc.Numbers], - No. <i>[dc.Numbers]</i>}</td>
>>> >>
>>> >
>>> > Mrs Renate Morgenstern
>>> > University of Namibia Library
>>> > Windhoek, Namibia
>>> > Tel.: +264 61 2063869
>>> > rmorgenstern at unam.na
>>> >
>>> >
>>
>>Mrs Renate Morgenstern
>>University of Namibia Library
>>Windhoek, Namibia
>>Tel.: +264 61 2063869
>>rmorgenstern at unam.na
>
> Mrs Renate Morgenstern
> University of Namibia Library
> Windhoek, Namibia
> Tel.: +264 61 2063869
> rmorgenstern at unam.na
>
>
More information about the adlsngreenstone
mailing list