Project

General

Profile

Feature #20421

Updated by Tymoteusz Motylewski over 9 years ago

Indexed search is still sometimes unflexible if you try to implement some fancy layouts. For example the resultbrowser is still hardcoded and it is not possible to show the browser only at the bottom of search results and the search summery (result count) at the top for example. 

 For a running project I introduced some more Typoscript-Parameters to handle this more flexible. To try this feature out, I provided a patch to extend the indexed_search class. 

 I'm happy about any feedback or suggestions to improve this approach... 

 Note: We also added a first/last page link to the resultbrowser as a new feature, which might be helpful if you have plenty of results. This feature is only xclassed (and therefore hardcoded) at the moment, but probably also interesting to implement this more sophisticated :-) 

 Best regards, 
 Andre 



 



 plugin.tx_indexedsearch{ 
	 show { 	  
	   // Configure Resultbrowser at top 
	   resultBrowserTop { 
	     showResultCount = 1 
	     showResultBrowser = 0 
	   } 
	   // Configure Resultbrowser at bottom 
	   resultBrowserBottom { 
	     showResultCount = 0 
	     showResultBrowser = 1 
	   } 
	 } 
 } 
 
 (issue imported from #M11085)

Back