KenG Posted November 1, 2015 Report Posted November 1, 2015 Ok, I know stupid question, but my knowledge of php is well severly lacking in all areas. I want to call a module onto my front page to replace the default ACARS map in the Oceans Blue v2 skin. I know the section of code I need to replace is here: <h3 class="t">Live Flight Tracker</h3></div> <p style="color: rgb(46, 59, 62);"> <?php Template::Show('acarsmap.php'); ?></p> The module I want to call is Airlinemap which is in my core / modules folder. I know this is simple, but I am failing. When the last computer language you studied was Pascal in 1991, well I'm out of my league and dated. Thank you. Quote
Moderators Parkho Posted November 1, 2015 Moderators Report Posted November 1, 2015 Try this: <?php MainController::Run('Airlinemap', 'YourTemplateName', 5); // 5 is number of records to be sgown ?> Quote
KenG Posted November 1, 2015 Author Report Posted November 1, 2015 Parkho, Thank you. That is exactly what I needed to get it working. v/r -Ken 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.