Hi,
Is it possible to limit the words in the pisearch results?
Steve
limiting words in pisearch results
Re: limiting words in pisearch results
Hi, just a polite nudge 
no ideas on how to do this anybody?
Steve

no ideas on how to do this anybody?
Steve
Re: limiting words in pisearch results
Smarty have a function which comes with it by default called truncate.
http://smarty.php.net/manual/en/languag ... uncate.php
i think it is part of CMSMS as well.
Pisearch has a template in tmp/templates directory. edit that page and the the below code
http://smarty.php.net/manual/en/languag ... uncate.php
i think it is part of CMSMS as well.
Pisearch has a template in tmp/templates directory. edit that page and the the below code
Code: Select all
{$entry->details| truncate}
Re: limiting words in pisearch results
Thanks fr3nch13,
I'll givi it a go.
Steve
I'll givi it a go.
Steve

Re: limiting words in pisearch results
Fantastic! that worked a treat
Thanks fr3nch13
Thanks fr3nch13