Daniel Posted December 11, 2010 Report 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
Administrators Nabeel Posted December 11, 2010 Administrators Report 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
Daniel Posted December 11, 2010 Author Report Posted December 11, 2010 ahh ok. I will try it out. Quote
Daniel Posted December 11, 2010 Author Report 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
Administrators simpilot Posted December 12, 2010 Administrators Report Posted December 12, 2010 Look in the frontpage_recentpilots.tpl file. You would build that into the table there. 1 Quote
Daniel Posted December 12, 2010 Author Report Posted December 12, 2010 ahh ok. Let me try it out Quote
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.