[TYPO3-english] Show usergroup
bernd wilke
t3ng at bernd-wilke.net
Fri Nov 15 08:45:03 CET 2013
Am 14.11.13 17:49, schrieb Miguel:
> Did i put it in the right place? Because it doesnt worked...
optionsplit is very delicate. as I mentioned I don't know a secure way
to get the second element in a list in all configurations.
therefore I would debug the intermediate values to be sure the next step
works with correct values.
so try to build another debug value with just the outer split and check
which value enters the second split:
// drop second split
50.split.10.split >
50.split.10.wrap = result: [|]
> Please check my code:
>
> 50 = TEXT
> 50.data = TSFE:fe_user|user|tx_itypoexpiringfegroups_groups
> 50.cObjNum = || 1 ||
> 50.split {
>
> token = *
> cObjNum = 1
>
> 1 {
> 10 = TEXT
> 10.current = 1
> 10.split {
> token = |
> cObjNum = 1 |*| 2 |*| 2
>
> 1 {
> 10 = CONTENT
> 10.table = fe_groups
> .......
>
> I also removed that |*| like you said
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list