Expand my Community achievements bar.

SOLVED

Allow template for local sites

Avatar

Level 8

Hi,

I have local country sites("/content/local-cuntry/en-us/about", "/content/local-cuntry/en-uk/about", "/content/local-cuntry/en-ae/about", "/content/local-cuntry/en-be/about" etc)

We have editable template /conf/local-cunry/settings/wcm/templates/test-template.

our requirement is to create pages under “content/local-cuntry/country-code/about” using the mentioned template. For this We need to allow the template

How we can achieve this using allowedpaths property on template

 

Thanks,

Vai

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hi @Vani1012 ,

Can you please try with this.

allowedPaths="[/content/local-cuntry/.*/about/?.*]"

thanks.

View solution in original post

4 Replies

Avatar

Level 10

@Vani1012 In template .content.xml use allowedPaths property to allow template for particular path

allowedPaths="[/content/.*/product-refs/?.*,/content/.*/catalog-refs/?.*]"

Avatar

Level 8

@Imran__Khan Can you please provide allowed path property for my path "content/local-cuntry/country-code/about"
Here we have different country codes like en-uk, en-us, en-be and so on

Avatar

Correct answer by
Level 8

Hi @Vani1012 ,

Can you please try with this.

allowedPaths="[/content/local-cuntry/.*/about/?.*]"

thanks.