Jump to content

krlos777

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by krlos777

  1. Hello, I am trying to modify the client sidebar using the following code: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $primarySidebar->getChild("My Account") ->getChild("Billing Information") ->setLabel("Custom Text Here"); }); But when I reload client area I get this error: Error: Call to a member function getChild() on null in .....
  2. Hello, i am new using WHMCS and I need to change the format of the prices and dates in the email templates. In my country we use a point as a thousands separator and we do not use decimals. The default formatter creates a lot of confusion among my clients. The same is for date format, as we use DD/MM/YYYY as format not MM/DD/YYYY. How can I edit this information in all email templates?
×
×
  • 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