yogiben / meteor-admin

A complete admin dashboard solution
https://atmospherejs.com/yogiben/admin
GNU General Public License v3.0
826 stars 263 forks source link

No data displayed #373

Open FrancoisDeBellescize opened 7 years ago

FrancoisDeBellescize commented 7 years ago

Hello !

Thanks for the package !

I have a problem after follow your instructions. Actually i can add data like "Post" or "User" but when i go on "View all" i have nothing. (The dashboard tell me there is 2 Posts).

My simple admin config : AdminConfig = { name: 'My App', adminEmails: ['email'], collections: { Posts: {} } };

My simple Collection :

Games = new Mongo.Collection("games"); Games.attachSchema(new SimpleSchema({ title: { type: String, label: "Title", max: 200 } }));

I have the same problem with the users.

Do you know why i see nothing ?

Thanks !

tsrandrei commented 7 years ago

it depends on where did you put your collections... ( import directory or not ), and you will need also the packaged tabular ( not mentioned... ) This is my config, that is working pretty well :

iron:router

aldeed:collection2

accounts-base accounts-password alanning:roles twbs:bootstrap fortawesome:fontawesome yogiben:admin less@2.7.5 aldeed:collection2-core accounts-ui aldeed:tabular session blaze-html-templates aldeed:autoform aldeed:simple-schema

aldeed:tabular is for the table on view all..depending o your meteor, maybe you will need to import them.

check and it should work.