Creating custom report function to dashboard
Permalink 1 user found helpful
Hey Concrete 5 community,
This question works in conjunction with <a href="http://www.concrete5.org/community/forums/customizing_c5/extending-concrete-5.7-form-block-and-write-data-into-new-mysql-/#749059">Extending the concrete 5.7 form block discussion</a>.
I've looked into the reports folder and find that it uses the original btForm table.
I've duplicated the code from concrete/single_pages/dashboard/reports folder into application/single_pages/dashboard/reports and facing a "Cannot redeclare class Concrete\Controller\SinglePage\Dashboard\Reports\Surveys" error.
I wanted to ask has any concrete5 php developer successfully extended the dashboard reports function and manage to fetch data from their own custom tables?
I would like some pointers in resolving the error and how to go from there to get it to display on the dashboard in reports which is separated from the default form block.
It can be on the same page view under a different table or a new link under dashboard reports navigation.
Any help is appreciated thanks.
This question works in conjunction with <a href="http://www.concrete5.org/community/forums/customizing_c5/extending-concrete-5.7-form-block-and-write-data-into-new-mysql-/#749059">Extending the concrete 5.7 form block discussion</a>.
I've looked into the reports folder and find that it uses the original btForm table.
I've duplicated the code from concrete/single_pages/dashboard/reports folder into application/single_pages/dashboard/reports and facing a "Cannot redeclare class Concrete\Controller\SinglePage\Dashboard\Reports\Surveys" error.
I wanted to ask has any concrete5 php developer successfully extended the dashboard reports function and manage to fetch data from their own custom tables?
I would like some pointers in resolving the error and how to go from there to get it to display on the dashboard in reports which is separated from the default form block.
It can be on the same page view under a different table or a new link under dashboard reports navigation.
Any help is appreciated thanks.