掲示板

Replace liferay HTML Page, for shutdown

7年前 に Mark Schwarz によって更新されました。

Replace liferay HTML Page, for shutdown

New Member 投稿: 8 参加年月日: 15/03/16 最新の投稿
Hi,

We are working with liferay 6.1, is there a clean way to replace the inactive.html, which will be shown when you use the shutdown feature in the control panel. I guess it would work if i just replace it in the jar file but i want a cleaner solution.
A alternative solution would be if we can use the maintenance util together with a hook on the maintenance.jsp, to create the some functionality, but i couldnt find any example how to do this.

thanks for the help.
thumbnail
7年前 に Kailash Yadav によって更新されました。

RE: Replace liferay HTML Page, for shutdown

Regular Member 投稿: 211 参加年月日: 11/10/18 最新の投稿
If you need to update maintenance page, the cleaner solution is create hook for maintenance.jsp and replace content of it.
7年前 に Mark Schwarz によって更新されました。

RE: Replace liferay HTML Page, for shutdown

New Member 投稿: 8 参加年月日: 15/03/16 最新の投稿
I would prefer this solution, but i dont know how to execute the Maintenance functionality. I only see a shutdown option in the control panel, no maintenance option.
Do you know if this option is somewhere available in the control panel or do i have to implement this functionality myself. If i have to implement this functionality myself do you know how to do it or how i can use this MaintenanceUtil from liferay?