Solved

Customize Frontpage Search Component

Posted on 2002-04-17
4
305 Views
Last Modified: 2013-12-24
I'm assuming this *can't* be done, but is there a way to customize the included Frontpage Search Webbot?  I'm mainly interested in changing the font.
0
Comment
Question by:PaulKorzycki
  • 2
4 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 6949009
Yes and no... the template for the search page it returns is usually an htx file. See if you can find that, and if FrontPage will open it. You'll have to be careful, since you can easily break it. Safest to make a copy first.

I use Index Server, but I think the file extensions are the same for the webbot one.
0
 

Accepted Solution

by:
eWhisper earned 50 total points
ID: 6952188
There are multiple ways to change the font for any webbot in frontpage. If you make a default font for the page, table, or cell, the webbot's visible letters will appear in such a font.  (i.e. for html <td style="font-family: Bookman Old Style; color: #FFFFFF; font-weight: bold > )
OR
right click cell properties > format > font > make font here will also create the above html settings and both
have a result of:
bot's text will be bold, colour #FFFFFF and appear in bookman old style.

The second way is to use the font tags to surround the bot in HTML view:

<font color="#9900CC">
  <!--webbot bot="Search" S-Index="All" S-Fields S-Text="Search for:"
  I-Size="20" S-Submit="Search" S-Clear="Reset" S-TimestampFormat="%m/%d/%y"
  TAG="BODY" --> </font>

would change the buttons to a purplish colour.  you can also include the <i> and </i> tags for italix.  However, all bots are automatically bold, and there is no way to remove this that I am aware of.

eWhisper
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6952604
That doesn't change the RESULTS -- that changes the SEARCH page.

The results page is a totally different document.

But if they're looking to change the search page, that would certainly do it. ;-)
0
 

Author Comment

by:PaulKorzycki
ID: 6953936
Actually, surrounding the WebBot with the FONT tag *does* affect the font in both the search and the results page.  I also found that if I use a style sheet, I can affect the way the links look.  A bit of a hack, but its nice to have the search engine conform to the style of the rest of the pages.

Thanks for all your help.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question