Re: [greenstone-users] Detach and no highlighting bar

From Gavin Spomer
DateThu, 19 Apr 2007 08:02:01 -0700
Subject Re: [greenstone-users] Detach and no highlighting bar
Chandana,

I apologize if my instructions weren't clear; I tried very hard to make them simple to follow. If you don't want ANY buttons (bars) then the easiest way is to put the following in your collect.cfg:

format DocumentButtons ""

I have tested this myself and it works. Please let me know if you don't understand the above and I will try even harder to explain it to you. :)

Also, please address your replies to the list (greenstone-users@list.scms.waikato.ac.nz) as emails sent to the list get archived and thus could possibly help more people in the future. You may also want to check the archives too, to possibly find answers to some of your questions. The list archives are at:

http://puka.cs.waikato.ac.nz/cgi-bin/library?a=p&p=about&c=gsarch

Hope this helps!

Gavin

>>> Chandana Patra <cpatra@cgcri.res.in> 04/18/07 10:04 PM >>>

Dear Gavin Spomer,
Firstly, I could not follow the instruction. Later I changed the value and
got result. Presently, I am getting print bar. My interest is not to keep
any bar.
Regards,

On Mon, 16 Apr 2007 07:50:58 -0700, Gavin Spomer wrote
> Chandana,
>
> Please, with respect to you, re-read my instructions carefully as I
> believe I have been ultra clear and precise in them. My instructions
> do not say to remove the DocumentButtons format string entirely, but
> to remove the values of the buttons you do not wish to have. Here is
> another example for you:
>
> If your collect.cfg file has
>
> format DocumentButtons "Print|Detach|Highlight"
>
> and you don't want the "NO HIGHLIGHTING" button then change it to
>
> format DocumentButtons "Print|Detach"
>
> I removed the | after the word "Detach" because it was not needed.
> Make sense? :)
>
> - Gavin
>
> >>> Chandana Patra <cpatra@cgcri.res.in> 04/15/07 10:36 PM >>>
>
> Dear Gavin,
> Thanking you for your cooperation.
> I have tried to follow your instruction. But, I could not get this --
> "don't forget to remove unneeded | separators". After removing
> DocumentButtons, I built collection. But, I am seeing that those
> Detach and Highlight bar are still getting displayed. I am providing
> you my collect.cfg file for the collection for your kind checkup.
> Kindly help me to sort out the problem.
>
> creatorcpatra@cgcri.res.in
> maintainercpatra@cgcri.res.in
> publictrue
>
> buildtypemgpp
>
> #indexesdocument:text document:Title document:Source
> indexesTitle cd.Artists cd.Object cd.Subject cd.Title
> defaultindexTitle
>
> levelsdocument
>
> indexoptionsaccentfold casefold stem
>
> defaultleveldocument
>
> pluginZIPPlug
> pluginGAPlug
> pluginTEXTPlug
> pluginHTMLPlug -smart_block
> pluginEMAILPlug
> pluginPDFPlug
> pluginRTFPlug
> pluginWordPlug
> pluginPSPlug
> pluginImagePlug
> pluginISISPlug
> pluginNULPlug
> pluginMetadataXMLPlug
> pluginArcPlug
> pluginRecPlug
>
> classifyAZCompactList -metadata cd.Artists
>
> classifyHierarchy -metadata cd.Subject
>
> classifyList -metadata cd.Object
>
> classifyAZCompactList -metadata cd.Title
>
> format VList "<td valign="top">[link][icon][/link]</td>
> <td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}
[ex./srclink]
> </td>
> <td valign="top">[highlight]
> {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format HList "[link][highlight][ex.Title][/highlight][/link]"
>
> format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
>
> format DocumentText "[Text]"
>
> format SearchTypes "plain,form"
>
> collectionmetacollectionname [l=en] "Art"
> collectionmeta.document:text [l=en] "text"
> collectionmeta.document:Title [l=en] "titles"
> collectionmeta.document:Source [l=en] "filenames"
> collectionmeta.Title [l=en] "titles"
> collectionmeta.cd.Artists [l=en] "cd.Artists"
> collectionmeta.cd.Object [l=en] "cd.Object"
> collectionmeta.cd.Subject [l=en] "cd.Subject"
> collectionmeta.cd.Title [l=en] "cd.Title"
> collectionmetaiconcollection
> [l=en] "/gsdl/collect/art/images/cc.jpg"
>
> On Fri, 13 Apr 2007 08:39:42 -0700, Gavin Spomer wrote
> > Chandana,
> >
> > You can either edit the particular collection's collect.cfg file or
> > use the GLI client:
> >
> > Edit The collect.cfg:
> >
> > Change the value for the DocumentButtons format string. For
> > example, if you have:
> >
> > format DocumentButtons "Print|Detach|Highlight"
> >
> > change it to:
> >
> > format DocumentButtons "Print"
> >
> > Use GLI Client:
> >
> > 1. Open the desired collection in the GLI Client
> > 2. Click on the Format tab
> > 3. Select Format Features on the left hand pane
> >
> > 4. Select DocumentButtons from the Format Features list on the right
> >
> > 5. Remove the buttons you don't want (Ex: Detach & Highlight) and
> > don't forget to remove unneeded | separators
> >
> > Hope this is helpful.
> >
> > - Gavin
> >
> > >>> Chandana Patra <cpatra@cgcri.res.in> 04/12/07 11:51 PM >>>
> > Dear List Members,
> > Kindly let me know how to remove Detach and no highlighting bar
> > for a particular collection.
> > Regards,
> >
> > --Mrs. Chandana
>
> --Mrs. Chandana Patra
> Central Glass and Ceramic Research Institute
> Kolkata - 700032


--Mrs. Chandana Patra
Central Glass and Ceramic Research Institute
Kolkata - 700032