coryb12 Posted July 1, 2010 Report Posted July 1, 2010 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 Quote
Administrators simpilot Posted July 1, 2010 Administrators Report Posted July 1, 2010 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 Quote
coryb12 Posted July 1, 2010 Author Report Posted July 1, 2010 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. Quote
Administrators simpilot Posted July 1, 2010 Administrators Report Posted July 1, 2010 Doh! Line 79 then -> 'code' => $this->post->code, to 'code' => 'ABC', ABC being your airline prefix code. 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.