Unstoppable Domains

How to Fix Joomla Login form

Spaceship Spaceship
Watch

Bigvenue

Established Member
Impact
2
I have a joomla site.I have a problem with the login form for the template, users can't login .if I put the module form it works fine is the anything wrong with the codes?below is the code.

<?php

$registration_enabled = $mainframe->getCfg( 'allowUserRegistration' );
$pretext = @$params->pretext ? $params->pretext : '';
$posttext = @$params->posttext ? $params->posttext : '';
$return = mosGetParam( $_SERVER, 'REQUEST_URI', null );

if ($my->id) {
echo "<font color=#10428B>"._USERNAME.":</font> ";
echo $my->username;


?> | 
<a href='<?php echo sefRelToAbs("index.php?option=logout&return=$return"); ?>'><b><?php echo _BUTTON_LOGOUT; ?></b></a>
<?php
} else {
?>
<form action="<?php echo sefRelToAbs("index.php?option=login"); ?>" method="post" name="login">
<TABLE WIDTH="85%" align=center CELLPADDING="0" CELLSPACING="0">
<TR>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Try getting a working login form from the default theme and change the bits you need to. Should work like that.
 
0
•••
its not usual to put the loginform within the template,
have u tried any other template?
 
0
•••
on!SPOT said:
its not usual to put the loginform within the template,
have u tried any other template?
Exactly


Bigvenu , exactly what are you trying to do?
PM me and I can help you.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer

We're social

Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back