Jump to content

mh1ok

Members
  • Posts

    9
  • Joined

  • Last visited

mh1ok's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. great, that worked. thanks
  2. Hi, great module, installed it according to your instructions but I got a problem. When I go to the Admin Center --> Addons --> ChartsAdmin, I see all the airports in the list. When I click on any of the airports I get the following error: An Error Was Encountered The module "VIEWCHARTS" doesn't exist! what went wrong? am i missing the VIEWCHARTS module? If so, where can I get it? Thanks
  3. same here, is there a way to have the sidebar appear on some pages and not on all pages using a php check code? ex: if(!FrontPage){//show the sidebar}
  4. mh1ok

    Obsess Blue

    I downloaded this template and am having some problems with it. I didn't modify anything and left it as-is. But there are missing visuals all over the page. I uploaded a screenshot here. The top navigation bar has all white in between where it should be black and on the left sidebar the menu bars are missing their blue color. What could have been wrong?
  5. Anyone? I thought it was just using different CSS files, but PHPVMS doesn't make it that easy and uses, .tpl files with one layout file acting as a css...so something about having two layout.tpl? But how would the system recognize it? Maybe the developer of phpVMS can answer that.
  6. I am building a site for a VA and I have a template with the CSS file but I am not sure how to implement this into PHPVMS. Can anyone point me in the right direction? I don't have much experience in CSS and how to put this into the .tpl files..
  7. mh1ok

    Getting data

    Hey, Tom, thanks for your suggestion. That works too. I'll use your since its shorter than mines hehe
  8. mh1ok

    Getting data

    Nevermind, I found my solution and fixed it. After fumbling around a little bit more I had to just run a foreach loop. Here is what I did if anyone else runs into the same: $pilotid = Auth::$userinfo->pilotid; $result2 = "SELECT phpvms_pilots.passed FROM phpvms_pilots WHERE pilotid=$pilotid"; foreach(DB::get_results($result2) as $tests) { $info = $tests->passed; } $info now holds 0 or 1. Problem SOLVED
  9. Hi, I am trying to get a data from one of the columns in the database. Installed PHPVMS, everything went fine. I added another column to the phpvms_pilots called "Passed" for exams. It is set at 0 or 1. How can i get that data from the database? I have tried the following (pilotid=2 is just example I set it to Auth::$userinfo->pilotid which should get any pilot but same problem): $result = "SELECT phpvms_pilots.Passed FROM phpvms_pilots WHERE pilotid=2"; $info = DB::get_results($result); Shouldn't $info now hold 0 or 1? Or am I doing something wrong?
×
×
  • Create New...