[opencms-dev] Content Types from Module A visible in Module B

Daniel Seidel d.seidel at alkacon.com
Mon May 18 08:04:39 CEST 2026


Hi Laurent,

you can use a sitemap master configuration per template. There you first 
disable everything and then add your types that should show up.

A good place for the configuration would be 
"/system/modules/your-modules/configurations/your-template-name.master.xml".

In the sitemap configuration of your Site (/content/.config), you just 
reference the sitemap master configuration.

Here's more information on the topic: 
https://documentation.opencms.org/opencms-documentation/template-variants/master-configurations

Best, Daniel.

Am 15.05.26 um 19:10 schrieb laurent.druart via opencms-dev:
> Hello,
>
> On one instance of OpenCMS 21 I have two modules and two websites. The website A uses template A in module A. The website B uses template B in module B.
> I have defined different content type in each module; But when I drop content types in website B the content types from module A are visible and availables.
>
> How to restrict each website content types to the content types of his template/module?
>
> Thanks for your help.
>
> Regards,
>
> Laurent
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards

Daniel.

-------------------

Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
https://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list