fuzzybabybunny / microscope-orionjs

MIT License
19 stars 8 forks source link

Backend structure #2

Open abtx opened 9 years ago

abtx commented 9 years ago

Hi, thanks for creating this, so far it's probably the most documented and clear repo with Orion CMS. I'm trying to create a website with page templates and custom page/post structure, but I struggle to grasp how the back end pages and categories preloaded to CMS are created in the code. Can you explain this part bit more please? Thanks.

fuzzybabybunny commented 9 years ago

@abtx Thanks for the kudos!

I'm a little bit unsure of what you mean.

You've got the part of the website that normal users see - that's what the Discover Meteor book takes you through in the making of Microscope. This part has page templates, different layouts, etc. You should go through the entire Discover Meteor book to get a grasp on how Meteor does this.

OrionJS is the part of the website that an administrator logs into to manage the settings and data in the overall website. The package already has code that generates the pages of the admin backend.

So which part is your question about?

abtx commented 9 years ago

If I wanted to, for example, remove "Dictionary" from the CMS, and do other custom things in the CMS, I'm not sure about that part.

fuzzybabybunny commented 9 years ago

Gotcha. I haven't figured out how to create custom OrionJS templates yet, but I can work on it.

As for hiding Dictionary and other entries in OrionJS, check out the section on setting custom user roles and persmissions:

https://github.com/fuzzybabybunny/microscope-orionjs#setting-roles-and-permissions-updated-832015