Colin Posted July 24, 2012 Report Share Posted July 24, 2012 Quick question, how do I add the aircraft type to the acars map bubble and the table underneath ? As always any help appreciated Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted July 24, 2012 Moderators Report Share Posted July 24, 2012 acarsmap.tpl would be where you should look at... For the Table, I'm not sure which one though you want... <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name This is something you wanted to add to the ACARS Map Bubble (Around Line 115-125) <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Aircraft: </strong><%=flight.aircraftname%><br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script> Cheers! Quote Link to comment Share on other sites More sharing options...
Colin Posted July 24, 2012 Author Report Share Posted July 24, 2012 Excellent thanks very much Kyle your a star mate ! Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted July 24, 2012 Moderators Report Share Posted July 24, 2012 Not a problem! 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.