[opencms-dev] Shared sub-sections and shared links between websites

Antoine Pineau a.pineau at eurelis.com
Wed Jun 1 09:22:37 CEST 2022


Hello all,

We have a specific need regarding shared sub-sections and shared links.
The aim is to be able to have the same pages sub-navigation between
different websites, and the shared contents referenced in the pages should
be able to link other pages of this shared sub-section into the current
site.

Let's say site A page 1 references page 2 in site A :
https://www.siteA.com/en/section1/page1/  ==>
https://www.siteA.com/en/section1/page2/

We want the same shared content with the same relative link to have the
same relative behaviour in site B:
https://www.siteB.com/en/section1/page1/ ==>
https://www.siteB.com/en/section1/page2/

Currently, we are in OpenCms 9.5.3 and it's not natively possible.One of
the link will point to the other site.
Hence we created "contextual links" that are replaced on the fly by the
correct target address, but then the "link" is not a hard link, if the page
is renamed, all the links should be manually changed.

Is there a cleaner way of doing this using OpenCms 13 ?

Thanks for your help.
-- 
Antoine PINEAU

CTO

Directeur Agence Nantaise
Responsable Pôle Web & CMS
+33(0)6 61 45 86 09 <+33661458609>
a.pineau at eurelis.com
https://www.eurelis.com
24 rue Kervégan, 44000 Nantes
<https://www.google.com/maps/place/24+Rue+Kerv%C3%A9gan,+44000+Nantes/@47.2127119,-1.5584183,17z/data=!3m1!4b1!4m5!3m4!1s0x4805eea897ad3fbb:0xadb32e71e983a75c!8m2!3d47.2127083!4d-1.5562296>
11 place des Vosges, 92400 Courbevoie
<https://www.google.com/maps/place/Immeuble+Jean+Monnet/@48.8918548,2.2455,17z/data=!3m1!4b1!4m5!3m4!1s0x47e665b8331c2e1d:0x449303831d97616c!8m2!3d48.8918513!4d2.2476887>

[image: facebook] <https://www.facebook.com/Agence.Eurelis>
[image: twitter] <https://twitter.com/Agence_Eurelis>
[image: linkedin] <https://www.linkedin.com/company/eurelis>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220601/496a9cfe/attachment.htm>


More information about the opencms-dev mailing list