Jump to content

How to have newest pilots side bar show the corresponding flag? [SOLVED]


jacobmatthew

Recommended Posts

Hi, Id like to have the newest pilots list section show the flag of the pilots country. I assume that Im supposed to edit a file in the core/templates, but Im not quite sure. Id also like to add a youtube video in the font page, but am not sure where to begin. Im very young, and not very experienced with this kind of stuff so any help would be appreciated, thanks! Heres the website.

Edited by jacobmatthew
Link to comment
Share on other sites

you may add the video in the frontpage_main file within the core templates folder where you like within the template file occardingly where you would like the video to show. 

use the call below within the php tags to pull the country image for the pilot

echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />';

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...