Why 'RedirectURI' is not working ?!

Author Message

Selmah Maxim

Saturday 05 July 2003 1:44:02 am

Hi ..

Any1 knows why hidden input 'RedirectURI' is not working ?
am trying to redirect users after submitting to another page, no need to redirect them to the parent node page !!

any help ?

Selmah Maxim

Wednesday 16 July 2003 3:38:59 am

any comment ?!

Jan Borsodi

Wednesday 16 July 2003 4:11:14 am

What functionality are you referring to? Not all functionality supports redirect uris from templates.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 16 July 2003 4:56:57 am

user profile editing, and custom class I made !

Selmah Maxim

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)
{
.
.

__________________

?

Selmah Maxim

Wednesday 16 July 2003 6:18:26 am

Jan .. or any one from ez crew .. can this be done or should I search for another solution, I don`t wanna modify the code by my slef to gain the upgarde vis svn !

Selmah Maxim

Wednesday 16 July 2003 7:54:52 am

?!

Selmah Maxim

Wednesday 16 July 2003 3:32:47 pm

any help pls ?!

Selmah Maxim

Thursday 17 July 2003 12:57:38 am

any comment ?!

Jan Borsodi

Thursday 17 July 2003 1:32:35 am

I just added support for RedirectURI, see
http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/redirecting_after_content_publishing

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Thursday 17 July 2003 1:43:19 am

THX ALOT ... alot ..alot ..ot....t...t..t..t

:)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.