Remove the registration link from the main page

Discussion in 'Subrion CMS Templates' started by douglas_specht, Jan 15, 2017.

  1. douglas_specht

    douglas_specht New Member

    I disabled the front user registry, and would like to know how to remove the link from the home page?
    I use the Kickstart template.
    thank you..
  2. olairmarcos

    olairmarcos Member

    If you will not use the registration and login system on the frontpage, delete or comment the marked "Bold" line in the file:

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="navbar-collapse">
    {include 'language-selector.tpl'}
    {ia_blocks block='account'} **** Remove or comment***
    {ia_blocks block='mainmenu'}

    Thanks for listing
  3. douglas_specht

    douglas_specht New Member

    I would like to just remove the account register, the login should remain, how do I do in that case?

    Thanks for your response.
  4. olairmarcos

    olairmarcos Member

    In the file:

    Find and comment on the following line (22).

    <ul class="nav navbar-nav navbar-right">
    <li{if 'login' == $} class="active"{/if}><a href="{$smarty.const.IA_URL}login/">{lang key='login'}</a></li>
    <!-- <li{if 'registration' == $} class="active"{/if}><a href="{$smarty.const.IA_URL}registration/">{lang key='register'}</a></li> -->

    You can leave Active "Members functionality" in the control panel.

  5. douglas_specht

    douglas_specht New Member

    Thank you very much, it worked.
  6. olairmarcos

    olairmarcos Member

  7. haljavshchik

    haljavshchik New Member

    Tried this "feature" and commented as olairmarcos suggested, but registration link still remains on main menu!
    What could be the issue?
  8. Vasily_B.

    Vasily_B. Project Manager


    Are you using the same template? You don't need to make changes in common/ folder. Instead you need to copy necessary file to your template folder and make changes there. Probably you changed the file in common, but your current template already has another file with the same name in its folder - so the changes are not applied so far, as the template overrides changes in common folder.


Share This Page