[TYPO3-english] Show usergroup and fe_user info

bernd wilke t3ng at bernd-wilke.net
Mon Nov 11 08:54:05 CET 2013

Am 08.11.13 16:50, schrieb Miguel:
> Thank you for your patience Bernd.
> However, this time your code is not working, it only renders "bis
> Nov-08-2013, 16:42"....

hm. ok. let's see what I intended:
in 10 all lines (the only line?) should be rendered from the field 

as there are three values each value should get it's own rendering:
1st value: reference into fe_groups => get title of group
2nd value: startdate: don't care and ignore
3rd value: enddate: render as human readable

if the field is empty no splitting and rendering should occur, the 
current date may indicate the rendering of an empty field. so you may 
need an additional
	required = 1
for making sure the (split-)wrapping is not done to an empty record

20 should render all fe_groups which are entered in the normal 
usergroups field (as long as tx_itypoexpiringfegroups_groups has no value)

for debugging purpose you may use 30 and 40 to render the interessting 
fields in their original form

   30 = TEXT
   30.data = TSFE:fe_user|user|tx_itypoexpiringfegroups_groups
   30.wrap = expiring groups: [|]

   40 = TEXT
   40.data = TSFE:fe_user|user|usergroup
   40.wrap = normal groups: [|]

you may need to use another split for each field, as in both fields 
multiple entries are possible which may be separated before


More information about the TYPO3-english mailing list