Hi,
I'm using advanced login module from community builder and I would like a paramenter to the module so the user go to a desired page deisgned by me after the registration on my site, not after the login process (this feature is already implemented). So 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:
PHP Code:
$register= $params->def( 'register', $return );
After this:
PHP 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.
Could anyone give me a hand?
Tks
Fermambers