Jump to content

Recommended Posts

Posted

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 :(

Posted

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.

  • Moderators
Posted

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>

  • Like 1
Posted

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...