RE: Assign site template for public and private pages

Jamie Sammons, modified 2 Years ago. New Member Posts: 2 Join Date: 5/31/23 Recent Posts

At first the public and private pages for working in a site template after i enabled the Disable Private Pages  option  I can't create a public page  for a site template, I need to create a public and private pages for a site template what can i do.

thumbnail
Jamie Sammons, modified 2 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi Sahaya,

You cannot create public and private page set for a site template in the same time. The site template has one page set that you can set for a site's private and public page sets; for either or for both.

So the separation is not within a site template but at making a site's private or public page set inherit from a site template. If you want to have site template level private and public page sets, you need to create two separate site templates, one for the private and one for the public page set.

Regards,