Jump to content

Showing Modules


Conor

Recommended Posts

Im trying to figure out how to show modules on a page and i dont know how for example i want to put the RouteMap on a page what do i need and where do i put it?

Thanks

Try this for the routemap (by routemap do you mean show how the flights by a pilot?):

<?php MainController::Run('RouteMap', 'index'); ?>

Put it wherever you want it to appear.

The Template for this is:

<?php MainController::Run('ModuleName', 'function name'); ?>

Module Name -> duh, the module name

Function Name -> Usually you would put index but if it is for example your want to view schedules on a page you would do this:

<?php MainController::Run('Schedules', 'View'); ?>

Its the URL broken down so for example: Viewing schedules is www.yoursite.com/index.php/schedules/view

Hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...