Hi Ross,

I suspect this is a bug in types.xsd, the category attribute on the resource 
element is simply missing in the schema. However, you can still use the 
functionality like you did before, it didn't change AFAIK. See 
http://hippocms.org/display/CMS/Using+different+types+per+folder for more 
details.

regards,
Dennis

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of rossputin
Sent: Mon 5/19/2008 1:01 PM
To: [email protected]
Subject: [HippoCMS-dev] Using locationmap.xml to map types to folders in theCMS
 

Hi guys,

I seem to have lost my way somewhere between CMS v6.04.x to the latest
version v6.05.03.  Previously I used an entry in locationmap.xml like:

<match pattern="*:/content/documents/njw/news/*/**">
<location src="news-category"/>
</match>

this would lookup a 'category' attribute in my types.xml document with a
value of 'news-category',

therefore when in the CMS if I tried to add a document under
/njw/news/2008/02/02, the only entry in the types drop down would be 'News
Article'.

I see the types.xsd now has no 'category' attribute, and instead, there is
'type' ?

Can someone point me to the documentation detailing how to use the new
setup?

Thanks for your help in advance.

Regards,

Ross.
-- 
View this message in context: 
http://www.nabble.com/Using-locationmap.xml-to-map-types-to-folders-in-the-CMS-tp17316631p17316631.html
Sent from the Hippo CMS development public mailinglist mailing list archive at 
Nabble.com.

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

<<winmail.dat>>

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to