How do I supress the black/grey/white relevancy boxes that appear on the left side of search results?
These are ugly in my app and really don’t help matters.
Thanks.
How do I supress the black/grey/white relevancy boxes that appear on the left side of search results?
These are ugly in my app and really don’t help matters.
Thanks.
Subject: Search relevancy boxes… How do I disable?
Easiest is use “treat as html” view properties
Subject: RE: Search relevancy boxes… How do I disable?
I’ll give the treat as HTML a shot. I am currently using the $$SearchTemplate method.
Subject: RE: Search relevancy boxes… How do I disable?
I was just going through the forum for my own problem when I saw yours. The best solution to your problem is to write a javascript that resizes the “'vwicnsr4.gif” to a 1 px image. on the $$searchTemplateDefault form open the “OnLoad” and paste this code.
for(i=0; i < document.images.length;i++){
if( document.images[i].src.indexOf(‘vwicnsr4.gif’) != -1) {
document.images[i].height=0
document.images[i].width=0
}
}
Regards
Subject: RE: Search relevancy boxes… How do I disable?
That did the trick. However, the actual name of the gif in my case was vwicnsr5.gif.
Thanks!
Also, my $$ViewBody field is actually in a subform. The Javascript must go in the OnLoad event of the Parent Form.
Subject: RE: Search relevancy boxes… How do I disable?
This is excellent, however it only works for the dark grey box. How can we make it work for all of the relavency boxes?
Subject: Search relevancy boxes… How do I disable?
Joey,
Perhaps using a $$SearchTemplateDefault with a ?searchview would be a better approach.
[added 11:45] oops… forgot the rest of the text!
In the $$SearchTemplate form you can grab the count, start, hit, etc. I normally “sandwich” the $$ViewBody field between
andIn the view, the first column (hidden, sorted) is search keywords and the 2nd column is formula that embeds HTML with data you want displayed. Of course, you would want to start this with …
Subject: Search relevancy boxes… How do I disable?
If you have access to the server (physically or through agents that write to the file system), replace the graphic files on the server with the xparent.gif image (I think the images for the squares are in files with a name something like vwicnsr1.gif through vwicnsr7.gif, can’t remember exactly. Though you will then be disabling it for everyone ![]()
Subject: RE: Search relevancy boxes… How do I disable?
Thought of that, but this is a shared server. Besides, that’s difficult to maintain with server upgrdaes and restores, etc…