TennShadow Posted June 4, 2015 Report 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
Members Vangelis Posted June 4, 2015 Members Report 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
TennShadow Posted June 5, 2015 Author Report Posted June 5, 2015 Thank you - just what I needed! Quote
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.