[TYPO3-english] How to list fe_users and fe_groups in the frontend

areyoususpect at web.de areyoususpect at web.de
Thu Sep 29 18:04:02 CEST 2011


Hey there,

I wrote a nice script that lists me all user groups on a frontend page. That works fine, as long as a frontend user is logged in. If I'm just viewing the page, without being logged, nothing is displayed. How can change the script that the request is always processed? Thanks a lot and regards, Carl

Here my TS:

# select user groups table 
table					= fe_groups
select {

	# set pid where user groups are stored
	pidInList				= {$feUserStorage}
			
	# set order and select fields
	orderBy				= title
	selectFields			= uid, title

	# set where clause
	where				= {$feUsergroupsFrom} <= uid
}

# render the new marker
renderObj = COA
renderObj {

	10.wrap				= <li onclick="formhandlerSelectUsergroup(|);" style="float:none; clear:both;">
	10					= TEXT
	10.field				= uid

	30.wrap				= <div style="float:left;">|</div>
	30					= TEXT
	30.field				= title
			
	40					= TEXT
	40.value				= </li>

}


More information about the TYPO3-english mailing list