Jump to content

lpf20011

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by lpf20011

  1. Yes did that swell. Stills get there was an error editing this aircraft message. There isn't another option I've missed?? Added the aircraft form.tpl to view below Cheers, Tim
  2. After altering OperationsData.class.php I get the error "There was an error editing this aircraft" Extract quoted below from .php file - I can't see any reason why it shouldn't work as its the same entry as the other fields. Also edited Operations.php in admin /modules /operations still not working. Cheers,
  3. I don't have the AircraftData.class.php in core/common/ . I'm guessing it will be in OperationsData.class.php Contains this extract - public static function addAircaft($data) { /*$data = array('icao'=>$this->post->icao, 'name'=>$this->post->name, 'fullname'=>$this->post->fullname, 'registration'=>$this->post->registration, 'downloadlink'=>$this->post->downloadlink, 'imagelink'=>$this->post->imagelink, 'range'=>$this->post->range, 'weight'=>$this->post->weight, 'cruise'=>$this->post->cruise, 'maxpax'=>$this->post->maxpax, 'maxcargo'=>$this->post->maxcargo, 'enabled'=>$this->post->enabled);*/
  4. Cool thanks for that. Tim
  5. Hello, I am looking for some help with phpvms - go figure right? Basically I want to add to each aircraft entry its ZFW and selcal. Ultimately I want to display a ZFW on a pilots bid but I want to walk before I can run. I tried to add selcal but I couldn't get it to update in the admin section or update. I could however get it to show in the aircraft list if I entered the field directly into the database via phpmyadmin. If anyone can point me in the direction of the files I need to alter to take this into account I would appreciate it. I have a local install for testing/building. I tried editing several different files - Operations.tpl it might have been but again couldn't get it to work. Cheers, Tim
×
×
  • Create New...