2014-11-25 101 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