0

Like we can edit wp-login.php in root folder of Wordpress to customize/change its login page, I would like to know the file name and its location where the HTML form of login page is written in Joomla.

I want to add an OnClick function to the username field.

<input name="login" onlick=(test_function)>
  • The login module or login view in com_users? Which one are you referring to? – Lodder Nov 17 '15 at 20:30
  • login module. i want to change something in html output in login password filedset. – Drew Houston Nov 17 '15 at 21:09
0

To put it quite simply then (based on your comment), the file you're looking for is:

modules/mod_login/tmpl/default.php

I would suggest however, you perform a Template Override to edit this file, rather than editing the core. It will prevent your changes being overridden in a Joomla update.

Hope this helps

  • i edited that with the changes i want. and then i opened my login URL - exmpale.com/index.php?option=com_users&view=login i never found those changes happened there. any chance there might be some other file, i need to edit ? – Drew Houston Nov 18 '15 at 1:46
  • Ah right' so you.wish to edit the component view, not the module. You will need to go to components/com_users/views/login/tmpl – Lodder Nov 18 '15 at 1:49
  • Remember the template override though. – Lodder Nov 18 '15 at 1:52
  • stackoverflow.com/questions/11512128/… i have the same question. i want to edit the HTML content of the login form. can you help me correct answer ? – Drew Houston Nov 18 '15 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.