locomotivecms / engine

A platform to create, publish and edit sites
http://www.locomotivecms.com
Other
2.32k stars 625 forks source link

Shared contents #1402

Open alg opened 1 year ago

alg commented 1 year ago

Hi everyone,

The system that we build provides learning services to students. There's one central system that takes care of billing, student communication etc.

The task at hand is to create several landings -- one for each school in our system. They share the data mostly, but provide own presentation. Our idea was to create one site for working with imported course / instructor / ... data that lets us add missing pieces (we need some extra fields for presentation needs). And then create a site for each school that would access this data in read-only mode. So far I'm not seeing how to make it happen. All content_entry / content_type queries are strictly scoped to the site. Maybe I'm missing something and there IS a way.

So my questions are:

Thanks.

greyskin commented 10 months ago

Hi alg,

It isn't clear to me from your questions whether you're referring to the front end of the or the Back Office. If you're referring to the front end:

Is there a way to share types (or only entries) between sites? Maybe we could access non-locomotive entries from templates???

Yes, it would require an API call to get the entries from the course/instructor site and display them on each of the school sites.

Is there a way to hide or make type / entries read-only?

Entries are displayed with Liquid on the front end so are read-only by default. (But this question makes me wonder whether you are referring to the Back Office?)