-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Mick Semb Wever
Skickat: den 6 mars 2008 11:16
Till: Sesat Kernel usage and development discussions.
Ämne: Re: [Kernel-development] navigationBox macro in VM_sesat_library.vm

>> I have a question about the navigationBox macro in sesat-kernel.
>> 
>> Does the macro require that all searchresults have the field that the
>> navigator uses or will it still work even if only 50% of results have
>> a value in for example the "topics" field?

>It appears that $option definitely requires:
>$option.selected
>$option.url
>$option.title

>atleast at the rendering-time of the macro. I cannot see how one of the
>first could be empty since they come from the navigation configuration.

>Or are you asking about fields being required at NavigationController
>process-time?

Don't know exactly what terms to use... 
I'm currently working on redesign of one of our sitesearches. The redesign 
includes adding navigator boxes for date, topics and categories. The date box 
works fine, but the other two just won't work. We can see in fast that the date 
field always has values, but topic and categories often miss values. So I was 
just wondering if this could be the problem with why those two boxes won't 
work? Is the macro (or other code that the macro needs) checking if all results 
contain values for topic when running: 
#navigationBox("Topic", "Ämne",6)

/Anna


~mck

 
-- 
"When you say: "I wrote a program that crashed Windows", people just
stare at you blankly and say: "Hey, I got those with the system -- for
free."" Linus Torvalds 
| Homepage - www.wever.org | Sesam Search Engine - www.sesam.no |
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to