I'm creating a custom offline page for joomla (that's under maintenance). I would like to put a link that directs the user to the front-end admin login page, how can I do this?
I'm creating a custom offline page for joomla (that's under maintenance). I would like to put a link that directs the user to the front-end admin login page, how can I do this?
John is very easygoing to do that.
Follow these steps:
1 - Go to the root folder where the site is installed. (it's the first folder where all other Joomla folders are etc.)
2 - Get the file index.php
and rename it, type "no-index.php"
3 - Now put the new index in the folder, it can be index.html
or .php
even if it is the case ...
In your new index, just link to the Administrator login page. Like this:
<a href="http://localhost/seusite/administrator">Login Painel Administrador</a>
Here is a full index.html . Just grab this save code as an index.html, and put in the root of your locahost site to test. Remember to rename index.php already there , simple as that! 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>