TennShadow Posted June 4, 2015 Report Share Posted June 4, 2015 I have two sub airlines that I would prefer not to show up on the registration page. Is there a way to not have them show up when a pilot registers and have all pilots assigned to the main airline? I searched and was not successful finding what I'm looking for. Thanks in advance for you help! Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 4, 2015 Members Report Share Posted June 4, 2015 in core/templates/registration_mainform.tpl around line 31 is this pice of code <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> you can alter it to <dd> <input type="hidden" name="code" value="InsertYour3letterVaCOde" /> </dd> By this the input box will be hidden and the value will be always the same Quote Link to comment Share on other sites More sharing options...
TennShadow Posted June 5, 2015 Author Report Share Posted June 5, 2015 Thank you - just what I needed! 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.