掲示板

Different Roles have Different Public Pages Template

11年前 に Becas Kostas によって更新されました。

Different Roles have Different Public Pages Template

Junior Member 投稿: 28 参加年月日: 12/08/30 最新の投稿
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
11年前 に Jan Geißler によって更新されました。

RE: Different Roles have Different Public Pages Template

Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
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