Hi,

I am doing a multisite project and configured a locationmap as described in:
    http://www.hippocms.org/display/CMS/Using+different+types+per+folder
to restrict the document types per site subtree (subfolders in /content).

Now when I match using a pattern like:
    *:/content/site
the document types are restricted in the main site folder (content/site) but 
not in any subfolders.

Conversely, when I use a pattern like:
    *:/content/folder/**
then the document types are resctricted in the entire subtree but not in 
content/site itself.

I can also use:
    *:/content/site/*
which restricts document types only in immediate subfolders of content/site but 
again not in the site folder itself.

So it seems that for every site I will need two match rules, or is there some 
way around this?

The above I guessed, also from looking at the preview configuration in the 
location map.
Is there any more documentation on the pattern language?
Or can you point me at the code so I can figure it out myself...


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
begin:vcard
fn:Reinier van den Born
n:van den Born;Reinier
org:HintTech B.V.
adr:;;Rotterdamseweg 183c;Delft;;2629HD;Netherlands
email;internet:[EMAIL PROTECTED]
tel;work:+31-15-268 2573
tel;fax:+31-15-268 2567
tel;cell:+31-6 494 171 36
note;quoted-printable:KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01=0D=0A=
	=0D=0A=
	HintTech levert specialisten op het gebied van softwareontwikkeling (.NET=
	en Java), projectmanagement, informatiebeveiliging en business consulting=
	.=0D=0A=
	=0D=0A=
	
url:www.hinttech.com
version:2.1
end:vcard

********************************************
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

Reply via email to