A search plugin for GetSimple. It is similar to nexfo's plugin, with the main difference that it allows searching for multiple keywords (in different parts of the text). A slightly modified version for the GetSimple News Manager plugin can bee seen here.
Installation instructions:
Download the plugin here, extract its contents (keyword_search.php) and move it to your plugins folder. Create the following component and call it "Search Form":
Place this component on your site by inserting:
anywhere in your (default) template.
You will also have to create a new page and template to print the search results. To create the template you should copy the default template.php to search.php and place:
right beneath or instead of
Then create a new page to display the search results. Name it Search (title) and let it use the new search.php template and everything should be working fine.
Note: of course you can use different names, but make sure to be consistent then.
Installation instructions:
Download the plugin here, extract its contents (keyword_search.php) and move it to your plugins folder. Create the following component and call it "Search Form":
Code:
<form id="search_form" action="index.php?id=search" method="post">
<input type="text" class="text" name="keywords" />
<input type="submit" class="submit" value="Search" />
</form>
Place this component on your site by inserting:
Code:
<?php get_component('search-form'); ?>
anywhere in your (default) template.
You will also have to create a new page and template to print the search results. To create the template you should copy the default template.php to search.php and place:
Code:
<?php get_search_results(); ?>
right beneath or instead of
Code:
<?php get_page_content(); ?>
Then create a new page to display the search results. Name it Search (title) and let it use the new search.php template and everything should be working fine.
Note: of course you can use different names, but make sure to be consistent then.