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

From Gavin Spomer
DateThu, 19 Apr 2007 18:35:31 -0700
Subject Re: [greenstone-users] Detach and no highlighting bar
Yes, that works too. Same thing, different way. I got the impression that Chandana wasn't using the GLI Client because Chandana sent a copy of the collect.cfg to the list. My mistake. I hope Paing's useful instructions help if mine don't. :)

- Gavin

>>> PaingThu Chit <paingthu@gmail.com> 04/19/07 6:22 PM >>>
Hi Chandana,
1. Go to Greenstone librarian Interface.
2. Load ur Collection.
3. Go to "Format" Tab.
4. Click "format Features" on the left panel
5 Click the "Documentbuttons"" from the right panel.
6. Clear or delete everything in the "HTML Format String" Box. It might have
something like
detect|no hightlight as default. just delete all.

I hope this will work.

Regards,
Paing.

On 4/19/07, Gavin Spomer <spomerg@cwu.edu> wrote:
>
> 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.
> >
> > creator cpatra@cgcri.res.in
> > maintainer cpatra@cgcri.res.in
> > public true
> >
> > buildtype mgpp
> >
> > #indexes document:text document:Title document:Source
> > indexes Title cd.Artists cd.Object cd.Subject cd.Title
> > defaultindex Title
> >
> > levels document
> >
> > indexoptions accentfold casefold stem
> >
> > defaultlevel document
> >
> > plugin ZIPPlug
> > plugin GAPlug
> > plugin TEXTPlug
> > plugin HTMLPlug -smart_block
> > plugin EMAILPlug
> > plugin PDFPlug
> > plugin RTFPlug
> > plugin WordPlug
> > plugin PSPlug
> > plugin ImagePlug
> > plugin ISISPlug
> > plugin NULPlug
> > plugin MetadataXMLPlug
> > plugin ArcPlug
> > plugin RecPlug
> >
> > classify AZCompactList -metadata cd.Artists
> >
> > classify Hierarchy -metadata cd.Subject
> >
> > classify List -metadata cd.Object
> >
> > classify AZCompactList -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"
> >
> > collectionmeta collectionname [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"
> > collectionmeta iconcollection
> > [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
>
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>