Closed amitshahin closed 9 years ago
@amitshahin see installation: https://github.com/ThaDafinser/ZfcDatagrid/blob/master/docs/02.%20Quick%20Start.md#installation
Do you added the module to be loaded? application.config.php
<?php
return array(
'modules' => array(
'Application',
'StickyNotes',
'Users',
),
'module_listener_options' => array(
'config_glob_paths' => array(
'config/autoload/{,*.}{global,local}.php',
),
'module_paths' => array(
'./module',
'./vendor',
),
),
);
Above is the code added in the application.config.php file. I have already checked the installation link but it doesn't help me to resolve this issue.
I am trying to implement zfcdatagrid in user module.
You dont load the module (also stands in the installation). This is equal for each module you want to use (your modules or vendor modules)
<?php
return array(
'modules' => array(
'ZfcDatagrid', //<----------- ADD THIS
'Application',
'StickyNotes',
'Users',
),
'module_listener_options' => array(
'config_glob_paths' => array(
'config/autoload/{,*.}{global,local}.php',
),
'module_paths' => array(
'./module',
'./vendor',
),
),
);
Hello,
I have setup zfcdatagrid in my project using composer. ZfcDatagrid folder is copied at\vendor\thadafinser\zfc-datagrid\src\ZfcDatagrid location.
I have added below code in the module.config.php file
);
In controller file I have mentioned below code in action function.
Also added below line at the top of the controller file. use ZfcDatagrid\Column;
but when I am trying to call url in browser, i am getting below error.
Can you please let me know whether I have implemented something wrong or missed any piece of code?
Regards