Hello there,
i have 3 websites in one MODX instance that all the same company content (about us and so on).
Now it would be great if i have to edit the company content only once. How do i do that?
Requirements:
- edit the company content only once
- see same company content in all n websites.
- the shared company resources have to behave like they are part of the particular site
Examples:
example1.com/company/about_us.html
example2.com/company/about_us.html
example3.com/company/about_us.html
Resource Tree in backend:
web
- example1.com
- ...
- company
- about_us
- ...
- example2.com
- ...
- company (same as in example1.com)
- about_us
- ...
- example2.com
- company (same as in example1.com)
- about_us
- ...
en
- ...
I tried to solve this with a symlink on the company resource, but:
- only the linked resource is available not it's children. So symlinking in modx is somewhat different from what you can do in a file system.
- and it seams that simple search cannot find content from the symlinked resource. i can only find the site name 'company' of the symlink resource, but not the actual content. Hint: I restricted simple search to specific sites. so if you search on website example2.com you only find resources below example2.com point in the resource tree.But as
So is there a way to say symlink this parent resource and all it's children?
and does or does not simple search can read symlinked content?
So please give me some directions how to solve this in the modx way.