I’m working on the awards, I got them to show. The problem is they run on the same line. SO much that you have to scroll over to see them all. Is there a way to only show 4 per line?
Another problem. How do I show the images on the public profiles? All I see is the text.
I put mine into a table to show one per line, with the description of each award on the right hand side. Try the below to show the image…i think it is commented out on the actual code already.
Whilst on the subject of awards, would it be possible to have awards automatically added to pilots that have completed a certain amount of hours? It’s a little tedious adding awards manually for 180 pilots
I see when I click your link that you got this code to work. I am looking for the same thing. I need to be able to put my awards in a five across and then start a new row beneath five across then another row, etc.
I looked at the code here, but it is not working for me. Where can I find one of these loop codes and where exactly do I put it. I am a complete novice with all this code, so I pretty much have almost no understanding of how to make this work on my own.
I am in no hurry here and I really do appreciate all you guys have done for the virtual flight community. Take care and I look forward to any feedback.
Scott
Then you need to write some PHP code to loop, something like this:
$break = 5;
$i=0;
// This loop should already be there
foreach (…)
{