Mark J Posted August 28, 2011 Report Share Posted August 28, 2011 is there a code that allows you to put the pilots hub next to their name in the pilot roster without sorting the roster by hubs? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted August 28, 2011 Report Share Posted August 28, 2011 <?php echo $userinfo->hub ?> Quote Link to comment Share on other sites More sharing options...
Mark J Posted September 1, 2011 Author Report Share Posted September 1, 2011 <?php echo $userinfo->hub ?> I tried that and it didnt work... but i played around with it and this code worked like a charm! thanks! <?php echo $pilot->hub?> Quote Link to comment Share on other sites More sharing options...
ms626 Posted January 13, 2016 Report Share Posted January 13, 2016 Sorry for asking, but I have no idea where to put this code to work. Regards, Marek Quote Link to comment Share on other sites More sharing options...
web541 Posted January 13, 2016 Report Share Posted January 13, 2016 If you want to sort by Pilot ID, then check out this post http://forum.phpvms.net/topic/4736-can-i-have-a-clean-code-of-the-pilot-roster-with-no-hubs/ Just copy that code and replace everything in your core/modules/Pilots/Pilots.php 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.