Page 1 of 1

pisearch help

Posted: Sat Apr 15, 2006 11:49 pm
by miss_d_bus
I've just updated to 0.12.1 Savusavu and now want to use pisearch. It all seems to work except when i don't want the results to be tagged on the bottom of the root file index.php as it looks messy. I followed the instructions and put in this in the code. When i put in a search term, it goes to a page called search.php BUT it doesnt output anything. I wonder if anyone else has had this problem?
Its such a useful tag and I would very so greatful to the developer of this to look into it. I'd do it myself but alias I don't have his skills!

Thanks,

Re: pisearch help

Posted: Sun Apr 16, 2006 9:41 am
by Nogga
You have to create a page named search first.

Then on this page, place a tag like this:

{pisearch template="search.tpl"}

A template called search.tpl should be also placed in tmp/templates/

Re: pisearch help

Posted: Sun Apr 16, 2006 1:09 pm
by miss_d_bus
i created the page called search.
I also have the template file in the right place.
When i followed your instructions, it times out. In the help information of the tag, it does say:
"If you set the plugintag in a content pisearch works in a recursiv loop, that never ends !"
Which is why it is timing out so it has to go into the template of the website but there it isnt putting the search output onto the right page.
Hmmm
Thanks for the suggestion

Re: pisearch help

Posted: Sun Apr 16, 2006 1:30 pm
by miss_d_bus
i sorted it.
I made a new template just for the search page and put the tag in there.