You can add this to it to show those (I believe this is correct…not tested)
AircraftFrequencyThen add this…
'.$aircraft->icao.''.$route->daysofweek.'
The .$aircraft-<icao. isn’t pulling up any data for me.
You can add this to it to show those (I believe this is correct…not tested)
AircraftFrequencyThen add this…
'.$aircraft->icao.''.$route->daysofweek.'
The .$aircraft-<icao. isn’t pulling up any data for me.
I have tried this but it doesn’t work
<td><a href="http://www.YOURWEBSITE.COM/index.php/schedules/brief/'.$route->id.'">'.$route->flightnum.'</a></td>
This should work. This makes the flightnumber itself a link to the routes. Not using the php echo for the current URL and actually hardcoding it in seems to work just fine. Obviously, make sure you change ‘YOURWEBSITE.COM’ to your actual url.
You’ll need to change it in two places, since the call is different whether it’s the first line for that depicao or not.
Anyone know how to iframe this? because the webpage isn’t showing it properly.. it just over Laps it..ObsessBlue Template…
Works Great! Thanks for sharing!
Any way of making it show a different table for each airline on your phpvms.
Neat!
The .$aircraft-<icao. isn’t pulling up any data for me.
Same here. Is there a workaround?
Anyone!?
tried
$aircraft->registration.
and still no joy.
Can you add days of the week the flight operates on?
its ok found it
Hello everyone and sorry for my english. Using the skin obsession, how to align the tables at the top for not having staggered? Thank you for a possible answer.
Hello everyone and sorry for my english. Using the skin obsession, how to align the tables at the top for not having staggered? Thank you for a possible answer.
THat is a bit on the tricky side with the template that you are using. You really need to tweak the addon as well as the template both. When I used that template, I had to alter everything to fit on the site. It is nice template, but time consuming. Ill see if I can dig up my old template and take a look at how I made it all fit in to mine.
THat is a bit on the tricky side with the template that you are using. You really need to tweak the addon as well as the template both. When I used that template, I had to alter everything to fit on the site. It is nice template, but time consuming. Ill see if I can dig up my old template and take a look at how I made it all fit in to mine.
Good morning, perhaps, thank you very much, greetings
Hi all,
I know this is an old thread, but I’m looking to get my VA up and running fairly soon - and the timetable sounds like a great idea.
Anyway, I’ve solved the problem people were mentioning. The main one displaying the ICAO of the aircraft on the timetable. Now I’m not sure if this is the “correct” way to do it, or if it can be done more efficiently, but it works!
Look for:
echo '</td><td>'.$route->arrtime.'</td></tr>';
And replace it with:
$query='SELECT * FROM '.TABLE_PREFIX.'aircraft WHERE id="'.$route->aircraft.'"';
$craft=DB::get_results($query);
foreach($craft as $aircraftinfo) echo '</td><td>'.$route->arrtime.'</td><td>'.$aircraftinfo->icao.'</td><td>'.Util::GetDaysCompact($route->daysofweek).'</td></tr>';
This also shows the days of the week as shorthand day names, rather than numbers. The only other thing I did to the timetable was to make it a little bigger, with the extra headings on, by amending the openChild function:
function openChild()
{
echo '<td><table width="500" border="1" rules="none">';
echo '<tr bgcolor=#7B0D0D align="center"><td><font color=#FFFFFF>Departure</td><td><font color=#FFFFFF>Flight</td><td><font color=#FFFFFF>Destination</td><td><font color=#FFFFFF>Dep Time</td><td><font color=#FFFFFF>Arr Time</td><td><font color=#FFFFFF>Aircraft</td><td><font color=#FFFFFF>Frequency</td></tr>';
}
Hopefully this helps someone out.
hello,
can its possible add full airport name on time table include country flag… see some example on screen.
thx
still how do you change the name table played around a little and still not changed