How to show aircraft in ACARS map page [SOLVED]

Want to add the aircraft being flown in the Live ACARS map page.

ACARS.PHP says variable     <%=flight.aircraftname%>            Gives the full name

So I added that in ACARS.PHP:

So I have

    <tr>
        <td><b>Pilot</b></td>
        <td><b>Flight Number</b></td>
        <td><b>Departure</b></td>
        <td><b>Arrival</b></td>
        <td><b>Aircraft</b></td>
        <td><b>Status</b></td>
        <td><b>Altitude</b></td>
        <td><b>Speed</b></td>
        <td><b>Distance/Time Remain</b></td>
    </tr>
for the table &

<script type=“text/html” id=“acars_map_row”>
<tr class=“<%=flight.trclass%>”>
<td><a href=“<?php echo url(‘/profile/view’);?>/<%=flight.pilotid%>”><%=flight.pilotid%> - <%=flight.pilotname%></a></td>
<td><?php echo “CF”?><%=flight.flightnum%></td>
<td><%=flight.depicao%></td>
<td><%=flight.arricao%></td>
<td><<%=flight.aircraftname%></td>
<td><%=flight.phasedetail%></td>
<td><%=flight.alt%></td>
<td><%=flight.gs%></td>
<td><%=flight.distremaining%> <?php echo Config::Get(‘UNITS’);?> / <%=flight.timeremaining%></td>
</tr>

All other variables show except aircraft name!

Using kAcars 1.0.1.5 & PHPVMS 5.5.2

Thanks in advance

 

16 minutes ago, CFVA said:

Want to add the aircraft being flown in the Live ACARS map page.

ACARS.PHP says variable     <%=flight.aircraftname%>            Gives the full name

So I added that in ACARS.PHP:

So I have

    <tr>
        <td><b>Pilot</b></td>
        <td><b>Flight Number</b></td>
        <td><b>Departure</b></td>
        <td><b>Arrival</b></td>
        <td><b>Aircraft</b></td>
        <td><b>Status</b></td>
        <td><b>Altitude</b></td>
        <td><b>Speed</b></td>
        <td><b>Distance/Time Remain</b></td>
    </tr>
for the table &

<script type=“text/html” id=“acars_map_row”>
<tr class=“<%=flight.trclass%>”>
<td><a href=“<?php echo url(‘/profile/view’);?>/<%=flight.pilotid%>”><%=flight.pilotid%> - <%=flight.pilotname%></a></td>
<td><?php echo “CF”?><%=flight.flightnum%></td>
<td><%=flight.depicao%></td>
<td><%=flight.arricao%></td>
<td><<%=flight.aircraftname%></td>
<td><%=flight.phasedetail%></td>
<td><%=flight.alt%></td>
<td><%=flight.gs%></td>
<td><%=flight.distremaining%> <?php echo Config::Get(‘UNITS’);?> / <%=flight.timeremaining%></td>
</tr>

All other variables show except aircraft name!

Using kAcars 1.0.1.5 & PHPVMS 5.5.2

Thanks in advance

 

Try changing this code from

<td><<%=flight.aircraftname%></td>

 

to <td><%=flight.aircraftname%></td>

there is “<” more

 

Thank you so much. I hadn’t even noticed the extra < in the line.

Works great now