How to remove the latest blogs window from the login page, without Studio ?

I wish to prevent users from seeing this window.

Regards

0 votes

5 answers

2281 views

ANSWER



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.

1 votes



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.

0 votes



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

0 votes



Hello,

Thx a lot, worked perfectly right !

JB

0 votes



Hi, Please make sure you post a comment instead, this site is not a forum, so this should not be posted as an answer: i do not know which solution works perfectly for you here, for instance.
11/14/2014

Ok sorry :-)
03/18/2015


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

-1 votes



Hi,

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.

11/14/2014