*Phil look on with interest and makes notes on how this all works*
This is a geat help guys pitty i didnt ask the questions myself
*mutters somthing about always rushing his work*
The info was great think it helps all the issues i was goingto ask
adrian on monday.
On Jun 24, 7:33 am, Piers War
Hi,
> If the user logs out (or if the session terminates), is it possible to
> redirect the user to the main page?
You can set a success_signout_url configuration in the app.yml. More
info here:
http://trac.symfony-project.com/wiki/sfGuardPluginFor10#CustomizesfGuardAuthredirecthandling
> Ma
Piers
Yes that helped a lot!
The indents were definitely an issue with the copy and paste.
Ok - my final bit for the time being...
I have the "booking" now working so the user needs to be logged in to
continue on.
If the user logs out (or if the session terminates), is it possible to
redirect
Yeah, It can be confusing - a few of tips:
1 ) Check out what credentials your current user has by using the dev
panel.
You'll need to be using your application in dev mode ( something like
backend_dev.php ) and then look in:
vars & config > Settings > credentials
that should give you a l
Thanks Piers! That helped a lot.
OK, now to go on from that to the credentials...
I have created 'permissions' that say can_book, can_delete and so on
in the sfGuardPermission table.
I have then created groups staff and student in sfGuardGroup with the
relevant permissions
The problem is that
Hi Adrian,
1 ) Try something like:
of if you want a more "aware" link:
isAuthenticated()) ? link_to(__("logout"),
"@sf_guard_signout"): link_to(__("login"), "@sf_guard_signin"); ?>
2 ) Try not to think of it in terms of authenticating a group. It all
relates back to a single permission/c