I just realized that if I disable user registration from the backend in the frontend however appears the link “registration” and this not reflect joomla standard (if I don’t want to allow user registration visitors don’t have to see the link “registration”). By the way if you try to register a new user when user registration is disabled you get an error page. :confused:
To solve this problem i modified the file: templates/ja_teline_II/html/mod_login/default.php
ORIGINAL LINES:
$option = JRequest::getCmd(‘option’);
$task = JRequest::getCmd(‘task’);
if($option!=’com_user’ && $task != ‘register’) {
MODIFIED LINES:
$option = JRequest::getCmd(‘option’);
$task = JRequest::getCmd(‘task’);
$tmpUsers = &JComponentHelper::getParams( ‘com_users’ );
$tmpAUR = $tmpUsers->get(‘allowUserRegistration’);
if($option!=’com_user’ && $task != ‘register’ && $tmpAUR==1) {
Try and let me know :p
P.S.
My English is terrible… sorry :-[