Jump to content

Recommended Posts

Posted

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!

  • Administrators
Posted

One of the video tutorials above goes over some of it. But, if you open those template files (frontpage_*.tpl), you'll see the code. It's just one line for most of those

  • Administrators
Posted

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); ?>

Posted

hmmm...I do have that code in, not sure why it isn't working.... and Nabeel, just a heads up, all 3 of the skinning tutorials are not showing up when I click on the links, looks like the videos are not there anymore or something

Posted

and Nabeel, just a heads up, all 3 of the skinning tutorials are not showing up when I click on the links, looks like the videos are not there anymore or something

Hi,

The videos are there as I'm watching them now.  Do you have the latest flash player installed?  The videos require flash to work.

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