flyalaska Posted June 8, 2012 Report Share Posted June 8, 2012 I have a issue in my pilot list in the admin section. I can't seem to find where to edit the country flags. I found the template pilot list.tpl in the admin, no img to edit the size. I uploaded a larger country flag, so I can have bigger flag in the profiles. Any idea where to look? Quote Link to comment Share on other sites More sharing options...
tutmeister Posted June 8, 2012 Report Share Posted June 8, 2012 Line 359 of admin/modules/PilotAdmin/PilotAdmin.php has the following: $location = '<img src="'.Countries::getCountryImage($row->location).'" alt="'.$row->location.'" />'; So the flags are being pulled from the database, meaning you'd have to update each row in the database for the countries, or a simpler method would be to make a backup of the original flags and overwrite them with the newer ones, possibly adding a width and height to the above line if it breaks the table using the new ones. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted June 8, 2012 Author Report Share Posted June 8, 2012 Thank you! That worked!! 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.