Home | Registration | Catalog | Resources | Hosting | Services | Support | Contact Us | Downloads | Press Room | Search

Give Your Web Site A Professional Makeover Quickly And Easily DPA Software
SSE Template Pages  

 

Subscribe to our

Newsletter

Email Address

 

Login

Bookmark this Page
 

Up
Shared Border Tip
Resizing Images
Colorize Template
Sound Editing
Non-FP Web Applets
FP Rollover Buttons
Shared Border Info
Dynamic Navigation
Page Redirection
Using FX Templates
Designing STs
Theme Attributes
Picture Bullets
Multiple STs
STS Super Themes
Using FX Splash Page
Frames and Effects
Replace Component
Matching Colors
Button Bar Helper
Auto Sizing
Go To Slide
Screen Capture
Media Maker
Link Bars
Tip of the Day
PFX Inline Frames
Customize Splash
Background Image
Search Engine
Quick Search
DWT Web
FP2003 FAQs
Spacer GIFs
Apache Splash Pages
Borders Meta Tag
SSE Template Pages
Search PDF Files
_frontlook Folder
Auto Backups
FP Templates
SSE Clear Button
SSE Area Menu
SSE Optimization

 

Downloads
FREE STUFF
Press Room
Search

Shopping Cart
 

No Items 

 

Check Out

 

 

Need FrontPage?

 

Great Price!

 

FrontLook.com Newsletter Tip

Volume 3 - Issue 12 - March 2004

Adding a Search Page to a Template Based Web
By David Pfeiffer of FrontLook.com

If you are using a FrontPage template on your web (i.e., not shared borders), then adding a FrontLook Site Search Engine page to your web that has the same look of your web requires a couple of extra steps. This procedure is outlined in this tip.

It is assumed that you have already installed the 2.0 version of the FrontLook Site Search Engine and that you have already setup your search areas. Click here if you need help in setting up your search areas.

Step 1: Add a blank template to your web
First you should add a new page to your web from your page or web templates If you are running am ASP server, then name this page "search.asp". If you are running am PHP server, then name this page "search.htm".


Blank Template Page

Step 2: Add a plain FrontLook Site Search Engine page to your web
Now select the "Insert->FrontLook Site Search Engine->Insert Search Page..." menu item. The "Insert Search Page" dialog will appear.

Rename the "File Name" to "searchpage.asp" ("searchpage.php" for PHP servers) and select the "Don't Add to Nav. View" radio button.


Changing the Files name and Navigation Position

Now go to the "Format" tab and then make sure the "Apply web shared borders" and "Apply web theme" are unchecked as illustrated below. You should also turn off the "Page Margins" and "Style Sheet" items as well.


Setting the Format panel

To support the typical page template, the navigation bars and include pages should be excluded from the search as illustrated below.


Setting the Excludes for page templates

Now press the "OK" button. The new "searchpage.asp" should now be in the root of the web.

PHP Users: you will do the same thing except your the Insert Search Page dialog will insert two pages onto your web. One named "searchpage.php.htm" and "searchpage.php" Your template page should be named "search.htm" as desscribed above.

Step 3: Copy the Body of the search page to the content area of the template page
Now bring up the "searchpage.asp" in FrontPage and press the "control-a" and then "control-c" key combinations. this will copy the page contents to the clip board.

Now bring up the "search.asp" template page and put your cursor in the content area of the web where you would want to insert the search engine.


Contents of searchpage.asp


Search Area placed on template page

Step 4: Copy the pre-<html> code from the search page to the template page
Go to the "searchpage.asp" page in the FrontPage editor and switch to HTML mode and copy all the script from the top of the page to the <head> tag as illustrated below.


:
:


Select and copy the script before the <head> tag

Now go to the "search.asp" page in the FrontPage editor, switch to HTML mode and put the cursor at the top of the page. Press "control-v" on the keyboard to paste the script code on the page. Your should now see the script on the page.

Now you will need to copy and paste the following lines of code somewhere between the <head> and </head> tags on the "search.asp".

<script>
<% =WriteScript() %>
</script>

If you are using a DWT, the code must be put in an scripting editable region as outlined below:

<!-- #BeginEditable "scripting" -->
<script>
<% =WriteScript() %>
</script>
<!-- #EndEditable -->

Now save the "search.asp" page and test it by running it on your server.

Note PHP Users: You will do the same control-a, control-c operation on the source page called "searchpage.php.htm" and then paste it to your template page - "search.htm".

Now you will need to copy and paste the following lines of code somewhere between the <head> and </head> tags.

<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=searchpage.php">

Now save the "search.htm" page and test it by running it on your server.

Step 5: Save and Test the new search page
Now save the "search.asp" page and test it by running it on your server. If everything is working, you can now delete the "searchpage.asp". Add "searchpage.asp" to your navigation structure of your web.

Note PHP Users:  To test the PHP search page, you must do the following:

 - Rename "searchpage.php.htm" to "searchpage_old.php.htm"
 - Rename "search.htm" to "searchpage.php.htm"
 - Add "searchpage.php.htm" to your navigation structure.

Once this is complete, you should be able to bring the "searchpage.php.htm" page up in the browser and run a search. Then you can delete "searchpage_old.php.htm" if you wish.

That's It!
The previous process can be used to insert a FrontLook Site Search engine on a template-based web page. The web used for this tip is located at http://www.mukwonagowarriors.org.

 

DPA Software

Copyright 2004 DPA Software - All Rights Reserved

Last Modified : 03/06/2008 11:15 PM

We accept the following payment forms
POs and Checks and PayPal accepted
Privacy
Statement
Questions or Problems?
 Click here
Download Policy
Secured by SSL Certificate

All products come with a

FrontLook, Theme Chameleon, Image Chameleon and FrontLook Super Themes are trademarks of DPA Software. Microsoft FrontPage, SharePoint, Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Java is a trademark of Sun Microsystems. *PC Magazine is a registered trademark of Ziff Davis Publishing Holdings Inc. Used under license from Ziff Davis Media Inc.