Fórum

Different Roles have Different Public Pages Template

Becas Kostas, modificado 11 Anos atrás.

Different Roles have Different Public Pages Template

Junior Member Postagens: 28 Data de Entrada: 30/08/12 Postagens Recentes
Is it possible different types of users (roles) have different sets of public pages.

For example:
- I have created the role
- i have created a site template and exported in .lar file.
- i have modified portla.properties with this line of code:
default.user.public.layouts.lar = ${liferay.home}/deploy/testprod.lar


The problem is that i want only specific type of users (with specific role) to have the above template

Is it possible ?

for example lets say the new role has the unique name: MyRole. I tried to insert in portal.properties instead of default, myrole, but with no results.

myrole.user.public.layouts.lar = ${liferay.home}/deploy/testprod.lar
thumbnail
Jan Geißler, modificado 11 Anos atrás.

RE: Different Roles have Different Public Pages Template

Liferay Master Postagens: 735 Data de Entrada: 05/07/11 Postagens Recentes
Have you tried with UserGroups? As far as I know this is possible via User Groups.
We did something similar, but we used an Ext-Plugin to Achive this, because at this point, Liferay didnt Apply Subpages correctly if you assigned Templates via User Groups.

Regards Jan