Using "Model Entities" Module to Create Custom Entities Model Entities: http://drupal.org/project/model

I've been trying to use this contrib module to create my own entity (the "client" entity). Steps I've undertaken:


Search and replaced "model" with "client", "Model" with "Client".
Upon enabling the module, the "client type" appears in "admin/structure", and I create a "client type" from the UI.
Go to "admin/content/clients" and added a new client, but the new "client" entity does not appear.


So far debugging has gotten me this far:


The database is being populated correctly - so the creating functions (and rest of CRUD - tested via direct calling) is working.
I checked entity_load('client') and it's loading the client entities properly as well.


So I suspected it's something to do with the custom "views" that the module is implementing. And indeed, it did not register the custom view properly since it did not appear in "admin/structure/views".

I can't seem to pin-point the error here. Any idea why the view isn't registering?
I know this question is a little old, but just in case you (or others) still need assistance...
Make sure the hook_views_default_views() was renamed properly.
If your module name is "client" then it should be client_views_default_views().

I was recently working with the Model Entities module and ran into the same issue. Turns out I missed renaming that function.

If it's named correctly, then I suggest comparing your file to the model.views.inc file to find the difference.