Wednesday 16 July 2003 5:12:29 am
the probelem start when user submit his profile he will be redirect to user/<gruop>/list , and he have no access to this page ! Also when edit custom class and submited he will be redirect to main page, i wanna redirect him to another module, such thx, to fill in more details, I had tried befor with workflow, but the approve workflow will not jump to the next workflow in the list, its go to the main page !
Coz of this I had edited befor the edit.php, and added some lines to detect if 'RedirectURI' has value, if yes then redirect him to 'RedirectURI' value. would please make edit.php detect this ?
-------------------
if($http->hasVariable( 'RedirectURI' ))
{
$Page = $http->Variable( 'RedirectURI' );
$module->redirectTo( $Page );
$hasRedirected = true;
if(!$Page) $hasRedirected = false;
//and !$hasRedirected
}
//
if ( $http->hasSessionVariable( 'ParentObject' ) && $http->sessionVariable( 'NewObjectID' ) == $object->attribute( 'id' ) and !$hasRedirected)
{
. . __________________ ?
|