Jump to content

How to hide client area dashboard (bar with number of services, invoices, tickets etc)


Recommended Posts

Hi,

I looking how to:

1. How to hide client area dashboard (bar with number of services, invoices, tickets etc)

2. the same about knowledge base seraching bar

3. other modules bars placed on client area main page (client logged in) for ex. newTLD bar

As a bar I mean all of horizontal elements over the panels and having width of all panels (i'm not sure how is named in whmcs).

 

Any hook?

How to check their names?

 

Please help!

 

Kindest regards

Artur

Link to comment
Share on other sites

Hi Artur,

 

I looking how to:

1. How to hide client area dashboard (bar with number of services, invoices, tickets etc)

you'll need to edit clientareahome.tpl - basically the entire first <div> block in the template.

 

2. the same about knowledge base searching bar

similarly, you can edit knowledgebase.tpl and knowledgebasecat.tpl and remove the <form> block of code at the beginning of the template.

 

3. other modules bars placed on client area main page (client logged in) for ex. newTLD bar

As a bar I mean all of horizontal elements over the panels and having width of all panels (i'm not sure how is named in whmcs).

Any hook?

How to check their names?

I might need a screenshot of what you mean for this - i'm not sure if you're talking about homepage panels (below) or the navbar. :?:

Link to comment
Share on other sites

brian!

 

Thank you so much.

I think I understand how to hide "whmcs native" dashboard and knowledge base searching bar. :)

 

But on my installation I have some more as on screen below:

 

clientarea.png

 

Bellow of 2 of whmcs native there is one more.

How to proceed with that?

Do you think third party module could inject some code to clientareahome.tpl?

Should I look for next section?

 

Kindest regards

Artur

Link to comment
Share on other sites

Hi Artur,

 

Below of 2 of whmcs native there is one more.

How to proceed with that?

Do you think third party module could inject some code to clientareahome.tpl?

Should I look for next section?

oh ok, this is all going to be in clientareahome.tpl.

 

as I said earlier, the 4 panels (services, domains, etc) is the first <div> block in clientareahome.tpl

 

the kb search is after the <div> block and is the <form> block of code.

 

<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 third one, which i'm guessing is the eNom New TLDs addon, is going to be displayed by...

{foreach from=$addons_html item=addon_html}
   <div>
       {$addon_html}
   </div>
{/foreach}

 

https://docs.whmcs.com/ENom_New_TLDs

 

I daresay that could be removed by an action hook, but seeing as you're already editing the template to remove the other two it, you could remove the above {foreach} block and that should remove it.

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