Jump to content

Removing Domains from the client menu


Recommended Posts

Hello, in /whmcs/templates/default/header.tpl delete this lines 57-70

 

{if $condlinks.domainreg || $condlinks.domaintrans}<ul class="nav">

<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navdomains} <b class="caret"></b></a>

<ul class="dropdown-menu">

<li><a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a></li>

<li class="divider"></li>

<li><a href="cart.php?gid=renewals">{$LANG.navrenewdomains}</a></li>

{if $condlinks.domainreg}<li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li>{/if}

{if $condlinks.domaintrans}<li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li>{/if}

{if $enomnewtldsenabled}<li><a href="index.php?m=enomnewtlds">Preregister New TLDs</a></li>{/if}

<li class="divider"></li>

<li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li>

</ul>

</li>

</ul>{/if}

Link to comment
Share on other sites

if you're using the default template, another method might be to untick the first three boxes in "Domain Registration Options"...

 

setup -> general settings -> domains -> Domain Registration Options

 

I think if these 3 boxes are unticked, then the domain dropdown doesn't show.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated