2012-03-22, 06:00:06
FRAD Wrote:How can i place the login form on my start page - not on the sidebar?You have a few ways to accomplish this.
If i place this code in the "Edit Protected Message" source code
<?php echo show_login_box(); ?>
IT doesn´t work...
Any idea?
- 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();
}
?>