[EMAIL PROTECTED] wrote:
> Hi,
> 
> I am still having trouble with this.  My types matchers is as below:
> 
> <match pattern="types:**">
> <!-- inside the types:** matcher, it is not necessary to
> match for the substring "types:" -->
> 
> <!-- Map the news type to anything in njw/news --> <map:match
> pattern="*:/content/documents/njw/news/*/**">
> <location src="news-category"/>
> </map:match>
> 
> <!-- "catch all" matcher -->
> <match pattern="**">
> <location src=""/>
> </match>
> </match>
> 
> As soon as I add 'category="news-category"' to my news
> resource in 'types.xml' the news entry disappears from the
> drop down in the CMS for document type.
> 
> Is this related to a regular expression issue?  Any ideas ?

I don't think so. This sounds exactly like it's supposed to work.
If you use the locationmap like this, you need to have a
@catergory="news-category" on your news resource in types.xml,
or it won't work.


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

Reply via email to