amcpilot Posted April 5, 2011 Report Share Posted April 5, 2011 Just wondering on the schedule briefing page is it possible to call the aircraft type. e.g. B744 etc.. If so does any body have it? thanks, Quote Link to comment Share on other sites More sharing options...
Jeff Posted April 5, 2011 Report Share Posted April 5, 2011 Just wondering on the schedule briefing page is it possible to call the aircraft type. e.g. B744 etc.. If so does any body have it? thanks, Try this: <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->type;?>) Quote Link to comment Share on other sites More sharing options...
Jeff Posted April 5, 2011 Report Share Posted April 5, 2011 oops, sorry that is for the schedule_results.tpl I'll get the right one in a sec. 1 Quote Link to comment Share on other sites More sharing options...
Jeff Posted April 5, 2011 Report Share Posted April 5, 2011 The current one is: <td width="50%" ><?php echo "{$schedule->aircraft}"; ?></td> I can't seem to get the correct code to get just the Type. 1 Quote Link to comment Share on other sites More sharing options...
amcpilot Posted April 5, 2011 Author Report Share Posted April 5, 2011 The current one is: <td width="50%" ><?php echo "{$schedule->aircraft}"; ?></td> I can't seem to get the correct code to get just the Type. yeah, I have tried all sorts with no luck Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 5, 2011 Report Share Posted April 5, 2011 Try $schedule->icao Quote Link to comment Share on other sites More sharing options...
Jeff Posted April 5, 2011 Report Share Posted April 5, 2011 I tried that one also, and it comes out blank. 1 Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 5, 2011 Report Share Posted April 5, 2011 hmmm... maybe I modified my SchedulesData file. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted April 5, 2011 Report Share Posted April 5, 2011 I think by default that is supposed to happen without calling anything special. Mine did. I then added the aircraft registration to it so now instead of just B747-400 it shows as B747-400 N689ME. And that is the exact aircraft that is scheduled for that flight of the briefing page being viewed. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted April 5, 2011 Report Share Posted April 5, 2011 Unless I read your post wrong and I am way the hell off topic. Which I believe I was. Quote Link to comment Share on other sites More sharing options...
amcpilot Posted April 5, 2011 Author Report Share Posted April 5, 2011 Try $schedule->icao no luck either Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 5, 2011 Report Share Posted April 5, 2011 I just looked at a clean version of the SchedulesData class and you will not get what you are looking for without modifying the findSchedules function. 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.