microscope-orionjs icon indicating copy to clipboard operation
microscope-orionjs copied to clipboard

Backend structure

Open abtx opened this issue 9 years ago • 3 comments

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.

abtx avatar Aug 05 '15 09:08 abtx

@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?

fuzzybabybunny avatar Aug 05 '15 13:08 fuzzybabybunny

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.

abtx avatar Aug 05 '15 15:08 abtx

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

fuzzybabybunny avatar Aug 08 '15 12:08 fuzzybabybunny