Forums

Formatting "read_data" in "Views"

Fredolino 23 May, 2019
Hi,
I wanted to ask if there is also the possibility to display his data from the database individually in "Views".
I only find a "Table" and "Lists" view.
I do not see anything with Custom / HTML. Or maybe with PHP and "echo"?

z.B.
<p>
{var:read_beobs.Beo.datum} {var:read_beobs.Beo.fundort}<br />
{var:read_beobs.Fund.species}
</p>

F.
healyhatman 23 May, 2019
Sure, exactly like that. If you have it as return all matching instead of return first then you need to put a key in between the read_beobs and the model name. Like read_beobs.0 read_beobs.1 etc etc. If you have multiple you want shown then you'll want to use a Loop.
This topic is locked and no more replies can be posted.