Thomas Posted May 19, 2010 Report Posted May 19, 2010 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. Quote
Fly Star Alliance Posted December 13, 2010 Report Posted December 13, 2010 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 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.