Hi!!
I have a login Form in my layout (in the Public app), i create this form
using the sfGuardPlugin, like this:
in my layout, i have a component:
<?php include_component('inicio','signinForm') ?>
in components.class.php, i create that form:
public function executeSigninForm()
{
$class = sfConfig::get('app_sf_guard_plugin_signin_form',
'sfGuardFormSignin');
$this->form = new $class();
}
and the component template, is:
<?php echo $form->renderGlobalErrors() ?>
<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
<table>
<tr>
<th>Usuario</th>
<td>
<?php echo $form['username']->renderError() ?>
<?php echo $form['username']->render(array('size' => 12)) ?>
</td>
</tr>
<tr>
<th>Contraseña</th>
<td>
<?php echo $form['password']->renderError() ?>
<?php echo $form['password']->render(array('size' => 12)) ?>
</td>
</tr>
<tr>
<th>Recuerda me</th>
<td><?php echo $form['remember'] ?></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="Entrar" /></td>
</tr>
</table>
</form>
_____________________________________________-
But when i try to log in (with a valid user) i get this error message:
The template "indexSuccess.php" does not exist or is unreadable in "".
the aplication is trying to acces to indexSuccess in sfGuardAuth module,
i dont understand why...
that template obviusly dos not exist.
any ideas... THANKSS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---