I am trying to put a search function on my website, it's not working right on the website.
In my index.php, I put this source code:
In the search.php:
When I trying to search the result, I get this :

It does not display any message or result, it just blank. What have I missed?
In my index.php, I put this source code:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
.
.
<cms:search_form msg='Enter keywords' processor="<cms:show k_site_link/>search.php"/>
.
.
<?php COUCH::invoke(); ?>
In the search.php:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
.
.
<cms:search_form />
<cms:search>
<cms:if k_paginated_top >
<div>
<cms:if k_paginator_required >
Page <cms:show k_current_page /> of <cms:show k_total_pages /><br>
</cms:if>
<cms:show k_total_records /> Pages Found -
displaying: <cms:show k_record_from />-<cms:show k_record_to />
</div>
</cms:if>
<h3><a style="color:red;" href="<cms:show k_page_link/>"><cms:show k_search_title /></a></h3>
<cms:show k_search_excerpt />
<hr>
<cms:paginator />
</cms:search>
.
.
<?php COUCH::invoke(); ?>
When I trying to search the result, I get this :

It does not display any message or result, it just blank. What have I missed?