pisearch help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
miss_d_bus
Forum Members
Forum Members
Posts: 121
Joined: Sun May 01, 2005 4:27 pm

pisearch help

Post 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,
Nogga

Re: pisearch help

Post 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/
miss_d_bus
Forum Members
Forum Members
Posts: 121
Joined: Sun May 01, 2005 4:27 pm

Re: pisearch help

Post 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
miss_d_bus
Forum Members
Forum Members
Posts: 121
Joined: Sun May 01, 2005 4:27 pm

Re: pisearch help

Post by miss_d_bus »

i sorted it.
I made a new template just for the search page and put the tag in there.
Post Reply

Return to “CMSMS Core”