Haraldr Posted December 14, 2023 Share Posted December 14, 2023 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? hank You 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS SamP Posted January 3 WHMCS Technical Analyst II Share Posted January 3 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 ] 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.