Bootwhmcs / bootwhmcs

Template files for Bootwhmcs
75 stars 42 forks source link

Domain menu not show #2

Closed juniorriau closed 10 years ago

juniorriau commented 10 years ago

Hi, i found some error fo header template your code is :

        {if $condlinks.domainreg || $condlinks.domaintrans}
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">{$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="{$enomnewtldslink}">Preregister New TLDs</a></li>{/if}

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

with above code, domain dropdown not appear

i have change it into :

        <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navdomains}&nbsp;<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>
                <li><a href="cart.php?a=add&domain=register">{$LANG.navregisterdomain}</a></li>
                <li><a href="cart.php?a=add&domain=transfer">{$LANG.navtransferdomain}</a></li>
                <li class="divider"></li>
                <li><a href="domainchecker.php">{$LANG.navwhoislookup}</a></li>
            </ul>
        </li>

and domain dropdown finally appear thats it

i use it on WHMCS 5.1.13 Please CMIIW

ghost commented 10 years ago

Hello,

What you've done here is to remove the IF that check's if domain registration or domain transfers are enabled in WHMCS. If the domain part don't show up, then you simply need to enable it within the WHMCS configuration.

juniorriau commented 10 years ago

i've been enable it,but still not show up, so i change that code and it show up, maybe because i use low version it think i don't know too, but if i'm wrong, sorry

ghost commented 10 years ago

Thanks for letting me know. But this is def. related to your version.