Customiing Results Page

john34
Posts: 5
Joined: Tue Dec 19, 2000 1:27 pm

Customiing Results Page

Post by john34 »

I've been trying to find documentation on how to customize the results page, can you direct me to the URL with this info, or can you provide me with the documentation on how to do this?

Thanks!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Customiing Results Page

Post by mark »

john34
Posts: 5
Joined: Tue Dec 19, 2000 1:27 pm

Customiing Results Page

Post by john34 »

I looked at those pages and they do not mention how to put the results page into an html template to match my site's layout.

Thanks again!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Customiing Results Page

Post by mark »

The results page is generated by the search script, which you will have to edit to customize. If you're using the default search script there are "top" and "bottom" functions near the top of the file that generate the beginning of page and end of page boilerplate html respectively. That's where you would put your template.
john34
Posts: 5
Joined: Tue Dec 19, 2000 1:27 pm

Customiing Results Page

Post by john34 »

I was able to edit the page by entering simple text, but when I dropped in my html I received the following error:

015 /webinator/newsearch:122: Missing start double quote in value

Once I deleted the HTML I added the error was gone.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Customiing Results Page

Post by mark »

You apparently had an unbalanced quote in your html. When you place it in again check the script at the line number given in the message. Line 122 in the message you gave. The problem may be related to your javascript. Search this board for "javascript" to find out how to embed javascript into vortex.
john34
Posts: 5
Joined: Tue Dec 19, 2000 1:27 pm

Customiing Results Page

Post by john34 »

Okay, I fixed that problem now this has popped up:

015 /webinator/newsearch:115: Function `top' is unterminated
215 /webinator/newsearch:41: `top' was started here
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Customiing Results Page

Post by John »

You might want to escape your javascript by enclosing it in <VERB NOESC>....</VERB>, and also make sure that all your <A>s have corresponding </A>s.
John Turnbull
Thunderstone Software
alistvideos
Posts: 26
Joined: Tue May 01, 2001 8:58 pm

Customiing Results Page

Post by alistvideos »

Hello, I have the same problem as above. The error message I received: 015 /webinator/narrowmetarev:451: Missing start double quote in value

(narrowmetarev-is a name I made up.)

My question is - How do I find line #451?
Is there an easier way than manually counting?

Thanks, Paul
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Customiing Results Page

Post by John »

How to go to a particular line will depend on the editor you are using. With notepad you can use CTRL-G or choose Go To from the Edit menu. In this case the problem is related to the ADBANNER function.
John Turnbull
Thunderstone Software