[opencms-dev] restypes.available not working in OpenCms 13?

Stephan Schrader zstephanz at gmail.com
Fri Sep 30 11:00:58 CEST 2022


Hi Antoine,

Please see:
https://documentation.opencms.org/opencms-documentation/creating-a-website/ade-configuration/content-element-configuration/#special-settings-for-the-sitemap

Within the sitemap configuration you can "Disable all" resource types and
then allow favored resource types.

Hope this helps,
Stephan

Am Mi., 28. Sept. 2022 um 15:09 Uhr schrieb Antoine Pineau via opencms-dev <
opencms-dev at opencms.org>:

> Hello,
>
> I was used to work with OpenCms 9.5 and create specific folders for each
> content type:
> .content/
>   - articles/
>   - news/
>   - events/
>    - ...
>
> On each folder, I had a restypes.available property, to filter the list of
> available contents to create when clicking on "New"
> e.g: restypes.available=folder,news
> To create only folders or news on the "news/" folder
>
> But in OpenCms 13, this does not seem to work again, even if I defined a
> specific restypes.available property on the folder, I will be asked for the
> full list of available contents.
> In addition, I have a new  "Use default location" checkbox that does not
> seem to have any effect.
>
> Does somebody know how to prefilter the list of available content types
> per folder in OpenCms 11+ ?
>
> Kind regards,
>
> --
> 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>
>
> _______________________________________________
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220930/bf07d36f/attachment.htm>


More information about the opencms-dev mailing list