PITS /
01247: New Search Term Page variable
Summary: New Search Term Page variable
Created: 2011-03-16 20:22
Status: Open
Category: Feature
From: simon
Assigned:
Priority: 3
Version:
OS:
Description: Add a built in variable for the Search Term i.e. a variable containing the search term that can be used in pagelists, etc?
cf
Add the following line to your local/config.php file:
$FmtPV
['$SearchQuery'] = 'stripmagic(@$_REQUEST["q"])';
Now, you can use the variable wherever you wish...