Editing Registration Text in Login Page

Hi, I’ve been trying to find which php file should I edit to add text on the registration sidebar.
I’d like to edit the text: Join our learning community. It’s free!

Anyone who was able to do it? Thank you.

Goto System admin …> System Settings and find index page text. Cheers

There are basically two ways to achieve this:

  1. Edit the following file:
    src\UI\Components\Sidebar.php

  2. Use string replacement
    Admin> System Admin> Settings> String Replacement

I’d rather go for the second approach.

:slight_smile:

Goto System admin ....> System Settings and find index page text. Cheers

@ghulamabbas92 thanks, this works on the welcome text section but I was trying to edit the text on the registration section at the sidebar.

There are basically two ways to achieve this:
  1. Edit the following file:
    src\UI\Components\Sidebar.php

  2. Use string replacement
    Admin> System Admin> Settings> String Replacement

I’d rather go for the second approach.

:slight_smile:

I’ve tried method 2 but it can only replace the string “It’s free!” and not the string “Join our learning community.” but step 1 deinitely got the job! Thanks @meierrom saved me a lot of time trying to look for the file! Really appreciated.

Hello, turns out that string was not very well formatted for translation (the fault of a younger Ross, long ago!), and it’s now been fixed in the following v19 commit:

https://github.com/GibbonEdu/core/commit/79ca2286ede525898e3b53fcdbe58563261b02cf

Cheers,

Ross