|
Back
Some Search Scripts for PostNuke
For the site www.iema.net, we upgraded the search facility to make it just a tad neater. The updated scripts are included here, but there is not much in the way of explaination I'm afraid. To give you a brief overview:
- The way in which the search scripts in html/includes/search is invoked has been changed. The scripts contained a much duplication of code between them; the duplicated code was removed from these scripts and put once into the main search module.
- The format of the search results weas tidied up for just two modules: htmlpages and stories. These are the only two modules that anonymous users can search on.
- Permissions checks were included to ensure the user has permission to search on each module. Within the stories module, permissions checks ensures the user can only search on the relevant topics and categories to which they have access.
- The search block was changed too, in order to limit the search by the permissions settings.
- These work on my PN.722 application.
These scripts contain no warranty, and may not work on your application. Please use them for information only. I will, howver, try to answer any specific questions you may have.
Search Module (html/modules/): search_module.zip
Search block (html/includes/blocks/): search_block.zip
Search forms (html/includes/search/): search_forms.zip
Last updated:
Wednesday, 28-May-2008 16:14:33 BST
|