Re: [SPAM] [greenstone-users] ***[possibile_SPAM]***A double(or triple) whammy. Several pent up questions!

From Gavin Spomer
DateFri, 04 May 2007 13:31:30 -0700
Subject Re: [SPAM] [greenstone-users] ***[possibile_SPAM]***A double(or triple) whammy. Several pent up questions!
(1) I'm running collections in five or six languages - I've got the home
page with a few lines in each of those languages (en (default), it, es,
pt, ru, ko) which very quickly explains to people what to do for basic
things. Why is it they can't go to 'preferences' (the label and the link
is there of course and goes to the preferences page) from that home page
and change ot their language? It just doesn't work at that point. If
they choose a collection (any language) and choose a language (any) once
they go to preferences from that collection, then it works. I'd prefer
they could operate their language choice from the home page
'preferences' click. Could anyone tell me how we can achieve that? Or
if not, why not?

This perplexed me for quite some time too. It's a small bug that I discovered and was at a loss as to why I couldn't find
anyone else mentioning this in the list archives. I took me a LONG time to figure out what was going on. Following is the
quick fix. Near the end of the nav_css.dm file, change the PREFERENCES macro to:

preflink_ {PREFERENCES}

Short answer why this works: The homepreferences page needs to have a qt (query type) cgi argument value passed to
it. Otherwise, it "breaks" the javascript.

(3) Oh - just one more, if I may? The images for the 'home' and 'about' pages. Can I get the 'home' page image for the collections to be much
smaller? It seems to default to the larger size even if I try to link
to the smaller size, and I'd like even smaller ones if I could - can I?
Where do I make that adjustment?

Override the _homeextra_ with your own homemade html code. Then you can have the images in any size, position or
style you please.

Hope this helps! :)

Gavin Spomer
Systems Programmer
Brooks Library
Central Washington University