Jump to content

Remove the searchbox and swap or remove the domain block


clasil

Recommended Posts

Hi there,

Can you please let me know how can i removed this belore from the dashboard

 

1 - the search box (see in the link below)

2 - swap the domain name block for the quotes ? or remove the domain block!

 

screencast.com/t/RyCzHnom

 

Thank you guys

Cs

Edited by Infopro
Please Attach Images to Your Posts.
Link to comment
Share on other sites

to remove the search box, remove the following code @ line 58...

 

<form role="form" method="post" action="clientarea.php?action=kbsearch">
   <div class="row">
       <div class="col-md-12 home-kb-search">
           <input type="text" name="search" class="form-control input-lg" placeholder="{$LANG.clientHomeSearchKb}" />
           <i class="fa fa-search"></i>
       </div>
   </div>
</form>

 

the part of the code that controls the second block is @ line 11...

 

        {if $registerdomainenabled || $transferdomainenabled}
           <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=domains'">
               <a href="clientarea.php?action=domains">
                   <div class="icon"><i class="fa fa-globe"></i></div>
                   <div class="stat">{$clientsstats.numactivedomains}</div>
                   <div class="title">{$LANG.navdomains}</div>
                   <div class="highlight bg-color-green"></div>
               </a>
           </div>
       {elseif $condlinks.affiliates && $clientsstats.isAffiliate}
           <div class="col-sm-3 col-xs-6 tile" onclick="window.location='affiliates.php'">
               <a href="affiliates.php">
                   <div class="icon"><i class="fa fa-shopping-cart"></i></div>
                   <div class="stat">{$clientsstats.numaffiliatesignups}</div>
                   <div class="title">{$LANG.affiliatessignups}</div>
                   <div class="highlight bg-color-green"></div>
               </a>
           </div>
       {else}
           <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=quotes'">
               <a href="clientarea.php?action=quotes">
                   <div class="icon"><i class="fa fa-file-text-o"></i></div>
                   <div class="stat">{$clientsstats.numquotes}</div>
                   <div class="title">{$LANG.quotes}</div>
                   <div class="highlight bg-color-green"></div>
               </a>
           </div>
       {/if}

if domains are enabled, it should show the domains box by default; if not and the client is an affiliate, it will show the affiliates box, otherwise it will show the quotes box.

 

i'm not sure exactly what you want, but if you want to remove the domains box and replace it with the quotes box, just change the above to...

 

            <div class="col-sm-3 col-xs-6 tile" onclick="window.location='clientarea.php?action=quotes'">
               <a href="clientarea.php?action=quotes">
                   <div class="icon"><i class="fa fa-file-text-o"></i></div>
                   <div class="stat">{$clientsstats.numquotes}</div>
                   <div class="title">{$LANG.quotes}</div>
                   <div class="highlight bg-color-green"></div>
               </a>
           </div>

with regards to using hooks to do this, it's not practical to use them for this.

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