coryb12 Posted December 20, 2009 Report Posted December 20, 2009 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! Quote
Administrators simpilot Posted December 20, 2009 Administrators Report Posted December 20, 2009 Can you post the piece of code you are trying to use, I will take a look Quote
coryb12 Posted December 20, 2009 Author Report Posted December 20, 2009 Well, I'm not really trying to modify code to work, I just want to know what code I need for it toretreive the latest news, pireps, and pilots. Thanks! Quote
Administrators Nabeel Posted December 20, 2009 Administrators Report Posted December 20, 2009 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 Quote
Administrators simpilot Posted December 20, 2009 Administrators Report Posted December 20, 2009 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); ?> Quote
coryb12 Posted December 20, 2009 Author Report Posted December 20, 2009 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 Quote
TennShadow Posted December 20, 2009 Report Posted December 20, 2009 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. Quote
coryb12 Posted December 20, 2009 Author Report Posted December 20, 2009 oh yes, looks like it doesn't work with IE8, but it does work with Google Chrome, watching them now 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.