Buy Now
Sign in

Formatting "read_data" in "Views"

Fredolino , May 23 2019, 16:19
Fredolino 493
May 23 2019, 16:19 #387023
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 8
May 23 2019, 22:06 #387027
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.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store