掲示板

Liferay7hooks

7年前 に Ravi Shankar によって更新されました。

Liferay7hooks

Junior Member 投稿: 40 参加年月日: 16/07/13 最新の投稿
Hi All,
I am migrating 6.2 hook(jsp's) into Liferay 7.
below files are available in liferay 6.2 but i am not getting these files in liferay 7.
1.dockbar/view_admin_links.jspf
2.dockbar/view_my_sites.jspf
3.dockbar/view_user_panel.jspf
4.sites_admin/edit_user_roles_role.jsp
5.sites_admin/view_tree.jspf

I have searched in all modules but i didn't found anywhere.How i can find those jsp's.? please help me.
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: Liferay7hooks

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Ravi Shankar:
Hi All,
I am migrating 6.2 hook(jsp's) into Liferay 7.
below files are available in liferay 6.2 but i am not getting these files in liferay 7.
1.dockbar/view_admin_links.jspf
2.dockbar/view_my_sites.jspf
3.dockbar/view_user_panel.jspf
4.sites_admin/edit_user_roles_role.jsp
5.sites_admin/view_tree.jspf

I have searched in all modules but i didn't found anywhere.How i can find those jsp's.? please help me.


They might indeed not be there any more. The way to port whatever functionality you had is to
  • determine if Liferay has made the same changes already (they might be built in),
  • check which feature you've implemented in those old hooks
  • check where and how you'd implement these features in Liferay 7
  • implement the feature in the (potentially) new location (if you determine that you still need to implement it).

You might get better help here if you let us know which problems the changes to the JSPs were meant to solve.
thumbnail
7年前 に Manish Yadav によって更新されました。

RE: Liferay7hooks

Expert 投稿: 493 参加年月日: 12/05/26 最新の投稿
Hello Olaf Kock,
I also have same query ,I would like to edit message board jsp in order to do some changes .

https://github.com/liferay/com-liferay-message-boards/blob/master/message-boards-web/src/main/resources/META-INF/resources/message_boards/view_thread_message.jsp

Could you please let me know what is process to modify jsp as until liferay 6.2 it was very much easy via hook

I have checked below URL but it's hard to understand process from below post.
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/overriding-a-modules-jsps.