Re: [greenstone-users] how to add new navigation button ?

From Stefan Boddie
DateThu, 22 May 2003 11:04:51 +1200
Subject Re: [greenstone-users] how to add new navigation button ?
In-Reply-To (20030521045811-4009-qmail-webmail8-rediffmail-com)
Hi,

You'll also need to create a _Speakerwidth_ macro in base.dm. Look at
_Titlewidth_ for an example.

Stefan.

----- Original Message -----
From: "deepak kumar" <deepak_kumar15@rediffmail.com>
To: <greenstone-users@list.scms.waikato.ac.nz>
Sent: Wednesday, May 21, 2003 4:58 PM
Subject: [greenstone-users] how to add new navigation button ?


> Hello list,
> I want to add a new navigation button "Speaker" for a metadata
> "speaker". For this i edited the entries of base.dm and english.dm
> macros as--
>
> base.dm:--
> ========================
> _imageSpeaker_
>
{_gsimage_(_httpbrowseSpeaker_,_httpicontspkof_,_httpicontspkon_,speaker,_te
xtimageSpaeker_)}
>
> english.dm:--
> ========================
> _textimageSpeaker_ {browse by spaeker}
>
> ## "Speaker" ## nav_bar_button ## tspk ##
> _httpicontspkgr_ {_httpimg_/tsingr.gif}
> _httpicontspkof_ {_httpimg_/tsinof.gif}
> _httpicontspkon_ {_httpimg_/tsinon.gif}
> _widthtspkx_ {87}
>
>
> now i started building collection and including metadata speaker
> but the navigation bar donot recognise the icon for the speaker
> button but display only link in text format.
>
> can any body help me, where am i missing to put relevant
> entries.
>
> where is _httpbrowseTitle_ is defined? As i made entries by
> comparing the relevant entries of Title metadata button. I donot
> find any macro file where _httpbrowseTitle_ is defined.
>
> deepak
>
>
> ___________________________________________________
> Impress your clients! Send mail from me @ mycompany.com .
> Just Rs.1499/year.
> Click http://www.rediffmailpro.com to know more.
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>