Re: [greenstone-users] banner images for classifiers

From sw64@cs.waikato.ac.nz
DateThu, 30 Nov 2006 11:41:36 +1300 (NZDT)
Subject Re: [greenstone-users] banner images for classifiers
In-Reply-To (op-tjrx3ctpruw66m-fb1intf3-fb126-uni-muenster-de)
Hello Volker,

By default, contains a button label which is defined by
_labelXXX_ (normally in english.dm), where XXX is the button name
(case-sensitive). If _labelXXX_ isn't defined, the button name is used
instead.

is used by which is defined in nav_css.dm in
which you will see a definition like this
{}

So you can use a conditinal string to override the button name or
_lableXXX_ in the pagebanner with an image by redefining as
the following or similar:

{<img>your ms_no image
</img>))}

Remember to put quote around the macro and be aware the
string comparision is case-sensitive.

Regards
Shaoqun


>
> Hello all together,
>
> I've question concerning the connection between browsing classifiers,
> their buttonnames and pictures in the banner.
>
> We use GS 2.71.
>
> I build a collection using two browsing options. These are named via
> "buttonname" as "ms-no" and "date". Its important to have this names in
> the navigationbar.
> so I can maybe work with a
> conditional string. Or is there a way to override the butonname in the
> pagebanner with an image?
> Second I built a banner consisting of a table with 3 cells. Their content
> is: 1. Greenstone Archives collection , 2. and 3. HOME HELP PREFERENCES. Now I
> want to show cell 2 diffrent images for every page. I copied as written
> the _titleimageXXX_macros from nav_ns4.dm and for aboutpage, help and
> search everything works fine. The Problem is, that this picture is
> overridden for the browsing classifiers by the buttonname.
>
> I tried to format this textoutput to make it similar to the text in the
> other pictures used in the other pages, but in this case the other
> pictures get problematic margins.
>
> Can you help me please to find the definitions that connect the
> macro with the buttonname, so I can maybe work with a
> conditional string. Or is there a way to override the butonname in the
> pagebanner with an image?
>
> Thanks a lot
> Volker Konrad
>
> PS: I attached a picture of the bannertable with activated borders, to
> show what I want._______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>