


The standard search has a selectbox, whichs default value is set to search in "Headers & keywords" instead of "Sitecontent", what most time is preferred.
This snippet swaps the two selectbox items, so the default value is searching in "Sitecontent"
# Swap the selectbox items in Standard Search temp.temp < tt_content.search.30.dataArray.20.valueArray.10 tt_content.search.30.dataArray.20.valueArray.10 > tt_content.search.30.dataArray.20.valueArray.10 < tt_content.search.30.dataArray.20.valueArray.20 tt_content.search.30.dataArray.20.valueArray.20 > tt_content.search.30.dataArray.20.valueArray.20 < temp.temp
This snippet was submitted by Peter Klein


Comments (2)