OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform OroPlatform – How do I? Questions How do i customize the loginscreen of OROPlatform 3?

This topic contains 2 replies, has 2 voices, and was last updated by  Udo 4 months ago.

  • Creator
    Topic
  • #37865

    Udo
    Participant

    Hello

    As a beginner with the OROPlatform I would like to change the login screen (background image, logo, text). First I looked into the user bundle (../vendor/oro/platform/src/Oro/Bundle/UserBundle/Resources/views/Security/login.html.twig). Unfortunately I did not find a solution. Do I have to overwrite the template, or is there a better way?
    Does anyone have a hint where to start?

    Many thanks in advance for your reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #37873
    Yevhen Shyshkin
    Yevhen Shyshkin
    Moderator

    Hello.

    If you’re using 3.* application version then you may copy content of vendor/oro/platform/src/Oro/Bundle/UserBundle/Resources/views/Security/login.html.twig into src/Resources/OroUserBundle/views/Security/login.html.twig and override any required part there.

    If you’re using older version you should use app/Resources/OroUserBundle/views/Security/login.html.twig instead.

    Please let me know if that’s what you needed.

    #37927

    Udo
    Participant

    Thanks for the answer.
    Overwriting the login.html.twig was the right start. In the end, the solution was to adapt the css class with the correct paths to the new images.
    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No