[TYPO3-dev] indexed_search template

Steffen Kamper info at sk-typo3.de
Wed Sep 10 14:12:28 CEST 2008


Hi,

during daily work i found a limitation in indexed_search.
Looking to pi1 i saw hardcoded HTML where is no chance of modification.

This is with the compiled search results where
* pagebrowser is hardcoded
* compiled result is hardcoded like
pagebrowser1 + content + pagebrowser2

Now i overwork this using a complete result subpart in template like
###PAGEBROWSER_TOP###
###SEARCHRESULTs###
###PAGEBROWSER_BOTTOM###

and build pagebrowser with stdWraps from TS for prev/next, current and
page like
pageBrowser {
	doNotLinkCurrent = 1
	general_stdWrap {
		wrap = <ul>|</ul>
	}
	previous_stdWrap {
		wrap = <li>|</li>
	}
	next_stdWrap {
		wrap = <li>|</li>
	}
	pages_stdWrap {
		wrap = <li>|</li>
	}
	current_stdWrap {
		wrap = <li>|</li>
	}
}


Any comments or addition, do you like to have such in a patch?

vg Steffen





More information about the TYPO3-dev mailing list