Skip to main content

Posts

Showing posts with the label joomla1.7

joomla 1.7 user registration customization issue

-> i want to try new user registration customization. -> for that i create form and call hidden variable through function from controller. -> in controller save function i write this code but some function which not work in 1.7 so create problem here. function register_save() { global $mainframe; $db =& JFactory::getDBO(); // Check for request forgeries JRequest::checkToken() or jexit( 'Invalid Token' ); //clean request $post = JRequest::get( 'post' ); $post['username'] = JRequest::getVar('username', '', 'post', 'username'); $post['password'] = JRequest::getVar('password', '', 'post', 'string', JREQUEST_ALLOWRAW); $post['password2'] = JRequest::getVar('password2', '', 'post', 'string', JREQUEST_ALLOWRAW); // get the redirect $return = JURI::base(); // do a password safety check