[TYPO3] How to search a specific section of a site?

Elijah Alcantara elijah.alcantara at gmail.com
Thu Jun 22 14:56:39 CEST 2006


Have you ever tried setting up checkboxes for your search? I've done
something like that to search specific trees:

        5.value = <div class="func-container"><div><input type="radio"
value="rl2_225"
name="tx_indexedsearch[sections]"/>Borger</div><div><input
type="radio" value="rl2_224"
name="tx_indexedsearch[sections]"/>Erhverv</div><div><input
type="radio" value="All" name="tx_indexedsearch[sections]"
checked="checked" />Hele RK</div></div>

I simply change rl2_224 to the right page id where it is restricted to
search ... (ex. rl2_<pageid>). rl2 I think is some second level page
id.


Hope that helps,
Elijah A.



More information about the TYPO3-english mailing list