Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By cofaure on
Hi,
I created a custom block in a custom module who is displaying data from mySQL database (it's returning a lot of rows).
I wanted to know how can i create a board who is containing the data (for example : name firstname adress in 3 columns, something like that).
Thanks !
Comments
# Create board in block
I created a custom block in a custom module who is displaying data from mySQL database (it's returning a lot of rows).
=> You need to limit the records or if can`t than use paging or load more functionality; please make sure block is scrollable.
I wanted to know how can i create a board who is containing the data (for example : name firstname adress in 3 columns, something like that).
=> You can create a view from back end if not than please follow my first comment.
Re
I'm displaying my data with this code :
<?php$header = array(t(
Hey
Hi !
It works fine for the board but my data are not in, i'm trying to understand why the board is empty
EDIT : its ok i found why ! Thanks anyway !
Re
Thanks guys ill try it tomorrow !