Jump to content

Aaron

Members
  • Posts

    184
  • Joined

  • Last visited

Posts posted by Aaron

  1. I want a background to go across my whole header, but there are multiple th's. I noticed there's a thead, is there any way I can make an image in the thead? The height is set right for the image, but the width is gonna be 100% of the width of the header (it will change)

  2. In my CSS for my website, the backround is blue and there is a white container thing that is supposed to have all the content in it. It was working then I changed a diferent div and it's not working now, the white is only around the banner. See it at http://www.canforce.org .

    container

    #container
    {
    margin-left:auto;
    margin-right:auto;
    margin-top: 0px;
    margin-bottom: 0px;
    width:760px;
    background-color: #FFF;
    padding:10px;
    }
    

    Code that I changed. I hadn't changed anything in the tpl, but if I completely delete the stuff inside the div, then the container will work

    #body
    {
    float: left; width: 405px; padding-left: 10px;
    }
    

  3. Does anybody know of a way to customize the live map and put a different map in the background instead of that one. I'd just like it to have a more unique look and maybe even put the google satelite map or something similar in the back instead.

  4. I'm completely redesigning my website, I want a sidemenu with a submenu that expands when clicked. I know how to make the submenu in HTML and I know the basics of CSS, but I have no clue how to do this javascript stuff. Can someone please help me out. I want it to look exactly like the original canforce site,

    see their left sidebar: http://www.rcaf-arc.forces.gc.ca/v2/index-eng.asp

    and my progress (sidebar not there, failed at it): www.canforce.org

    (also we're not stealing their banner, it there temporarily until our EC finishes ours)

  5. I'm having a problem with my navbar. the words are extended out the bottom of the actual navbar in my new theme. I started the CSS from scratch, he're's the navbar stuff from the CSS and layout .tpl

    CSS

     
    #topNav { background: black; backround font-size: 12px; width: 760px; margin: 0; height: 20px; border: none;}
    #topNav ul { margin: 0; padding: 0; list-style: none; margin: 0; }
    #topNav ul li { height: 20px; float: left; padding: 0px; font: bold 12px/37px Arial, Helvetica, sans-serif; }
    #topNav ul li a { padding: 0 9px; height: 20px; float: left; text-decoration: none; display: block; color: #FFFFFF; font: 14px/37px Arial, Helvetica, sans-serif; }
    

    .tpl

     
    <div id="topNav">
     <ul>
      <?php
      Template::Show('core_navigation.tpl');
      ?>
     </ul>
    
    

  6. I want to change the name of my database from canforce_phpvmsinstall to just canforce_phpvms. I know how to do this in mySQL, but where do I change it in phpVMS. I don't wanna change it until I know for sure that my site wont be down for awhile.

  7. I put this in the RegistrationData.class.php as the last thing to run when a user submits their registration (bottom of AddUser function) and it doesn't work I'm trying to figure out why. Note: used $sql2 to avoid using variable twice

     
    $sql2 = "INSERT INTO ".TABLE_PREFIX."schedules (code, flightnum, deptime, arrtime, daysofweek, price, flighttype, enabled)
       VALUES ('CFC', $pilotid, '00:00', '00:00', '0123456', '0', 'P', '1')";
    
    DB::query($sql2);
    

  8. Hello, my VA is completely charter flights (military VA), what I have is a booking system that updates the schedules where the flightnum is the pid. Instead of manually adding these routes in for every pilot that registers, I want to have it add a row in the schedules during registration that sets the flightnum to the pid and leaves everything else blank. I know the code to add a row, I just don't know where I should put it and in which file. I took a crack at it before March break and it didn't seem to work. Any ideas?

  9. I think u can if you go in the .tpl file and you can add the dropdowns and give them values, then go to the .php file for it and somewhere there will be an action to send it default to the admins email, it should be a variable there by default, change that variable so it posts the email of the person you want to send to.

×
×
  • Create New...