Jump to content

WHMCS Stephen

WHMCS Technical Analyst
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About WHMCS Stephen

  • Rank
    WHMCS Technical Analyst

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello @sanechoice Let's look to a different approach to this: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Recent Tickets'))) { $secondarySidebar->getChild('Recent Tickets') ->setOrder(100); } }); This appears to work as expected from my view.
  2. Hello @sanechoice The following should get you started with your customisations. Create a .php file with a descriptive name then include the following content: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { $secondarySidebar->getChild('Recent Tickets') ->setOrder(100); }); Once completed then place this .php file in your WHMCS includes/hooks directory. For your reference https://docs.whmcs.com/Client_Area_Sidebars_Cheatsheet#Re-arranging_Sidebar_Items The main difference here is that you are working with a Secondary Sidebar item. I hope this gives you a good starting point to your customisations.
  3. Hello there, Just to update this thread. I can advise that we have a fix for CORE-13774 is available for download from
  4. @majidfarzaneh Thanks for the update to this. It's always useful when someone shares an issue with a resolution in the WHMCS Community.
  5. Hello @majidfarzaneh Does the issue persist for you? If so, we can certainly assist and work with you to have this resolved. This not a reported issue and we would be interested in taking a look at this. As @brian! suggested the best channel for support on this is opening a ticket directly.
  6. @Tom Wilson & @brian! Link updated for coherence and sanity ! 😉 As follows - https://requests.whmcs.com/topic/products-links-seo-friendly-urls
  7. Hello @Tom Wilson WHMCS does not currently support removing the .php extension from files. We have however introduced friendly URLs to more and more areas of the product. As outlined by my colleague John on our Feature Request Board We introduced a new Friendly URLs feature which brings the potential for more human-readable URLs to different parts of the system. You can see an example of this in the MarketConnect landing pages, eg: /store/email-services. Unfortunately I cannot provide an ETA on this and any announcements such as this will be made on our Blog or in the WHMCS Changelogs Regards, Stephen.
×
×
  • 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