使用钩子覆盖liferay登录jsp

时间:2012-12-28 13:08:11

标签: liferay-6

我正在尝试覆盖Liferay 6.1中的JSP,即html / portlet / login / login.jsp。

我有

created a hook (using Eclipse)
added <custom-jsp-dir>/custom_jsps</custom-jsp-dir> to liferay-hook.xml
created the abovementioned directory structure
copied login.jsp there and modified it
deployed the hook
(restarted the server, you never know...)

但我无法看到修改后的登录页面。我在做错了。我对这个生活很陌生。我对此非常困惑。任何人都可以告诉我我做错了什么。< / p>

1 个答案:

答案 0 :(得分:0)

Implementing Hooks in Liferay-portal-6.0.5

以上链接的目标是创建自定义登录页面的挂钩。希望这有帮助.. !!!