0

I am Using Liferay 6.1CE.

I can able to set my default landing page to a site in control panel. But in my portal 2 sites are there,two users are there. For eg: userA is a member of siteA,simularly UserB member of siteB.

How can i redirect the users to their site after login.

What can i do?

4

2 に答える 2

0

私はあなたが2つのコミュニティを意味する2つのサイトを推測します。とにかくpost login action、条件を確認し、必要に応じてリダイレクトする場所を作成する必要があります。

于 2013-03-01T09:26:42.753 に答える
0

カスタム ログイン ポスト アクション用の Liferay フックを作成できます。ご覧ください:

フックを使用したカスタム アクション

フックの作り方について。

フックでは、検索条件に基づいてログインしているユーザーを特定し、関連するコミュニティにリダイレクトできます。

于 2013-03-01T16:08:20.963 に答える