2014-11-25 95 views
0

我正在使用Liferay 6.2.1 EE SP6/CE。 我修改密码政策,使:更改“新密码”屏幕的主题

passwords.default.policy.change.required=true 

这迫使新用户第一次登录时更改密码。

当用户第一次尝试登录时,用户被重定向为按预期更改密码,但主题是经典。 我有一个为我的整个网站开发的自定义主题。

如何将此自定义主题应用于第一次登录时的更改密码 - “新密码”屏幕?

尝试以下性能无影响:

default.regular.theme.id=mycustomtheme_WAR_mycustomtheme 
default.user.public.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme 
default.user.private.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme 
+0

以上三个属性解决了这个问题。 – 2014-11-27 06:22:53

回答

0

以下门户属性固定它。

default.user.private.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme

1

尝试在设置默认主题:

Control Panel -> Configuration -> Portal Settings -> Display Settings -> Look and Feel -> Default Theme 
+0

之前试过,阿尔乔姆。没有结果。纠正我,如果我错了,但属性'default.regular.theme.id = mycustomtheme_WAR_mycustomtheme'是为了设置相同的东西。 – 2014-11-25 10:46:42