Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise, Web
Expertise: Intermediate
Feb 25, 1999

Customize the Index Server Results Page

Don't like that plain search results page that comes up when using index server, when the rest of your site looks so nice? The results page is a file with the extension ".htx" (by default search.asp0.htx for ASP sites, or search.htm0.htx for HTML sites). This file is really just HTML code, with server scripting to load the results data (see Tip: "Locating the Results Page in Index Server"). Therefore, you can change it as you see fit to more readily look like the rest of your site. However, if you take the default location for this file (usually the /_derived/ subdirectory) and begin to include or paste in your HTML code, beware! Since you are in a subdirectory, your references to graphics or include files may be off (for example, "images\menu_graphic.gif" won't exist in that location). You must resolve your paths either with server variables for the application path or include the full reference on them. Better yet, you can simply put this HTX file in with your other ASP pages and not worry about the references since it will be the same.
Joe Karbowski
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date