Link to joomla login form 3.x

Asked

Viewed 64 times

2

I am creating a custom offline page for joomla(The one we are on maintenance). I would like to put a link that directs the user to the front-end administration login page, how can I do this?

1 answer

1


John is very quiet to do this.

Follow these bumps:

1 - Go to the root folder where the site is installed. (it is the first folder where all other Joomla folders are located etc.) 2 - Take the file index.php and rename it, type "no-index.php" 3 - Now put your new index in the folder, it can be a index.html or .php even if this is the case...

In this your new index just put a link to the Admin login page. Type like this:

<a href="http://localhost/seusite/administrator">Login Painel Administrador</a>

Here’s a full index.html. Just vc take this save code as an index.html, and put in the root of your site locahost to test. Remember to rename the index.php that is already there, simple like this! But if you have any questions just comment ok.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Page Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
<style>
    
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-align: center;
    margin-top: 50px;
    font-size: 2rem;
    font-family: sans-serif;
    color: blue;
    width: 100%;
    display: inline-block;
}
a:hover {
    color: red;
}
    
</style>
</head>
<body>
    
    <a href="http://localhost/seusite/administrator">Login Painel Administrador</a>
    
</body>
</html>

  • Thank you very much!

  • @Joãoferreira dmr young tmj!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.