Home arrow Forum Redirection parameter after registration. Help really appreciated
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 04:09:33 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  Redirection parameter after registration. Help really appreciated
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Redirection parameter after registration. Help really appreciated  (Read 1518 times)
Fernando
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 14


View Profile
Redirection parameter after registration. Help really appreciated
« 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login