edmundk Posted April 20, 2014 Report Share Posted April 20, 2014 So i want to show the pilots custom flight map in the pilot center. How would i go about displaying that template in there? Thanks. Quote Link to comment Share on other sites More sharing options...
magicflyer Posted April 20, 2014 Report Share Posted April 20, 2014 If the custom flight map is a module somewhere in phpvms, call it with the following code: <?php MainController::Run('MODULE NAME', 'METHOD NAME'); ?> So, if you're calling the pireps.routes map module, you'll be using: <?php MainController::Run('pireps', 'routesmap'); ?> Make sure it is set to the appropriate size in the routesmap.tpl file, so that it'll fit in correctly. Quote Link to comment Share on other sites More sharing options...
edmundk Posted April 21, 2014 Author Report Share Posted April 21, 2014 Thanks, I will try that! 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.