Jump to content

Hooks on homepage


secureip

Recommended Posts

ok - wasn't sure if you meant the menu bar or these shortcuts - but now I understand! :)

 

there's no hook to do this, you'll need to edit a template - six(or your custom template)/header.tpl and edit/remove...

 

{if $templatefile == 'homepage'}
   <section id="home-banner">
       <div class="container text-center">
           {if $registerdomainenabled || $transferdomainenabled}
               <h2>{$LANG.homebegin}</h2>
               <form method="post" action="domainchecker.php">
                   <div class="row">
                       <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1">
                           <div class="input-group input-group-lg">
                               <input type="text" class="form-control" name="domain" placeholder="{$LANG.exampledomain}" autocapitalize="none" />
                               <span class="input-group-btn">
                                   {if $registerdomainenabled}
                                       <input type="submit" class="btn btn-warning" value="{$LANG.search}" />
                                   {/if}
                                   {if $transferdomainenabled}
                                       <input type="submit" name="transfer" class="btn btn-info" value="{$LANG.domainstransfer}" />
                                   {/if}
                               </span>
                           </div>
                       </div>
                   </div>

                   {include file="$template/includes/captcha.tpl"}
               </form>
           {else}
               <h2>{$LANG.doToday}</h2>
           {/if}
       </div>
   </section>
   <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>»</span>
                                   </p>
                               </a>
                           </li>
                       {/if}
                       <li>
                           <a id="btnOrderHosting" href="cart.php">
                               <i class="fa fa-hdd-o"></i>
                               <p>
                                   {$LANG.orderhosting} <span>»</span>
                               </p>
                           </a>
                       </li>
                       <li>
                           <a id="btnMakePayment" href="clientarea.php">
                               <i class="fa fa-credit-card"></i>
                               <p>
                                   {$LANG.makepayment} <span>»</span>
                               </p>
                           </a>
                       </li>
                       <li>
                           <a id="btnGetSupport" href="submitticket.php">
                               <i class="fa fa-envelope-o"></i>
                               <p>
                                   {$LANG.getsupport} <span>»</span>
                               </p>
                           </a>
                       </li>
                   </ul>
               </div>
           </div>
       </div>
   </div>
{/if}

that's the block that displays the contents of your image - so you can either remove it all, or just the parts that you want. :idea:

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