Jump to content

Skinning | How to make Recent PIREPS/New Pilots only appear on home page


AFVA | Mitchell

Recommended Posts

G'day everyone,

I am skinning a new website using phpVMS. Everything is working except when I put in the code to try and make the Recent PIREPs and New pilots appear only on the home page I get a bunch of errors. Can someone simply tell me the code I have to put in?

Here is the code that I have, tell me where to put the PHP codes please.

    <div class="middle_left">
    	   	   
    	<h3>Recent Reports</h3>


<?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?>

<h3>Newest Pilots</h3>

<?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>


    </div>

Help would be greatly appreciated! (Been spending three hours skinning ;) )

Mitchell Williamson

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...