Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Customize Frontpage Search Component

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
PaulKorzycki
Asked:
PaulKorzycki
  • 2
1 Solution
 
webwomanCommented:
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
 
eWhisperCommented:
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
 
webwomanCommented:
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
 
PaulKorzyckiAuthor Commented:
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now