#23853Array in FLUIDTEMPLATE
Description
My TS:
page.100 = FLUIDTEMPLATE
page.100 {
file = fileadmin/templates/fluid.html
variables {
myName = TEXT
myName.value = Stefan Frömken
customer = CONTENT
customer {
select {
pidInList = 8
}
returnArray = 1 (This could be a new option)
table = fe_users
}
}
}
My Template:
<html>
<head>
<title>FLUID-Template</title>
</head>
<body>
<p>Hello: {myName}</p>
<p>This are my customers</p>
<ul>
<f:for each="{customer}" as="daten">
<li>{daten.firstname} {daten.lastname}</li>
</f:for>
</ul>
</body>
</html>
Maybe there is a possibility to return Arrays in some cObjects.
(issue imported from #M16144)