johnitvn / yii2-settings

Yii2 settings with database module with GUI manager supported
24 stars 17 forks source link

Class 'johnitvn\ajaxcrudassets\CrudAsset' not found #7

Open larry-tx opened 8 years ago

larry-tx commented 8 years ago

When I try to access the GUI manager via /settings/manager, I get the error message stating, "Class 'johnitvn\ajaxcrudassets\CrudAsset' not found." The actual vendor path for what seems to be the relevant extension is "\vendor\johnitvn\yii2-ajaxcrud\src\assets.

What is necessary to make this extension work?

igortsev commented 7 years ago

Error Class 'johnitvn\ajaxcrudassets\CrudAsset' not found

kazykenov commented 7 years ago

Same issue. It seems you have to change the import path of CrudAsset in "manager/create.php" view from use johnitvn\ajaxcrudassets\CrudAsset; to use johnitvn\ajaxcrud\CrudAsset; However, the given extension depends on kartik\grid\Module, so I gave up on trying this settings component.