From | Stefan Boddie |
Date | Fri, 20 Sep 2002 10:02:25 +1200 |
Subject | Re: navigation bar |
In-Reply-To | (000c01c25fbe$86e25500$6d809e89-cs-uct-ac-za) |
> Here is some code from the following method
> > void documentaction::set_navbarmacros (displayclass &disp, > FilterResponse_t &response, > cgiargsclass &args) { > > the code i'm talking about is shown below > > while (dochere != docend) { > text_t title = (*dochere).metadata["Title"].values[0]; > count++; > > I don't want the navigation bar to have all the different searching > facilities. I want it to have 2 options. Our research has shown that > title A-z and search are used the most so we want to only have > these two options available. Say if titles isn't available then we'll > have subjects as it was the next popular etc... > > How can I do this. I assume that I should be able to get information > on what search options are available from > > text_t title = (*dochere).metadata["Title"].values[0]; > > or maybe I might have to change the "Title" to something else. I'm > sure its easy to do, I just don't know how? > > I would appreciate any help. > > cheers > > Dynal Hi, Is there are reason you don't want to do this at collection build time? If
If you're really committed to doing it at runtime I'd suggest you scrap the
text_t navigationbar = "<a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-JeanZz-Marc+Briennon--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q">search</a><br>
";
---- This discussion is a little too technical for this list. If you want to
cheers,
|