Jump to content

Remove content from client area home page


hmaddy

Recommended Posts

On 10/8/2026 at 3:01 PM, hmaddy said:

How can i remove all content from client area home page and add my own content. Please help me to solve this issue

whmcs.jpg

Hey, I've done this on my own WHMCS. All of that comes from homepage.tpl in your theme. On Twenty-One it's /templates/twenty-one/homepage.tpl. The domain search and the "Browse our Products/Services" boxes are both in that file.

I'd make a child theme instead of editing Twenty-One directly, though. Otherwise the next WHMCS update will overwrite your changes. Here's how I do it:

1. Make a new folder, like /templates/mytheme/
2. Inside it, make a file called theme.yaml with this in it:

name: "My Theme"
parent: twenty-one

3. Copy homepage.tpl from twenty-one into your new folder
4. Edit your copy: take out the domain search and product sections, and put in your own HTML
5. Go to System Settings > General Settings > General, change Template to "My Theme" and save

Only the files you copy into your folder get overridden, and everything else still loads from Twenty-One, so updates won't break anything.

That captcha under the search box is set in System Settings > General Settings > Security. Once the domain search is gone from the homepage, it won't show there anyway.

Hope that helps!

 

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