How to remove the latest blogs window from the login page, without Studio ?
I wish to prevent users from seeing this window.
Regards
Hi,
I think it would be better to use the loginScreen extension point from org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService instead of overwritting or editing login.jsp.
Have a look for instance at: https://github.com/nuxeo/nuxeo-services/blob/014a61093a0778d6fd02bcdd88037f9289ed328d/nuxeo-platform-web-common/src/test/resources/OSGI-INF/test-loginscreenconfig-merge.xml
The important tag here is: newsIframeUrl
Cédric.
Hi jbpotokar, This kind of customization can be done with Nuxeo IDE, you should have a look at: http://doc.nuxeo.com/display/NXDOC56/Learning+to+customize+Nuxeo+EP. You'll find examples how to extend services using xml files.
Regards, Cédric.
Hello,
In fact, I don't know how to use this link to test-loginscreenconfig-merge… What am I supposed to do with these lines ? Put them in a file somewhere ?
Thx for your answers.
JB
Hello,
Thx a lot, worked perfectly right !
JB
You have to put in your login.jsp this line:
boolean showNews = false;
The login.jsp is in the nuxeo-platform-webapp-X.X.jar in the bundles folder (/nxserver/bundles).
Inside the jar, the JSP is in this folder: web/nuxeo.war/login.jsp
I hope this help
This solution is not recommended for that kind of configuration, because this will not ease up maintenance and because this configurability is handled by the PluggableAuthenticationService.
It's perfectly valid to do though, when you need to change things that are not configurable as is.