Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Front End User Login Plugin (XML Or Database - ver: 3.0)
FRAD Wrote:How can i place the login form on my start page - not on the sidebar?

If i place this code in the "Edit Protected Message" source code

<?php echo show_login_box(); ?>

IT doesn´t work...

Any idea?
You have a few ways to accomplish this.
  • 1. The Normal Way: Put the function in your template file.
  • 2. Put the php code in a component and use the dynpages plugin to place the component in your page
  • 3. If you want to only display the login form only on your homepage you could place somthing like the below coding into your template file:
Code:
<?php
if(!isset($_GET['id']) || $_GET['id'] == 'index')
{
    echo show_login_box();
}
?>
Reply


Messages In This Thread
Example site down, having issues - by Rich_K - 2012-11-14, 07:36:37
login box won't display - by horstuff - 2015-11-20, 04:57:25
Front End User Login Plugin (XML Or Database - ver: 3.0) - by mikeh - 2012-03-22, 06:00:06



Users browsing this thread: 2 Guest(s)