Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I edit my Joomla login page?

I am having some hard times trying to figure out what file on my server is creating the page located at "http://www.website.com/component/users/?view=login" I don't have a component directory but I do have a components directory. I dove into that and checked out the com_users/views templates but I wasn't able to edit anything that reflected changes on the page in question really. One thing to note is that if I modify the view.html.php file at 'components/com_users/views/login' it seems to affect the page, and it seems to want to load the content on the page from the line of code that reads:

$menus = $app->getMenu();

Any idea of how to edit this page?

like image 230
Austin Munro Avatar asked Dec 26 '22 21:12

Austin Munro


2 Answers

This is the file you will want to edit if you intend on making style or layout changes to the login page.

components/com_users/views/login/tmpl/default_login.php

...

The file that contains the functions for the login page and that I would not recommend editing is:

components/com_users/views/view.html.php
like image 96
Lodder Avatar answered Jan 04 '23 18:01

Lodder


Thanks to GDP for providing the answer I was looking for:

"You may also want to check in the \html folder of your active template. if templates\yourtemplate\html\com_users exists, Joomla will be checking and loading from there if a matching view and file is found."

like image 21
Austin Munro Avatar answered Jan 04 '23 19:01

Austin Munro