Re: Re: [greenstone-users] HOW to Create New Buttons

From John Rose
DateMon, 07 Nov 2005 10:01:32 +0100
Subject Re: Re: [greenstone-users] HOW to Create New Buttons
Dear George, Katherine,

When I had a similar problem with 2.52 last
Spring (button name appearing but not button), I
fixed it with Michael's advice:

'If there was not already an existing extra.dm
file then you will need to add "extra.dm" to the
end of the list of macrofiles in etcmain.cfg'

Best regards, John


At 02:03 02-11-05, you wrote:
><SNIP>
>
>Message: 6
>Date: Tue, 01 Nov 2005 17:19:33 +1300
>From: Katherine Don <kjdon@cs.waikato.ac.nz>
>Subject: Re: [greenstone-users] HOW to Create New Buttons and
> associate them with buttonname argument
>To: g_varamishvili@geo.net.ge
>Cc: greenstone-users@list.scms.waikato.ac.nz
>Message-ID: <4366ECD5.9000608@cs.waikato.ac.nz>
>Content-Type: text/plain; charset=us-ascii
>
>Hi George
>
>Did you specify a buttonname on the image generation page with an
>underscore in it? eg Titles_en?
>Underscores are removed when generating macro names, so a buttonname of
>Titles_en would become Titlesen. eg _imageTitlesen_ and
>_icontabTitlesengreen_
>
>If this is what has happened to you, you probably need to change the
>classifier -buttonname option to e.g. Titlesen
>
>Then you will need to rebuild the collection. Does it work now ??
>
>Regards,
>Katherine
>
>
>g_varamishvili@geo.net.ge wrote:
> > Dear Michael,
> > Dear List
> > I have a question:
> >
> >
> > I've edited my Dublin Core metadata set and added there two
> > rows: dc.Title_EN and dc.Creator_en , theese are simmilar to
> > dc.Creator and dc.Title rows of DC metadata set. So, now i
> > want to associate new buttons with these metadata elements
> > Titles EN and Authors EN. I found the buttonname generator in
> > the internet
> > (http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/make-
> > classifier-images.html)
> > and generated buttons and macros and edited my macro files.
> > When I rebuilt a collection new buttons didn't appear. Can
> > somebody help me?
> >
> > here is the qoute from my collect.cfg
> >
> > "classify GenericList -metadata dc.Creator_en -
> > buttonname Auth_en"
> >
> > "classify GenericList -metadata dc.Title_en -buttonname
> > Titles_en"
> >
> >
> > Sincerely, George Varamishvili
> >
><SNIP>
><
>End of greenstone-users Digest, Vol 32, Issue 1
>***********************************************


John B. Rose
1 Bis, Rue des Châtre-Sacs
92310 Sèvres
France
Email: <johnrose@alumni.caltech.edu>