Jump to content

Swword

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Swword

  1. Hello, thank you for your answer. Then really thank you all for your help! The latest Jd code to work thank you 🙂 I was able to put the page on the site as you told me
  2. Hey, thank you very much for your answers! So here is a screen of the top menu when you are connected : https://zupimages.net/up/22/12/571h.png ------------------------ Then it always brings me to this page : https://zupimages.net/up/22/12/k6c5.png ----------------------------------------- On the other hand, when I click on the left menu, your code works and of course brings me the page I want, https://zupimages.net/up/22/12/csga.png
  3. Hello, thank you very much for your answer. So once connected to my site, when I click on "Network Status" it always directs me to the basic WHMCS page. On the other hand, if I click again on "Network status" on the left, it directs me to the page I want, but suddenly I always have the other page displayed.
  4. Good morning ! Ah ok only for the high bar, no worries thank you very much. I can't modify for the left menu with your link unfortunately... In addition I have the impression that on their own code there are certain errors such as for example here; <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $primarySidebar->getChild('My Account') ->getChild('Billing Information') ->setUri('https://www.example.com/billingInfo'); }); (( This is their base code )) While I believe it is necessary to add a tag to close: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $primarySidebar->getChild('My Account') ->getChild('Billing Information') ->setUri('https://www.example.com/billingInfo'); } <--- }); I also succeeded for the top navigation but only when you are disconnected, but when you connect it does not work. Thanks very much !
  5. Hello, thank you for your answers, it's nice! So I was able to do the code you said in include then hooks but the left menu still shows the same page I don't know why Thank you 🙂
  6. I managed to make a redirection but finally not thanks to your code, but I finally found the file which allows to modify this menu. Only worries now it's the left menu the sidebar that I can't do
  7. Salvation ! Thank you very much for your answer, it's very nice. Once I've done that I link the .php file to the pages then ?
  8. Hello, I have a problem that I can't find the solution for several days unfortunately... I only want to change the menu, for now only change the "Network Status" page redirect For now it's the only thing I want to do, change the redirect if it's not possible then delete. Thank you all !
×
×
  • 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