alyousafi Posted December 8, 2016 Report Share Posted December 8, 2016 Hey I am working for CodeShare flight module for my virtual it seems to me everything is work and i can book a flight but should first to add the flight to the system. this is my virtual website http://www.omanair-va.org/ --- and this is direct link for codeshare http://www.omanair-va.org/index.php/Codeshare what i want to do , when someone book a flight it will move him to schedules booking page to display information of the flight but i want to separate the normal flight with codeshare flight in other word , i want to create a new tpl file for example schedule_boarding_pass.tpl schedule_briefing.tpl to display different design for code share flight. now it show to old design for normal flight. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 9, 2016 Moderators Report Share Posted December 9, 2016 (edited) Hey I am working for CodeShare flight module for my virtual it seems to me everything is work and i can book a flight but should first to add the flight to the system. this is my virtual website http://www.omanair-va.org/ --- and this is direct link for codeshare http://www.omanair-va.org/index.php/Codeshare what i want to do , when someone book a flight it will move him to schedules booking page to display information of the flight but i want to separate the normal flight with codeshare flight in other word , i want to create a new tpl file for example schedule_boarding_pass.tpl schedule_briefing.tpl to display different design for code share flight. now it show to old design for normal flight. You'll need to rewrite the whole thing for schedules in separate tpl but at the end when bidding it will use the default function to do so and I wouldn't suggest you change any core files in the system. Edited December 9, 2016 by Parkho Quote Link to comment Share on other sites More sharing options...
alyousafi Posted December 10, 2016 Author Report Share Posted December 10, 2016 You'll need to rewrite the whole thing for schedules in separate tpl but at the end when bidding it will use the default function to do so and I wouldn't suggest you change any core files in the system. i do it what you say , and when you book flight will be as Normal flight . Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 10, 2016 Moderators Report Share Posted December 10, 2016 i do it what you say , and when you book flight will be as Normal flight . What do you mean "will be as normal flight"? When you bid on a schedule the module will use "schedule_bids.php" to show you have bidded on a flight. Please clarify exactly what you have in mind. Quote Link to comment Share on other sites More sharing options...
alyousafi Posted December 11, 2016 Author Report Share Posted December 11, 2016 What do you mean "will be as normal flight"? When you bid on a schedule the module will use "schedule_bids.php" to show you have bidded on a flight. Please clarify exactly what you have in mind. Thank you my dear friend , what i mean when pilot want to book flight , everything well be done and he can review his booking as usual. i am install codeshare module that available here in phpvms fourm i am added the codeshare flight and it appear in the module but when book flight it will move to schedule_bids.tpl same as other flight here what i want to do i want to make [exapmle] schedule_bids_codeshare.tpl just for codeshare flight and will give chance to redesign this page for codeshare only. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted December 11, 2016 Moderators Report Share Posted December 11, 2016 (edited) Thank you my dear friend , what i mean when pilot want to book flight , everything well be done and he can review his booking as usual. i am install codeshare module that available here in phpvms fourm i am added the codeshare flight and it appear in the module but when book flight it will move to schedule_bids.tpl same as other flight here what i want to do i want to make [exapmle] schedule_bids_codeshare.tpl just for codeshare flight and will give chance to redesign this page for codeshare only. The CodeShare you use, where did you get it from? I know for sure my FBSV1.1 module will direct the user to view "schedule_bids.tpl" after bidding but the default dispatch doesn't do that. Edited December 11, 2016 by Parkho Quote Link to comment Share on other sites More sharing options...
alyousafi Posted December 12, 2016 Author Report Share Posted December 12, 2016 The CodeShare you use, where did you get it from? I know for sure my FBSV1.1 module will direct the user to view "schedule_bids.tpl" after bidding but the default dispatch doesn't do that. Thanks , see here http://forum.phpvms.net/topic/9118-codeshare-module-v13/ from above link i downloaded the codeshare module 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.