Thomas Posted May 19, 2010 Report Share 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 Link to comment Share on other sites More sharing options...
Kairon Posted November 15, 2010 Report Share Posted November 15, 2010 Thanks!!!! Quote Link to comment Share on other sites More sharing options...
Thomas Posted December 2, 2010 Author Report Share Posted December 2, 2010 No Problems. Quote Link to comment Share on other sites More sharing options...
CPC900 Posted December 2, 2010 Report Share Posted December 2, 2010 Cool! Thanks. Quote Link to comment Share on other sites More sharing options...
Fly Star Alliance Posted December 13, 2010 Report Share 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 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.