Hi,
Is there a way to put some more info at the login page?
I like to put some extra tekst and a logo there.
Ron
More info on the login page
Re: More info on the login page
Hi Ron,
many ways to do that and my favourite is the following.
file : hooks/footer-extras.php
Happy coding and Have a nice day.
many ways to do that and my favourite is the following.
file : hooks/footer-extras.php
Code: Select all
<?php
$script_name = basename($_SERVER['PHP_SELF']);
if ($script_name == 'index.php' && isset($_GET['signIn'])) {
?>
<style>
body {
background: url("hooks/background_image_file.jpg");
background-repeat: repeat;
background-size: 400px 400px;
}
</style>
<div class="alert alert-info" id="login_panel">
<img style="float:right" src="hooks/logo_file.png" width="300" height="100" /><br>
<h4>Thank you for using this fantastic application.</h4>
<div>
You can try out the live demo by using the following info<br>
<h5>Username : demo<br>
Password : demo</h5>
</div>
<hr>
<div>Have a nice day.<br>
<?php echo date('d-m-Y l h:i:sa'); ?>
</div>
</div>
<script>
$j(function() {
$j('#login_panel').appendTo('#login_splash');
})
</script>
<?php
}
?>
Zala.
Appgini 24.10.1579, MacOS 14.3.1 Windows 11 on Parallels.
Appgini 24.10.1579, MacOS 14.3.1 Windows 11 on Parallels.
Re: More info on the login page
Hi Zibrahim,
Great!. Thank you.
Ron
Great!. Thank you.
Ron