Re: restypes.available not working in OpenCms 13?
Antoine Pineau via opencms-dev <[email protected]>
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <CAAT3GaHbJJfwoPTy46+Hrno-RC+oaNsvRjMEiZDgWEB_MDNS6A@mail.gmail.com> |
Hello Stephan, Thank you for your response, this is the way to filter content types on ADE / Site preview, but not on the Explorer folder by folder. Previously on OpenCms 9.5 for instance, you could right-click on the Explorer to add a new content and be able to restrict the content types available via the restypes.available property With OpenCms 13, this is not working anymore. Kind regards Le ven. 30 sept. 2022 à 11:01, Stephan Schrader <[email protected]> a écrit : > 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 > <[email protected]>: > >> 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> >> [email protected] >> 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 >> >> >> >> -- Antoine PINEAU CTO Directeur Agence Nantaise Responsable Pôle Web & CMS +33(0)6 61 45 86 09 <+33661458609> [email protected] 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