hello,

i would like the enduser, after logged on, go to the edit page of his
profile:

i've modified the file:
plugins\sfDoctrineGuardPlugin\modules\sfGuardAuth\lib
\BasesfGuardAuthActions.class.php

  public function executeSignin($request)
..........
//        return $this->redirect('' != $signinUrl ? $signinUrl :
'@homepage');
                return 
$this->redirect("user/edit?id=".$user->getGuardUser()->getId
());
.........

but i would prefer modify the app.yml file, because it is more clean:
all:
 sf_guard_plugin:
  success_signin_url: "/edit/id/".<?php $user->getGuardUser()->getId
() ?>

but of course the variable $user is not defined there.

(i've created the files
apps\frontend\modules\sfGuardAuth\actions\actions.class.php
and modified the code like i've wrote up, that more clean, but not
very in fact, if we update the version of the plugin, the code could
change)

so ,how to reach $user->getGuardUser()->getId() in the app.yml ? (or
perhaps in a template ?)

thanks
-- 
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.


Reply via email to