Akademika Posted February 13, 2018 Posted February 13, 2018 Hi! I've created a database, and added it to a page. The problem is that I want to show each record as a seperate line in a table - is this possible? Atm it looks like this: But I want it more like a traditional table-format. Like this (ignore colors):
opentype Posted February 13, 2018 Posted February 13, 2018 Well, the “separate lines” are used by default. At the moment, you just have one record, so there are no lines yet. Showing the fields as rows is not possible by default. That would require customizations. Older versions of Pages used a table layout, but that wasn’t responsive. If you just use a HTML table your layout can easily brake on a phone for example.
Akademika Posted February 13, 2018 Author Posted February 13, 2018 I'm not too worried about the responsivness, as this is used on standardised hardware So if I'm understanding this correctly, I will have to customize one of the templates to display the records as a table. Which template though, In the template-menu i can't find databases as a seperate category. So I am a bit lost Alternativly, can I call each record / attribute from the database manually ? So if I add a page and build it with HTML- can i control how each record is listed ?
opentype Posted February 13, 2018 Posted February 13, 2018 You would have to create a new Database Record Listing template under ACP → Pages → Templates and assign it to your database. Inside this custom template set you then add your table.
Akademika Posted February 13, 2018 Author Posted February 13, 2018 One last question, is it possible to download all records from a database ? (without using database-tools)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.