For more information see: http://www.hippocms.org/display/CMS/Using+different+types+per+folder
:-) Jeroen Wouter Zelle wrote:
Hi Reiner, In types.xml you should add a category to the resources: <resource name="type" label="Name" category="site1-category"> Then you limit that category to a specific url in locationmap.xml: <match pattern="*:/content/site1"> <location src="site1-category"/> </match> <match pattern="*:/content/site1/**"> <location src="site1-category"/> </match> Regards, Wouter 2008/11/3 Reinier van den Born <[EMAIL PROTECTED]>Hi all, A client wants to maintain several (sub)sites within a single repository. The obvious solution is to keep each site in a separate subfolder in /content. Now, some sites have very specific document types. To make life easier on the content editors the client wants to restrict the document types available based on in which the site (= subfolder) the document is created. In other words whenever, trying to create a new document under /content/site1 the CMS should only show the document types that are valid for site1, under /content/site2 it should show the site2 documents, etc. Is this possible/how to do this? Thanks, Reinier -- Reinier van den Born HintTech B.V. Rotterdamseweg 183c, 2629 HD Delft T: +31(0)15 268 2573 F: +31(0)15 268 2567 M: +31(0)6 494 171 36 -- HintTech levert specialisten op het gebied van softwareontwikkeling (.NET en Java), projectmanagement, informatiebeveiliging en business consulting. KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01 ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
