Daniel Posted December 11, 2010 Report Share Posted December 11, 2010 Could someone tell me how to display their flag next to their pilot id name. e.g. PAV052 Joe Smith thanks alot http://www.pashairvirtual.co.uk/index.php/Frontpage Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 11, 2010 Administrators Report Share Posted December 11, 2010 If you look in the pilots_list.tpl, you can see the code used there, you can use the same code, just use the proper variable for the pilot's ID Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 11, 2010 Author Report Share Posted December 11, 2010 ahh ok. I will try it out. Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 11, 2010 Author Report Share Posted December 11, 2010 ok, it's a bit confusing as in the header file there is this <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> and i don't understand where to put. <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> More help would be appreciated. thanks Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted December 12, 2010 Administrators Report Share Posted December 12, 2010 Look in the frontpage_recentpilots.tpl file. You would build that into the table there. 1 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 12, 2010 Author Report Share Posted December 12, 2010 ahh ok. Let me try it out 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.