navigation bar

From Dynal Patel
DateThu, 19 Sep 2002 11:25:42 +0200
Subject navigation bar
Hello
 
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