Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Saguaros Moderator
    #1090034

    Hi Angela,

    You can try this tweak:

    • Go to file: root/templates/ja_events_ii/html/mod_jalogin/default.php
    • Look for this line of code (approx line 24):
      <li class="" role="presentation" id="ja-user-register-tab"><a href="#ja-user-register" aria-controls="ja-user-register" role="tab" data-toggle="tab"><?php echo JText::_('REGISTER');?></a></li>

    change it to:

    <?php
    $option = JRequest::getCmd('option');
    $task = JRequest::getCmd('task');
    if($option!='com_user' && $task != 'register' && $params->get('show_register_form', 1)) 
        { ?>
    <li class="" role="presentation" id="ja-user-register-tab"><a href="#ja-user-register" aria-controls="ja-user-register" role="tab" data-toggle="tab"><?php echo JText::_('REGISTER');?></a></li>
    <?php } ?>

    Also make sure that you disable the option ‘Show Registration Form’ in module settings.

    Regards

    amturner Friend
    #1090585

    Thanks very much Saguaros. That has solved the problem.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  amturner 6 years, 9 months ago.

The topic ‘Disable "Create an Account" in JA Login’ is closed to new replies.