[eluser]web-johnny[/eluser]
[quote author="dodulz" date="1308682875"]I'M newbie use grocery CRUD ...
it's great plugin for CRUD, but I'Have problem with function set_model
Fatal error: Class 'grocery_Model' not found in C:\XXXX\XXX\application\models\MAsset.php on line 2
How to Fix this problem ?[/quote] For your CRUD that you say you don't need any model. Forgot the models. The set_model is for more complicated projects. For your example you can do it like this:
Code:
function my_newsletter(){
$crud = new grocery_CRUD();
It's an easy codeigniter CRUD , no need of models, views, javascripts. It's easier than you think. Read the documentation and the installation for codeigniter 2 and see the working examples.
Hope I help.
Now if you want to use models in the future for your reasons - you will do it like this: