[TYPO3-english] Re: pt_extlist - Display List of Users within user group

Daniel Lienert daniel at lienert.cc
Sun Jan 5 13:24:13 CET 2014


Hey Bastian, 

as filtering the list by the usergroup must never be changed, i wouldn't genertae that constraint using a filter, but writing it as part of the baseWhereClause like this: 

backendConfig {
	
	tables = fe_users

	baseWhereClause = COA
	baseWhereClause {
		10 = TEXT
		10.data = TSFE:fe_user|user|usergroup
		10.wrap = FIND_IN_SET('|',usergroup);
	}
}

The snippet is untested - i hope it works.

Cheers, 
Daniel
-- 
TYPO3 related: http://daniel.lienert.cc | http://yag-gallery.de


More information about the TYPO3-english mailing list