AAAAadministrator/components/com_chronoforms/form_actions/joomla_registration/joomla_registration.ctp000060400000022133151402021350033701 0ustar00home/academiac/www
Joomla User Registration
Header(array('fields' => 'Fields', 'settings' => 'Settings', 'cb' => 'CB', 'help' => 'Help'), 'joomla_registration_config_{n}'); ?> tabStart('fields'); ?> input('action_joomla_registration_{n}_name_config', array('type' => 'text', 'label' => 'Name field name', 'class' => 'medium_input', 'smalldesc' => 'The name of the field which is going to hold the Name data')); ?> input('action_joomla_registration_{n}_username_config', array('type' => 'text', 'label' => 'Username field name', 'class' => 'medium_input', 'smalldesc' => 'The name of the field which is going to hold the Username data')); ?> input('action_joomla_registration_{n}_email_config', array('type' => 'text', 'label' => 'Email field name', 'class' => 'medium_input', 'smalldesc' => 'The name of the field which is going to hold the Email data')); ?> input('action_joomla_registration_{n}_password_config', array('type' => 'text', 'label' => 'Password field name', 'class' => 'medium_input', 'smalldesc' => 'The name of the field which is going to hold the Password data')); ?> input('action_joomla_registration_{n}_password2_config', array('type' => 'text', 'label' => 'Verify Password field name', 'class' => 'medium_input', 'smalldesc' => 'The name of the field which is going to hold the Verify Password data')); ?> tabEnd(); ?> tabStart('settings'); ?> input('action_joomla_registration_{n}_override_allow_user_registration_config', array('type' => 'select', 'label' => 'Override the Joomla Allow user registration', 'label_over' => true, 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Its advised that you disable the Joomla allow user registration setting and enable this one so that users are forced to register here.')); ?> setQuery($query); $options = array(); $groups = $database->loadObjectList(); foreach($groups as $group){ $options[$group->id] = $group->title; } ?> input('action_joomla_registration_{n}_new_usertype_config', array('type' => 'select', 'label' => 'Usertype', 'options' => $options, 'size' => 6, 'multiple' => 'multiple', 'rule' => "split", 'splitter' => ",", 'smalldesc' => 'The new user type/group.')); ?> input('action_joomla_registration_{n}_useractivation_config', array('type' => 'select', 'label' => 'User activation', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Should the user require activation ?')); ?> input('action_joomla_registration_{n}_send_joo_activation_config', array('type' => 'select', 'label' => 'Send activation', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => "Send Joomla's activation email after registration ?")); ?> input('action_joomla_registration_{n}_activation_link_config', array('type' => 'text', 'label' => 'Activation Link', 'class' => 'big_input', 'smalldesc' => 'Use this ONLY if your "Allow User Registration" is set to "NO" in the Joomla Users Manager, add a link to a form event with the "Joomla User Activation" action.')); ?> input('action_joomla_registration_{n}_random_password_config', array('type' => 'select', 'label' => 'Random Password', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Generate Random password for the user ? if yes then you do not have to supply password/verify password fields.')); ?> input('action_joomla_registration_{n}_auto_login_config', array('type' => 'select', 'label' => 'Auto Login', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Auto Login the user after registration ?')); ?> input('action_joomla_registration_{n}_display_reg_complete_config', array('type' => 'select', 'label' => 'Display status', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Display the Joomla registration status message after successfull one ?')); ?> input('action_joomla_registration_{n}_user_data_path_config', array('type' => 'text', 'label' => 'User Data Path', 'class' => 'medium_input', 'smalldesc' => 'The data array path under which the created user data will be set.')); ?> tabEnd(); ?> tabStart('cb'); ?> input('action_joomla_registration_{n}_enable_cb_support_config', array('type' => 'select', 'label' => 'Enable CB Support', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Enable Community Builder support, this will save the data to community builder table, your form fields names should match the CB fields names definded for registration.')); ?> tabEnd(); ?> tabStart('help'); ?>

tabEnd(); ?>