Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About cumputerman

  • Rank
    Junior Member
  1. How can i add panel only to main homepage of my site https://www.seimaxim.com Panel should be visible under domain search and above twitter feeds so visitors can see products I am offering on homepage. I have below hook but it is shown only after logging into client area. It does not show only on homepage as I want to do so. <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $thankYouMessage = <<<EOT <p>Thanks for beta testing our latest offerings! To show our appreciation we'd like to provide next month of service <strong>on the house</strong>.</p> EOT; // Add a homepage panel with a link to a free month promo and mode it to the // front of the panel list. $homePagePanels->addChild('thanks', array( 'label' => 'Thanks for the help!', 'icon' => 'fa-thumbs-up', 'order' => 20, 'extras' => array( 'color' => 'gold', 'btn-link' => 'https://example.org/free-month-promo', 'btn-text' => 'Redeem Your Free Month', 'btn-icon' => 'fa-arrow-right', ), 'bodyHtml' => $thankYouMessage, 'footerHtml' => 'Act fast! This offer expires soon!', )); });
  2. This hook is taking visitor to the url as i want, but browser bar do not show address as https://www.seimaxim.com . browser bar is showing address as https://www.seimaxim.com/cart.php?a=add&domain=register , instead i want browser bar to show my homepage "address" like https://www.seimaxim.com after opening this page https://www.seimaxim.com/domainchecker.php
  3. how to show this page https://www.seimaxim.com/domainchecker.php as homepage ( https://www.seimaxim.com ) using whmc six template. I want customers to see contents of folling page when they open my site https://www.seimaxim.com
  4. How to move 'Choose Currency" (Secondarysidebar item) to the top of PrimarySidebar (secondarySidebar) in whmcs. I have created this hook but then i am unable to open pages where SecondaySidebar is not present by default. 'Choose currency" can be seen at bottom of this page https://www.seimaxim.com/cart.php?gid=12 <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { $ChooseCurrency = $secondarySidebar->getChild('Choose Currency'); // Move the panel to the end of the sorting order so it's always displayed // as the last panel in the sidebar. $ChooseCurrency->moveToFront(); }); ----- Thanks.
  5. Welcome to WHMCS.Community cumputerman! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.


Important Information

By using this site, you agree to our Terms of Use & Guidelines