Jump to content

Disable Airline Selection in Registration


coryb12

Recommended Posts

Hi all, I have searched this forum but have found nothing. I would like to disable the airline selection on the registration form so that pilots can;t select which airline to apply for, and have it default to one. I know I will need to mod the registration_mainform.tpl and registration.php, but I am not sure hat to change. Can anyone help me with this?

Thanks,

Cory

Link to comment
Share on other sites

  • Administrators

Remove the selection from your tpl file and in registration.php file find line 81 ->

'hub' => $this->post->hub,

and change it to ->

'hub' => 'ICAO',

using the icao of the hub you want them to be assigned to. ie - KJFK etc

Link to comment
Share on other sites

Remove the selection from your tpl file and in registration.php file find line 81 ->

'hub' => $this->post->hub,

and change it to ->

'hub' => 'ICAO',

using the icao of the hub you want them to be assigned to. ie - KJFK etc

Thanks for the wuick reply, but I was looking to disable the airline selection, not hub selection.

Link to comment
Share on other sites

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...