The main issue is that the context of the referenced node is the context of the node where it was created.
The issue has been reproduced as below:
- Creation of a site B with the sample-bootstrap-templates template.
- Creation of a menu after creating 3 pages: Site B page 1, Site B page 2, Site B page 3
- Upload a new logo for the site B
- Création of a News (News entry) in the central column of the Home page.
- Creation of a site A with the sample-bootstrap-templates template.
- Creation of a menu after creating 2 pages: Site A page 1, Site A page 2.
- In the central column of the Home page.
- Right-click and selection of the menu "Show in Repository Explorer"
- Right-click on the "news" content in the site B and copy it.
- Select Home > pagecontent in the site A,
- Right click on pagecontent and select "Paste reference"
- Access to the site A in preview mode:
=> The content of the news of the site B is well referenced BUT the content of this news is displayed in the context of the site B: The logo and the menu of the site B is displayed
- Publication of the two sites.
- Access to the site A in live mode:
The content of the news of the site B is well referenced BUT the content of this news is partially displayed in the context of the site B: The logo is the logo of the site A BUT the menu of the site B is displayed
Cause
Site A and site B have the same server names.
Solution
This feature only works if you use server names in the URLs. Site A and site B must have different server names, and the sites must be accessed with these server names (http://sitea and http://siteb )