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

laurent.druart laurent.druart at ldict.be
Mon May 18 10:31:13 CEST 2026


Hello Daniel,

Thanks for this explanation. It works!

Kind regards,

Laurent

> Le 18 mai 2026 à 08:04, Daniel Seidel via opencms-dev <opencms-dev at opencms.org> a écrit :
> 
> 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
> 
> _______________________________________________
> 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
> 
> 
> 



More information about the opencms-dev mailing list