#14242Make rendering of link to advanced search form configurable
Description
By default a link to an advanced search form is rendered beneath the search button in the standard search form.
TS setup configuraton line:
plugin.tx_indexedsearch.show.link_advanced // boolean
In class.tx_indexedsearch.php replace:
$out.=’‘.
($this->piVars[“ext”] ?
’pi_getPageLink($GLOBALS[“TSFE”]->id,$GLOBALS[“TSFE”]->sPre,array($this->prefixId.”[ext]”=>1)).’”>’.$this->pi_getLL(“link_advancedSearch”).’‘
).’
with:
if ($this->conf[“show.”][“link_advanced”]) {$out.=’
‘.
($this->piVars[“ext”] ?
‘pi_getPageLink($GLOBALS[“TSFE”]->id,$GLOBALS[“TSFE”]->sPre,array($this->prefixId.”[ext]”=>1)).’”>’.$this->pi_getLL(“link_advancedSearch”).’‘
).’
}
Update documentation and add new configuration option to TS part.
(issue imported from #M221)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.