Jump to content

Parkho

Moderators
  • Posts

    1381
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Parkho

  1. yes. But I'm gonna have to make one for you and it'll take some times.
  2. Okay! Open the FuelCalculator.tpl file. It's inside the templates folder, now look through and find the aircraft data there and see if you have all the aircrafts listed there in your fleet. Also make sure that FuelCalculator.data.class is in common folder.
  3. Try to make the folders manually and see if it works.
  4. Okay! How did you create the folders in module? Cause as you know it's case sensitive. I just downloaded the module and installed it on a test server and it works fine.
  5. Get rid of the "util::formatduration()" every where you see it in the results.tpl code.
  6. I think you can use phpvms not sure though.
  7. I know we've been attacked.
  8. There you go.
  9. That's right but I got the idea from it!
  10. Do you copy the entire code of fuelcalculator.tpl into your brief.tpl? if yes, make sure it's in the right place. What error do you get? Is it just that the aircraft doesn't show or are there any other error messages?
  11. I attached a new ZIP, so you get the module from the very first post on page 1.
  12. Yes there is. You could use the one i mixed up from the following link: http://forum.phpvms.net/topic/4498-flightbookingsystem/
  13. Ok try this: <option value="">-Select Aircraft-</option> <?php $aircrafts = FuelCalculatorData::findaircraft(); foreach ($aircrafts as $aircraft) { echo '<option value="'.$aircraft->name.'">'.$aircraft->name.'</option>'; } ?>
  14. It must be the foreach() tag. When you move it to somewhere else, it can't connect to read from DB. Open the fuelcalculator.tpl and go to line 23. Place the following in line 22 before the "<?php" tag: $aircrafts = FuelCalculatorData::findaircraft(); Let me know if it's fixed.
  15. I had the same thing before. I can't say it's an issue though. Clear your browser cache and it'll be fixed. You might be needed to enter your login data after the cache is cleared.
  16. Go back a few posts and download it from the post with red text color
  17. The way I did it was that I added the page via admin panel and then in the text area, I clicked on the source link and added my code there and it works great. Here is a link: http://alvandair.com/index.php/pages/flightboard/
  18. You're welcome.
  19. You're welcome.
  20. For people who're having problems downloading the module: Download here: Fuel Calculator
  21. For people who're having problems downloading the module: Download here: Route Finder
  22. Edit the corresponding .tpl, I think it's schedule_briefing. Just copy the content of rfinder.tpl and paste it in the right place.
  23. RouteFinder Here you can download it. Let me know if there is any problems.
  24. FuelCalculator Here you can download it. Let me know if there's any problems.
×
×
  • Create New...