edmundk Posted April 20, 2014 Report 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
magicflyer Posted April 20, 2014 Report 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
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.