Affordable Web Hosting with Excellent Customer Support internet connection free month hosting

Site Search NetConsole Package Integration

The Site Search utility may be placed on any existing page of your website. You may find this a particularly useful feature as it allows visitors to your site to perform a search without leaving the page they are currently viewing.

".phtml" Filename Extension

In order for Site Search to work properly, the filename of a page containing the search utility must end in the extension, ".phtml". For example, if you wished to place the search utility on a page named "mypage.html", you would need to rename the page to "mypage.phtml".

The Site Search Code

This code must be added to the page on which you wish to place the search utility.

The Style Tag

The style tag below must be included on your page between the <head></head> tags:

.results {
        -libea-search: 'query(q)';

The Form Action Tag

The code contained within the form action tag shown below should be placed in the area of the page where you wish the search tool to appear.

<form action="index.phtml" method="get">
      <div class="query" id="search_form">
         Search: <input type="text" name="q" id="search_input"/>
         <input type="submit" value="Search" id="search_button" />

      <div class="results" limit="10">
      <div class="resultbanner">
         Results for: <span field="query">SEARCH QUERY</span><br />
         <span field="count">NUMBER</span> documents found.

      <div class="result">
         <div class="result_title"><a href="{url}"><span field="title">PAGE TITLE</span></a></div>
         <div class="result_description"><span field="description">RESULT DESCRIPTION</span></div>

         <div class="result_summary"><span field="summary">RESULT SUMMARY</span></div>
         <div class="result_info"> /<span field="filename">FILENAME</span>
         <br />score: <span field="score">SCORE</span></div>

      <pager> <a page="previous">Previous</a>
         Page: #page# of #pages#
         <a page="next">Next</a>