Jump to content

I have an older template and the dropdown menu for the client area isn't showing the sub menu items


ordertochaos

Recommended Posts

I have an older template and the dropdown menu for the client area isn't showing the sub menu items.

 

Code:

<div id="innercontentclear">
<div id="innertext">
<div id="whmcsthemes">
<div class="navbar navbar-fixed-top">
 <div class="navbar-inner">
   <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
     <div class="nav-collapse">
       <ul class="nav">
         <li><a href="{if $loggedin}clientarea{else}clientportal{/if}.php"><i class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.hometitle}</a></li>
       </ul>
       {if $loggedin}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="clientarea.php?action=products"><i class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navservices} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=products">{$LANG.clientareanavservices}</a></li>
             {if $condlinks.pmaddon}
             <li><a href="index.php?m=project_management">{$LANG.clientareaprojects}</a></li>
             {/if}
             <li class="divider"></li>
             <li><a href="cart.php">{$LANG.navservicesorder}</a></li>
             <li><a href="cart.php?gid=addons">{$LANG.clientareaviewaddons}</a></li>
           </ul>
         </li>
       </ul>
       {if $condlinks.domainreg || $condlinks.domaintrans}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><li class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$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}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-briefcase icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navbilling} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=invoices">{$LANG.invoices}</a></li>
 <li><a href="clientarea.php?action=quotes">{$LANG.quotestitle}</a></li>
             <li class="divider"></li>
             {if $condlinks.addfunds}
             <li><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a></li>
             {/if}
             {if $condlinks.masspay}
             <li><a href="clientarea.php?action=masspay&all=true">{$LANG.masspaytitle}</a></li>
             {/if}
             {if $condlinks.updatecc}
             <li><a href="clientarea.php?action=creditcard">{$LANG.navmanagecc}</a></li>
             {/if}
           </ul>
         </li>
       </ul>
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-info-sign icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navsupport} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="supporttickets.php">{$LANG.navtickets}</a></li>
             <li><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></li>
             <li><a href="downloads.php">{$LANG.downloadstitle}</a></li>
             <li><a href="serverstatus.php">{$LANG.networkstatustitle}</a></li>
           </ul>
         </li>
       </ul>
       <ul class="nav">
         <li><a href="submitticket.php"><i class="icon-envelope icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navopenticket}</a></li>
       </ul>
       {if $condlinks.affiliates}
       <ul class="nav">
         <li><a href="affiliates.php"><i class="icon-signal icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.affiliatestitle}</a></li>
       </ul>
       {/if}
       <ul class="nav pull-right">
         <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.hello}, {$loggedinuser.firstname}! <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=details">{$LANG.editaccountdetails}</a></li>
             {if $condlinks.updatecc}
             <li><a href="clientarea.php?action=creditcard">{$LANG.navmanagecc}</a></li>
             {/if}
             <li><a href="clientarea.php?action=contacts">{$LANG.clientareanavcontacts}</a></li>
             {if $condlinks.addfunds}
             <li><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a></li>
             {/if}
             <li><a href="clientarea.php?action=emails">{$LANG.navemailssent}</a></li>
             <li><a href="clientarea.php?action=changepw">{$LANG.clientareanavchangepw}</a></li>
             <li class="divider"></li>
             <li><a href="logout.php">{$LANG.logouttitle}</a></li>
           </ul>
         </li>
       </ul>
       {else}
<ul class="nav">
         <li><a href="announcements.php"><i class="icon-bullhorn icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.announcementstitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="knowledgebase.php"><i class="icon-search icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.knowledgebasetitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="serverstatus.php"><i class="icon-globe icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.networkstatustitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="affiliates.php"><i class="icon-signal icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.affiliatestitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="contact.php"><i class="icon-envelope icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.contactus}</a></li>
       </ul>
       <ul class="nav pull-right">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-lock icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.account} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php">{$LANG.login}</a></li>
             <li><a href="register.php">{$LANG.register}</a></li>
             <li class="divider"></li>
             <li><a href="pwreset.php">{$LANG.forgotpw}</a></li>
           </ul>
         </li>
       </ul>
       {/if} </div>
     <!-- /.nav-collapse -->
   </div>
 </div>
 <!-- /navbar-inner -->
</div>

 

I am not sure why this is not working. Using WHMCS 7.1.1

Link to comment
Share on other sites

I have an older template and the dropdown menu for the client area isn't showing the sub menu items.

 

Code:

<div id="innercontentclear">
<div id="innertext">
<div id="whmcsthemes">
<div class="navbar navbar-fixed-top">
 <div class="navbar-inner">
   <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
     <div class="nav-collapse">
       <ul class="nav">
         <li><a href="{if $loggedin}clientarea{else}clientportal{/if}.php"><i class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.hometitle}</a></li>
       </ul>
       {if $loggedin}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="clientarea.php?action=products"><i class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navservices} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=products">{$LANG.clientareanavservices}</a></li>
             {if $condlinks.pmaddon}
             <li><a href="index.php?m=project_management">{$LANG.clientareaprojects}</a></li>
             {/if}
             <li class="divider"></li>
             <li><a href="cart.php">{$LANG.navservicesorder}</a></li>
             <li><a href="cart.php?gid=addons">{$LANG.clientareaviewaddons}</a></li>
           </ul>
         </li>
       </ul>
       {if $condlinks.domainreg || $condlinks.domaintrans}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><li class="icon-home icon-white" style="margin-right:5px;margin-top:1px;"></i>{$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}
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-briefcase icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navbilling} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=invoices">{$LANG.invoices}</a></li>
 <li><a href="clientarea.php?action=quotes">{$LANG.quotestitle}</a></li>
             <li class="divider"></li>
             {if $condlinks.addfunds}
             <li><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a></li>
             {/if}
             {if $condlinks.masspay}
             <li><a href="clientarea.php?action=masspay&all=true">{$LANG.masspaytitle}</a></li>
             {/if}
             {if $condlinks.updatecc}
             <li><a href="clientarea.php?action=creditcard">{$LANG.navmanagecc}</a></li>
             {/if}
           </ul>
         </li>
       </ul>
       <ul class="nav">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-info-sign icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navsupport} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="supporttickets.php">{$LANG.navtickets}</a></li>
             <li><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></li>
             <li><a href="downloads.php">{$LANG.downloadstitle}</a></li>
             <li><a href="serverstatus.php">{$LANG.networkstatustitle}</a></li>
           </ul>
         </li>
       </ul>
       <ul class="nav">
         <li><a href="submitticket.php"><i class="icon-envelope icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.navopenticket}</a></li>
       </ul>
       {if $condlinks.affiliates}
       <ul class="nav">
         <li><a href="affiliates.php"><i class="icon-signal icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.affiliatestitle}</a></li>
       </ul>
       {/if}
       <ul class="nav pull-right">
         <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.hello}, {$loggedinuser.firstname}! <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php?action=details">{$LANG.editaccountdetails}</a></li>
             {if $condlinks.updatecc}
             <li><a href="clientarea.php?action=creditcard">{$LANG.navmanagecc}</a></li>
             {/if}
             <li><a href="clientarea.php?action=contacts">{$LANG.clientareanavcontacts}</a></li>
             {if $condlinks.addfunds}
             <li><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a></li>
             {/if}
             <li><a href="clientarea.php?action=emails">{$LANG.navemailssent}</a></li>
             <li><a href="clientarea.php?action=changepw">{$LANG.clientareanavchangepw}</a></li>
             <li class="divider"></li>
             <li><a href="logout.php">{$LANG.logouttitle}</a></li>
           </ul>
         </li>
       </ul>
       {else}
<ul class="nav">
         <li><a href="announcements.php"><i class="icon-bullhorn icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.announcementstitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="knowledgebase.php"><i class="icon-search icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.knowledgebasetitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="serverstatus.php"><i class="icon-globe icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.networkstatustitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="affiliates.php"><i class="icon-signal icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.affiliatestitle}</a></li>
       </ul>
       <ul class="nav">
         <li><a href="contact.php"><i class="icon-envelope icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.contactus}</a></li>
       </ul>
       <ul class="nav pull-right">
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-lock icon-white" style="margin-right:5px;margin-top:1px;"></i>{$LANG.account} <b class="caret"></b></a>
           <ul class="dropdown-menu">
             <li><a href="clientarea.php">{$LANG.login}</a></li>
             <li><a href="register.php">{$LANG.register}</a></li>
             <li class="divider"></li>
             <li><a href="pwreset.php">{$LANG.forgotpw}</a></li>
           </ul>
         </li>
       </ul>
       {/if} </div>
     <!-- /.nav-collapse -->
   </div>
 </div>
 <!-- /navbar-inner -->
</div>

 

I am not sure why this is not working. Using WHMCS 7.1.1

 

I have fixed this problem. Was missing jquery.

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