09-16-2020, 03:19 PM
Hello
I am a beginner in CI 4. I hope I understood the main principles. I did my first models/controllers/views to manage my database using layout and also view cell.
I display single view of my tables in order to add/edit/update them.
Now I would like to create a dashboard like the beautiful AdminLTE, using multiple results from queries or tables.
As an example this dashboard will display some parameters like total of users , the content of table 1 that contains several lines and columns in the top right corner of the page, the content of query 1 that contains also several lines and contents in the bottom left corner of the page.
As today in each of my views I have this code
<?= $this->extend('layouts/main') ?>
<?= $this->section('content') ?>
<?= $form ?>
<?= $this->endSection() ?>
Is it possible ? Do you have solutions in order to do that ? any examples of code ?
Thanks a lot
I am a beginner in CI 4. I hope I understood the main principles. I did my first models/controllers/views to manage my database using layout and also view cell.
I display single view of my tables in order to add/edit/update them.
Now I would like to create a dashboard like the beautiful AdminLTE, using multiple results from queries or tables.
As an example this dashboard will display some parameters like total of users , the content of table 1 that contains several lines and columns in the top right corner of the page, the content of query 1 that contains also several lines and contents in the bottom left corner of the page.
As today in each of my views I have this code
<?= $this->extend('layouts/main') ?>
<?= $this->section('content') ?>
<?= $form ?>
<?= $this->endSection() ?>
Is it possible ? Do you have solutions in order to do that ? any examples of code ?
Thanks a lot