CPC900 Posted October 4, 2012 Report Share Posted October 4, 2012 Just trying to edit my Front Schedule tpl, and I have forgotten where the list of aircraft is?! I remember adding all my aircraft types into a template, but for the life of me, I can't remember, or find it Quote Link to comment Share on other sites More sharing options...
CPC900 Posted October 4, 2012 Author Report Share Posted October 4, 2012 And by this, I mean, the dropdownmenu to select your aircraft type you want to search for.....where is that list of aircraft found? Hope that makes more sense. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 5, 2012 Moderators Report Share Posted October 5, 2012 airport_search.tpl and below is the code you're looking for: <tr> <td>Select An Aircraft Type</td> <td> <select class="search" name="aircraft"> <option value="">All</option> <?php foreach ($aircrafts as $aircraft) {echo '<option value="'.$aircraft->icao.'">'.$aircraft->icao.'</option>';} ?> </select> </td> </tr> 1 Quote Link to comment Share on other sites More sharing options...
CPC900 Posted October 5, 2012 Author Report Share Posted October 5, 2012 Parkho, thanks a million!! What was confusing me was that, I did not have changes under that section, so I was wondering why I had differences on mine. But I guess I had not updated that file since I last re-installed phpvms. Now I have it edited the way it was. Thanks again; just needed a nudge in the right direction! Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted October 6, 2012 Moderators Report Share Posted October 6, 2012 right on 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.