RuiMiguel Posted November 10, 2017 Report Share Posted November 10, 2017 Hello I have a little problem, I want to show the Flown_routes_map in the main profile. Unfortunately this shows all the routes. I'm using this code <?php MainController::Run('RouteMap', 'index'); ?> Can someone help me? Thanks Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 12, 2017 Moderators Report Share Posted November 12, 2017 On 11/10/2017 at 6:54 PM, RuiMiguel said: Hello I have a little problem, I want to show the Flown_routes_map in the main profile. Unfortunately this shows all the routes. I'm using this code <?php MainController::Run('RouteMap', 'index'); ?> Can someone help me? Thanks In order to create a flight map for certain routes, you'll need to create a class function and give its value a variable (ex. route ID) and then use its fetched data in your map. If you don't have the knowledge to code that function, provide what certain routes you would like to show and I will code it for u. Cheers Quote Link to comment Share on other sites More sharing options...
RuiMiguel Posted November 12, 2017 Author Report Share Posted November 12, 2017 hello, thanks for your help but I think I've already found the solution. thanks Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 12, 2017 Moderators Report Share Posted November 12, 2017 27 minutes ago, RuiMiguel said: hello, thanks for your help but I think I've already found the solution. thanks Perfect! please mark your post as [SOLVED] in the title. Also, it would be best if you share how you resolved your issue for others. Quote Link to comment Share on other sites More sharing options...
flyalaska Posted November 12, 2017 Report Share Posted November 12, 2017 Can you share your results? So others may benefit. Quote Link to comment Share on other sites More sharing options...
RuiMiguel Posted November 13, 2017 Author Report Share Posted November 13, 2017 (edited) Yes, I share. <?php MainController::Run('Pireps', 'routesmap'); ?> Edited November 13, 2017 by RuiMiguel 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.