Jump to content

Skinning Help


coryb12

Recommended Posts

Ok, I am currently making a new skin for my VA, but I have almost no experience with php ect., and am wondering if anyone can give me a little breakdown of exactly how the php and js files are plugging in info like Recent Pireps ect. I have the php code on the homepage of the skin for plugging in the info, and Dreamweaver recognizes it and puts a php symbol where info from the php code will be plugged in, but haven't yet found out how to get that to work after a while of testing. Any help would be appreciated! Thanks!

Link to comment
Share on other sites

  • Administrators

They are all on the production frontpage_main.tpl file

for news

<?php  MainController::Run('News', 'ShowNewsFront', 5); ?>

for pireps

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

for new pilots

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

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