Page 1 of 1
pisearch question
Posted: Mon Jun 05, 2006 11:43 am
by Kaylen
Hi,
I have downloaded pisearch and installed it as a module.
I've put the following code in my ellnav template where I want the search field to appear:
{cms_module module="pisearch" action="showform" lang="nl_NL"}
and this css code in the layout css:
div.search{
float: right;
width: 65%;
text-align: right;
padding: 0;
margin: 0 1em;
}
It shows fine on my page
The Pisearch page where the results are to be shown is indead made

and I added the following code to it:
{cms_module module="pisearch" action="showresults" lang="nl_NL" maxresults="100" searchnews="1" orderby="1" }
Put if I enter something in the searchbox on my page and press the button "search", there are no results displayed on the pisearch result display page.... I just see an empty page with the title Pisearch above it....
What am I doing wrong or am I forgetting?????
Barbera
Re: pisearch question
Posted: Mon Jun 05, 2006 2:46 pm
by Piratos
Your tag and css works fine.
If you are searching and you have no result because no matches, the template shows always the message like this
Geen resultaten gevonden met ->Ich will nichts finden<- .
If you have a blank screen you have no templates.
Here a screenshot of your tag and css result:
[attachment deleted by admin]
Re: pisearch question
Posted: Mon Jun 05, 2006 2:52 pm
by Kaylen
Piratos I dont understand...
Under the "content" menu , I have a menu item called pisearch and I thought the templates where there.....
I f I open the item I do see the pisearch form and beneath that the results code....
Is that correct? Do I need to do something more?
I have attached a screenshot of what I see after I press the search button:
[attachment deleted by admin]
Re: pisearch question
Posted: Mon Jun 05, 2006 3:02 pm
by Piratos
If you have templates there is only one another possibility.
if there is no value of search words in the _POST
if (isset($_POST["pisearch"])) $search = $_POST["pisearch"];
Pisearch returns blank:
if (!$search) return $result;
Re: pisearch question
Posted: Mon Jun 05, 2006 3:06 pm
by Kaylen
piratos, I am a beginner at this so please be patient with me?
I type a word I see on a page of my website in the search field so I know for sure that I type in a word to search that is used on one of my pages and then I get the screen above...
If I typed in a word that is not on my pages wouldn't pisearch then write on the resultpage : no result found for (and then the word I was searching for?
I tried several diffrent words and I just dont seem to find anything or get any results...
Re: pisearch question
Posted: Mon Jun 05, 2006 3:29 pm
by Piratos
no result found for
This you must get in dutch not in english.
What cms version ?
Re: pisearch question
Posted: Mon Jun 05, 2006 3:30 pm
by Kaylen
yes that is what I thought but I dont get anything as you can see.
My cms version =0.12.1
Re: pisearch question
Posted: Mon Jun 05, 2006 4:07 pm
by Piratos
Ok that is it - the minimal version of the cms is 0.13 and not 0.12, because i use the latest version iff cmsmodule.
Re: pisearch question
Posted: Mon Jun 05, 2006 4:12 pm
by Kaylen
ok so the solution is either to download an older version of pisearch or to upgrade to 0.13 then?
But I dont know how to update.....
Re: pisearch question
Posted: Mon Jun 05, 2006 4:19 pm
by Piratos
All version of module pisearch are made to cms version 0.13, but i have written in the versionfunction 0.12 so you could install it.
i have released the 0.101a version with the corrected minimalversion.
You must update to the 0.13 to use this module.
Re: pisearch question
Posted: Fri Jul 28, 2006 1:59 pm
by duplay
Would you b e able to offer me any help with pisearch? I cant get it to show up the modules section. I dl and copy to my modules folder on server and check permissions, but never shows up to install. Any help or ideas? Thanks, mjd