[pmwiki-devel] Search forms and FmtPageList()

Hans design5 at softflow.co.uk
Fri Sep 25 10:39:33 CDT 2009


Friday, September 25, 2009, 4:35:49 PM, Hans wrote:

> TextExtract adds a pagelist fmt=extract, which is procesed in a
> function FPLTextExtract. It does not add a custom action.
> So from search form submission action=search calls FmtPageList(),
> which gets the input from $_REQUEST, but first manipulates any
> group/term argument. So I don't see how I can manipulate $_REQUESt
> beforehand.

On the other hand I could try in the script:

if ($_REQUEST['fmt']=='extract') {
  do something with $_REQUEST...
}


Hans




More information about the pmwiki-devel mailing list