Big Problems

When i add a very long route it breaks the table in the Schedules page check the attachment.

The other problem is the search engine when using “By Aircraft Type” it only finds one flight per type.

Plus i would like to have all the search boxes showing for better searches.

broketable.jpg

You’ll have to adjust the table CSS to fix that. Same with the search.To have them all showing, mess with the HTML in the schedule_searchform.tpl

As for the aircraft flight, that’s a known bug and been fixed in the next version.

OK Ive figured out the 1st problem, here is the fix.

schedule_results.tpl

[b]<td nowrap>[/b]
	<p><a href="<?php echo SITE_URL?>/index.php/schedules/details/<?php echo $route->id?>"><?php echo $route->code . $route->flightnum?> <?php echo $leg?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?></a>
	  <br />

	  <strong>Departure: </strong><?php echo $route->deptime;?>         <strong>Arrival: </strong><?php echo $route->arrtime;?><br />
	  <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>)  <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?>
	  <br />
  </p>
    <?php echo ($route->route=='')?'':'<strong>Route: </strong>'.$route->route.'<br />' ?> <?php echo ($route->notes=='')?'':'<strong>Notes: </strong>'.$route->notes.'<br />' ?> </td>

<td nowrap> should be <td wrap>

Yeah, wrap is good.

The aircraft, that’s a bug in the backend.

okies thanks

Ok, Go to the teplate files in /core/templates/ “schedule_results.tpl”.

On lines 30 and 40 search :

<td nowrap>

by

<td>

And that’s it…

I don’t know if this change will create some other issues… but still, corrects the problem !

PS: WOW, issue solved wile writing the post… lol