How can we remove the Liferay logo, Sign In Hyperlinkand Powered BY ?? from the screen

I am using Liferay 6 and Tomcat for development. I developed a custom login for my application

Now, when you enter http: // localhost: 8086 , my user login page is displayed.

See screenshot.

enter image description here

My question is, can someone tell me how we can remove this Liferay logo, Sign In Hyperlink (Extreme right top) and Powered BY ?? from the screen.

+4
source share
3 answers

Actually, the logo can be changed without creating a theme. However, other elements require a cusotm theme (where you want to edit speed macros). The logo can be found under "Control Panel"> "Portal"> "Portal Settings", and then click "Display Settings" on the right side.

In addition, you can also provide a small amount of css for the main topic, but at best this should be considered a temporary hack. Go to "Management"> "Page Layout"> "Open Pages", and at the bottom you will see a section with CSS that you can do:

#sign-in { display: none } .powered-by { display:none } 

But keep in mind that a user with firebug or similar tools can still set the old input by changing CSS in firebug, and the Liferay tag line is still in the source, so it is hidden only from non-technical people. The topic is really the right decision.

+7
source

Yes, you can remove all of them by creating your own Liferay theme, expanding it, and then setting this theme as the one that will be used for your community.

This Liferay Wiki. An article about creating a topic should start you, if you have any questions after that, ask away! :)

+3
source

Go to the custom.css file inside the _diff folder of your theme, add the following code:

 #sign-in { display: none } 
+2
source

Source: https://habr.com/ru/post/1388670/


All Articles