Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared contents #1402

Open
alg opened this issue Sep 29, 2022 · 1 comment
Open

Shared contents #1402

alg opened this issue Sep 29, 2022 · 1 comment

Comments

@alg
Copy link

alg commented Sep 29, 2022

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:

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

Thanks.

@greyskin
Copy link

greyskin commented Aug 28, 2023

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. Check out the Actions API.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants