Jump to content

Client area Secondary menu


Recommended Posts

Been trying to edit the secondary menu and not working for me so far. I read the docs but the secondary menu items do not have a name for them when I check the developer panel in chrome. So using the examples given do not work.  The docs do have an example showing how to edit the Secondary menu...     Say you want to change the "Order Hosing link".    What child would you call then with getChild? getElementById does not work.  Need some assistance. 

 

To clarify: 

WHMCS portal home has the main menu on top and under the domain search there is another bar (i.e. the "How can we help you today?" bar) with links starting with Buy A Domain. I want to change these links with a different URL.

Link to comment
Share on other sites

Hi,

10 hours ago, ninjaunmatched said:

WHMCS portal home has the main menu on top and under the domain search there is another bar (i.e. the "How can we help you today?" bar) with links starting with Buy A Domain. I want to change these links with a different URL.

x_ZO8_ZGn_TR0amp4g_VCPOREg.png

as you can see from the above image, the Primary Navbar handles most of the top menu, the Secondary Navbar handles the Account (right hand side) of the menu and you can use hooks to change them... but the part you want to edit doesn't use any hooks, instead you will need to edit the home shortcuts section in the 'header.tpl' template in your active template folder (e.g Six) if you want to change links...

    <div class="home-shortcuts">
        <div class="container">
            <div class="row">
                <div class="col-md-4 hidden-sm hidden-xs text-center">
                    <p class="lead">
                        {$LANG.howcanwehelp}
                    </p>
                </div>
                <div class="col-sm-12 col-md-8">
                    <ul>
                        {if $registerdomainenabled || $transferdomainenabled}
                            <li>
                                <a id="btnBuyADomain" href="domainchecker.php">
                                    <i class="fa fa-globe"></i>
                                    <p>
                                        {$LANG.buyadomain} <span>&raquo;</span>
                                    </p>
                                </a>
                            </li>
                        {/if}
                        <li>
                            <a id="btnOrderHosting" href="cart.php">
                                <i class="fa fa-hdd-o"></i>
                                <p>
                                    {$LANG.orderhosting} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                        <li>
                            <a id="btnMakePayment" href="clientarea.php">
                                <i class="fa fa-credit-card"></i>
                                <p>
                                    {$LANG.makepayment} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                        <li>
                            <a id="btnGetSupport" href="submitticket.php">
                                <i class="fa fa-envelope-o"></i>
                                <p>
                                    {$LANG.getsupport} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

if you just want to change the labels, you can use Language Overrides to do that.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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