|
Title: Redirection parameter after registration. Help really appreciated Post by: Fernando on April 08, 2005, 08:40:13 PM Hi,
I post on mamboserver and PercyKing came with this solution. See the starting thread: http://forum.mamboserver.com/showthread.php?t=38821 In modules/mod_comprofilerlogin451.xml AFTER Code: <param name="posttext" type="text" default="" label="Post-text" description="This is the Text or HTML that is displayed below the login form" /> ADDED Code: <param name="register" type="text" default="" label="Register Redirection URL" description="What page will the login redirect to after registration, if let blank will load register result page" /> I tried but did not worked. I think that something is missing in the mod_comprofilerlogin451.php file. So I tried this: Add: Code: $register= $params->def( 'register', $return ); After this: Code: $registration_enabled = $mainframe->getCfg( 'allowUserRegistration' ); $pretext = $params->get( 'pretext' ); $posttext = $params->get( 'posttext' ); $login = $params->def( 'login', $return ); $logout = $params->def( 'logout', $return ); I know I have done something wrong. Because my knowledge in php is Zero.
Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved. |