plusplushosting Posted March 2, 2021 Share Posted March 2, 2021 Hi there, I have a hook like with a side bar construction like... if (!is_null($servicesSidebar->getChild('Login to Webmail'))){ $servicesSidebar->getChild('Login to Webmail')->setIcon('fa-ticket ls ls-user'); } if (!is_null($servicesSidebar->getChild('Change Password'))){ $servicesSidebar->getChild('Change Password')->setIcon('fa-ticket ls ls-padlock'); } Is there any way to know the order whmcs is using for these items and also a way to change the order on them? Thanx in advance! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 2, 2021 Share Posted March 2, 2021 Just now, plusplushosting said: Is there any way to know the order whmcs is using for these items if you had to you could get the value for a child with a hook. 4 minutes ago, plusplushosting said: and also a way to change the order on them? by using ->setOrder(x) where x is a number... I seem to recall the sidebar order values go up in tens, so a quick experimentation of testing various values will move them where you want... e.g the lower the order number value, the higher in the sidebar the child should be shown. 0 Quote Link to comment Share on other sites More sharing options...
plusplushosting Posted March 2, 2021 Author Share Posted March 2, 2021 you are around again 🙂 ? Go get some vacations man! Thanx bro. Got it working. Im sending you my kidney in a box 🙂 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 2, 2021 Share Posted March 2, 2021 28 minutes ago, plusplushosting said: Go get some vacations man! if it helps, I won't be here tomorrow (Wednesday) - you're on your own! 😲 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.