Thought I would share this with you guys so that you dont have to put a support topic saying that the METARS dont work
Departure:
<iframe src="http://www.vatsim.net/data/metar.php?id=<?php echo $schedule->depicao; ?>" class="metar" width="350" height="75" frameborder="0" scrolling="no"></iframe>
Arrival:
<iframe src="http://www.vatsim.net/data/metar.php?id=<?php echo $schedule->arricao; ?>" class="metar" width="350" height="75" frameborder="0" scrolling="no"></iframe>
Change it in the Schedule_brief.tpl
-Thomas.
Hi guys, thought I introduce a little variation for all of you that work their schedules with IATA codes since I found out that the above format doesn’t work with them.
In that case, instead of using the code above, you can use this one:
For Departure
<a href="http://www.wunderground.com/Aviation/index.html?query=<?php echo $schedule->depicao; ?>" target="_blank">Departure METAR Details</a><br />
For Arrival
<a href="http://www.wunderground.com/Aviation/index.html?query=<?php echo $schedule->arricao; ?>" target="_blank">Arrival METAR Details</a><br />
Now, this will work, but, since I’m really far away from knowing what I’m doing, if you have a better solution to make the IATA codes work within the <iframe> please post it.
Thank a bunch.
Will