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

From Gavin Spomer
DateMon, 16 Apr 2007 07:50:58 -0700
Subject Re: [greenstone-users] Detach and no highlighting bar
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