The signinSuccess.php template is just a very simple example of the
implementation of the signin form. To customize this template, the best
thing to do is to override the template by creating a sfGuardAuth module
in your application.
Fabien
Pablo Godel wrote:
> I posted this on the forum, but I don't know if this is the correct
> place instead.
>
> I made a minor modification to sfGuard so it focus the cursor on the
> username field when loading the page. Maybe it can be added to the
> plugin for everyone.
>
> I modified signinSuccess.php and added this at the bottom of the file:
> <script language="javascript">
> var tbUsername = document.getElementById('username');
> if ( tbUsername ) tbUsername.focus();
> </script>
>
> Regards,
> Pablo
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---