Foren

Replace liferay HTML Page, for shutdown

Mark Schwarz, geändert vor 7 Jahren.

Replace liferay HTML Page, for shutdown

New Member Beiträge: 8 Beitrittsdatum: 16.03.15 Neueste Beiträge
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
Kailash Yadav, geändert vor 7 Jahren.

RE: Replace liferay HTML Page, for shutdown

Regular Member Beiträge: 211 Beitrittsdatum: 18.10.11 Neueste Beiträge
If you need to update maintenance page, the cleaner solution is create hook for maintenance.jsp and replace content of it.
Mark Schwarz, geändert vor 7 Jahren.

RE: Replace liferay HTML Page, for shutdown

New Member Beiträge: 8 Beitrittsdatum: 16.03.15 Neueste Beiträge
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?