Jump to content

Change WHMCS Client Area Home Panel's Design

Recommended Posts

Hello Everyone, I want to ask if there is any clue for how to edit these client area home panels' content HTML so I can customize it with my preferences. I have found the .tpl file in clientareahome.tpl, but for each panel's content is contained inside this {$childItem->getLabel()}. Is there any clue on how I can change the HTML?

screenshot.pngScreenshot-2023-12-14-at-10-14-11-AM.pnghank You

Link to comment
Share on other sites

  • 3 weeks later...
  • WHMCS Technical Analyst II

Hello @Haraldr

These panels are managed by the ClientAreaHomepagePanels hook point. We provide comprehensive documentation [ here ] on how to manipulate them.

When creating a new panel, the 'bodyHtml' identifier can be used - 

        'extras' => array(
            'color' => 'red',
            'btn-link' => 'https://test.com',
            'btn-text' => 'This is a test',
            'btn-icon' => 'fa-arrow-right',
        'bodyHtml' => "<p>test 123</p>",

Should you want to alter the body content of existing panels, such as adding or editing HTML elements, consider the use of a [ language override ]

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.

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