Jump to content

Marmus

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Marmus

  1. Bump.....did this ever get updated to work properly? (see post #11)
  2. Ahhhh, thanks!!! Damn, now I feel the fool...did not search first....wasn't sure what to search for, LOL! For reference, I found a list of xampp versions and version of php included: http://xampp.wikia.c...indows/Versions All old versions are available at SourceForge. I installed Xampp 1.7.7...the last version with PHP 5.3.x. Works perfectly. Thanks!
  3. PHP Version 5.4.16 I have also tried it on Xampp 1.8.4, which includes PHP 5.5.1....but get the same error.
  4. Hello all! I use Xampp on my local machine to help when I work on changes to the phpVMS files. (Xampp runs a local version of Apache and PHP so I can view the files on my local computer.) Once I am happy with the changes to file and everything works fine, I then upload to my web server for my live site. I have Xampp installed on several computers...and all have worked fine for the phpVMS system. But I recently installed Xampp and phpVMS on a new computer and now get this error at the top of the phpVMS pages: Strict Standards: Accessing static property Contact::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Contact::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Contact::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Contact::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Downloads::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Downloads::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Downloads::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Downloads::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Finances::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Finances::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Finances::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Finances::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property FrontBids::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property FrontBids::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property FrontBids::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property FrontBids::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Frontpage::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Frontpage::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Frontpage::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Frontpage::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property FrontSchedules::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property FrontSchedules::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property FrontSchedules::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property FrontSchedules::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property FSFK::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property FSFK::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property FSFK::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property FSFK::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property kACARS_Free::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property kACARS_Free::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property kACARS_Free::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property kACARS_Free::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Login::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Login::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Login::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Login::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Logout::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Logout::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Logout::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Logout::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property News::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property News::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property News::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property News::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Operations::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Operations::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Operations::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Operations::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Pages::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Pages::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Pages::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Pages::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Pilots::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Pilots::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Pilots::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Pilots::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property PIREPS::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property PIREPS::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property PIREPS::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property PIREPS::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Profile::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Profile::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Profile::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Profile::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property RealScheduleLite::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property RealScheduleLite::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property RealScheduleLite::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property RealScheduleLite::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Registration::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Registration::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Registration::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Registration::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Registration::$get as non static in C:\xampp\htdocs\cogva\core\modules\Registration\Registration.php on line 25 Strict Standards: Accessing static property Rfinder::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Rfinder::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Rfinder::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Rfinder::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property RouteMap::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property RouteMap::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property RouteMap::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property RouteMap::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property Schedules::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property Schedules::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property Schedules::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property Schedules::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property XML::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property XML::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property XML::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property XML::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 Strict Standards: Accessing static property ACARS::$post as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 67 Strict Standards: Accessing static property ACARS::$get as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 68 Strict Standards: Accessing static property ACARS::$controller as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 70 Strict Standards: Accessing static property ACARS::$activeModule as non static in C:\xampp\htdocs\cogva\core\classes\CodonModule.class.php on line 73 The site then displays properly below this long message and seems to work alright. Just curious if anybody knows the solution. Thanks!
  5. Any luck yet? I think I discovered a different method of providing sliding images, but not as elegant as the javascript method. I would really like to see the javascript method work.
  6. Parkho, Greeting! I have a similar question to the one quoted above....but I want to filter out the airlines that are not enabled. As it works right now, the airline listing pull down lists all airline....I have several that are currently disabled and do not want them to show up in this list. Any help would be greatly appreciated.
  7. This is an excellent skin, Thank You! I have one issue with bids when this skin is used. Here is an example of a test I did: If I use the default "crystal" skin....I go to pilot center, view schedules, then bid on a flight. I then go back to pilot center and select view my bids. The bid I just made appears and is listed correctly. But, if I use this "GOL2012" skin....I go to pilot center, view schedules, then bid on a flight. When I click on the "add to bid," I get sent to a screen that states "No route passed." I would assume some basic code function is not being loading into this template? Thanks. Edit - I did some searching....found one possible solution, but did not pan out....the path to javascript. (http://forum.phpvms....__fromsearch__1) but did not make a difference, still get error. I also looked into this possible solution (http://forum.phpvms....ved/#entry49472) ....but still no luck No idea where to go now....seems to be major issues when jquery is used with phpVMS....I honestly do not know much about JS or jquery...so at a loss. Edit 2 - I got the bids to work with this solution (http://forum.phpvms....d-new-tamplete/)... Moving <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> so it is right before the </head> tag. BUT...the photos no longer scroll across the screen and the text over the photos is in one long list. I use Firefox browser mostly, but also checked it with IE10.
  8. Thanks for the verification/agreement. Perhaps you should change the topic to [sOLVED].....though not sure that is a good, real solution, LOL! But apparently, it is more server side than phpVMS software side...so I would call it a solution!
  9. Just a side thought...could it be that I auto-retired if i did not log in for the defualt 90 days? Does the admin auto-retire? Would the admin still have access to admin panel if auto-retired? [EDIT] forget my above thought.....I copied my site and database to a new sub-domain address and now everything works fine. Something with my web host server must have cause the error. THANKS TO EVERYONE WHO GAVE INPUT AND SPENT TIME LOOKING INTO THIS PROBLEM!!]
  10. Thanks parkho! I sent you a PM. Sorry for the delay, I have been out of town on vacation for a bit! Cheers.
  11. Correct, it is still not working. I am the main admin/owner with no access. I have one other admin, but he cannot get in either, same error. Luckily we have auto-PIREP approval setup, so flights get recorded and displayed. We cannot do any administator type things, like approve new members! Everything else seems to be operating properly.
  12. Vangelis, Thanks! The issue came up all of a sudden without me editing anything in the site, it had been running smoothly for over 4 months without any changes having been made. Just weird. I may just backup the whole database and start again, then see if I can restore the database....but I know it will be a pain in the butt, LOL! Again, thanks for the rresponse.
  13. Thanks. Cookies cleared and also tried it on a new computer with no history...still has issue. I log in to website, the additional "Admin Center" menu item appears, I click it and then get page with error: "An Error Was Encountered Please login first" My site: http://www.fsfva.impedimentsofwar.org/ I assume I need to fix it on the backend. I have access to my MySQL datbases and FTP, but unsure what to modify to get it to work. Thanks. [edit] In MySQL database "phpvms_groups," there are two entries: groupid name permissions 1 Administrators 35651519 2 Active Pilots In database "phpvms_groupmembers" I am "pilotid" = "1" id groupid pilotid 1 2 1 2 1 1 Looks like I have access to both groups, so should be OK?
  14. Any solution to this.,...I have the exact same error. Just started. My webhosting company did just move my data to a new server, not sure how that would effect it....everything else on my other websites is working fine and they forwarded all info. ANy help would be appreciated. BTW - my phpVMS site has been up and running for about a year with no issues....until this, which just started.
  15. Regarding editing the table listing (see post above): OK. I tried to edit the table, but not following the code. I am sure it is as easy as the last one, but all these variables get me confused as to what the code is actually doing. Perhaps this portion is not referencing the same variable, so the airline "code" is not available. I tried inserting an "if" statement like the one you used, but nothing happens. I do not even get an error. Here is the base code (no revisions): <!--Start Table--> <?php $count = 10; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="725 px" border="1" bordercolor="#FFFFFF"> <thead> <tr align="center" valign="middle" bgcolor="#7D95AF"> <th>Flight #</th> <th>Departure</th> <th>Arrival</th> <th>Duration</th> <th>Pilot</th> <th>Landing Rate</th> <th>Aircraft</th> </tr> </thead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo "<tr>"; echo "<td align=center> $pirep->code $pirep->flightnum </td>"; echo "<td align=center> $pirep->depicao </td>"; echo "<td align=center> $pirep->arricao </td>"; echo "<td align=center> $pirep->flighttime </td>"; echo "<td align=center> $pilotid $pilotinfo->firstname $pilotinfo->lastname </td>"; echo "<td align=center> $pirep->landingrate </td>"; echo "<td align=center> $pirep->aircraft </td>"; echo "</tr>"; } } else { echo "<tr><td>There are no recent flights!</td></tr>"; } ?> </table> </td>
  16. OK, That was easy. And I see what you did. <?php $flights = PIREPData::getRecentReportsByCount(10); $string = ""; foreach($flights as $flight) { if($flight->code =="FSF") { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } } ?> Next step is to do the same with the table below the map.
  17. Thank You, Parviz! You were quick to answer! And I realized after posting that I may have not asked the question correctly and confused the issue a bit. What you provided is great...it will list last 10 flights within airline "ABC" for the individual pilot on the Pilot profile page. I meant to ask for code snippet to list last 10 flight on "ABC" airline for all pilots as it appears on the Frontpage (not by pilot). However, I will see if I can fudge the code to work based on what you provided. I gotta learn this sometime, LOL! Thanks again! Mark
  18. I posted this question in a older skinning thread, but the thread appears to be closed or at least does not show up on the "new posts list and no one may have seen my post. There is a great code snippet for adding the GC Maps to the site. thread: http://forum.phpvms.net/topic/8040-adding-map/page__hl__+great%20+circle#entry53587 The above thread lists code that will plot the last 10 flights on the main page and ALSO the last 10 flights by a pilot on the pilot's profile page. I would like to modify so that the last 10 flights by a particular airline are shown. My code snippet question: how to make only the flights from one airline appear? I assume you can use some form of OperationsData::getAirlineByCode or OperationsData::getAirlineByID....but I have yet to figure out how to use this to make it work. I have to admit, I do not fully understand the "classes" and "public functions" and how they work. Any help would be much appreciated.
  19. Flight Sim Fanatics is a group of like-minded pilots who like to fly and have fun. We do not have any strict rules, regulations, no minimum flight hours etc.....we just get together to fly casually. We fly any and all flight simulators. Our two most popular sims are FSX and DCS World. We just finished our Inaugural 2012 FSF Gumball Run Rally event flying across the United States using FSX from Martha's Vineyard, MA to Anchorage, Alaska. The event occurred over a 2 month period of time and included mandatory stops...our stops were KMVY - KGYY - KASE - KLAS - KHAF - KSEA - PANC We are about to start our next event, the FSF Flight Around the World. Our current plans is for the event to start in Denver, CO, USA with mandatory stops in London, Dubai, Hong Kong, Sydney, Tokyo, Anchorage then back to Denver. Route may get some additional cities. We utilize the phpVMS package to track flights. And are also currently preparing two casual VA's for regional service to the US Pacific Northwest and also London, England areas. If you are interested in some casual flying and good friendships, come visit us at http://www.flight-sim-fanatics.com
  20. This is a great code snipet! The code for front page is based on "getRecentReportsByCount" and list last 10 flights for all pilots. How would I modify to list last 10 flight by pilots within a specific airline? So that in the end I can make one map with "Last 10 flights by Airline A" and then "Last 10 Flights by Airline B" etc. It seems like it should be simple....I know the basics of PHP and can usually hack together code but I am having a hard time following all the variables and classes and how they work.
  21. Check this thread. It is the second portion of code on 2nd post of thread...works great on the pilot page http://forum.phpvms.net/topic/8040-adding-map/page__hl__+great%20+circle#entry53587
  22. Marmus

    New Pages

    It looks like I should keep the original pirep_new.tpl for my one form (FSX flights) and edit the pirep.php module to include the 2 new pages? (one page for the re-direct selection (FSX or DCS) then one for the 2nd pirep form.) Is editing the original modules recommended? or should I create a whole new module, using the default as a base file to build off of? (not sure of that will require multiple link changes elsewhere)
  23. Marmus

    New Pages

    Such a simple reply, yet eye opening! Thanks! I will figure out this type of php eventually!! I tend to get lost and confused within this 3 part system.
  24. Marmus

    New Pages

    My intent is to be able to click on the "File a new PIREP" link....have it take me to a page with only two buttons....."File a FSX Flight" and "File a DCS Flight." Each a link to a different PIREP form. I utilized David Clarke's great content module tutorial to create two new pages (tutorial: http://david-clark.n...content-module/). It appears that I used the tutorial correctly...my links are working, but the data stream seems to have been broken somewhere. Explanation: New pages are called "pirep_fsx.tpl" and "pirep_dcs.tpl" I created the new module, as directed in the tutorial....but I do not think it is the problem (I could be wrong) I replaced the data in the default "pirep_new.tpl" (using the skin folder) with this to create the page with just two button links: <h3>File a Flight Report</h3> <?php if(isset($message)) echo '<div id="error">'.$message.'</div>'; ?> </br> <form> <INPUT type="button" value="File a FSX Report" onclick="location.href='<?php echo url('/content/pirep_fsx');?>'" > </br></br> <INPUT type="button" value="File a DCS Report" onclick="location.href='<?php echo url('/content');?>'" > </form> </br> </br></br> The new module "content.php" <?php class Content extends CodonModule { function index() { $this->show('pirep_dcs'); } function pirep_fsx() { $this->show('pirep_fsx'); } } I then placed just some test text into the two new created files to make sure the links work. It all worked OK, so I believe that I followed the tutorial correctly. When I click on "File a New PIREP", it send me to my modified page (coded above), I then have two links to choose from...go to "File an FSX report" or "File a DCS Report." I click on each link, and it displays my test text. I then put real code into the pirep_fsx.tpl file....I placed the original contents of the pirep_new.tpl file. This is just the default manual PIREP form that came with the software. (The pirep_dcs.tpl still has dummy info in it, haven't gotten that far yet.) My problem, the new pirep_fsx.tpl form (that is just a copy of the original pirep_new.tpl form), does not work. I assume that my new "pass through" page has caused a loss of data/variables/etc. Any guidance would be appreciated. Thanks
×
×
  • Create New...