Jump to content

Aaron

Members
  • Posts

    184
  • Joined

  • Last visited

Everything posted by Aaron

  1. Ah, that sucks just a bit... I guest for the ones with multiple th's I'll just put it a background
  2. That shifts all the other <th>'s over. I need it specifically for my pilot list. See it at: http://www.canforce.org/index.php/pilots
  3. 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)
  4. I'll check it out thanks
  5. Fixed it. Added this right before the end of the container div: <br clear="all" />
  6. If I get rid of the "float: left" it works
  7. 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; }
  8. 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.
  9. Perfect, I used the first one because the second one has to have one of the accordions open all the time. It works, just have to style it and put in links. Thanks
  10. Thankyou both very much, I took a quick look at the links and I'll give it a try later tonight when I got more time. I'll let you know how it turns out
  11. 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)
  12. Aaron

    Navbar

    fixed it, added this #topNav ul li.border { border-left: 1px solid white; } and added the <li class="border"> in the .tpl
  13. Aaron

    Navbar

    It's pretty much like I want it except I want each link to be 123px wide (aligned left) and a 1px white stip on the left side of all of them except the first one. It's pretty much gonna look like this site when it's done: http://www.rcaf-arc.forces.gc.ca/v2/index-eng.asp
  14. Aaron

    Navbar

    thank you very much. it worked
  15. Aaron

    Navbar

    See the navbar problem at http://www.canforce.org
  16. Aaron

    Navbar

    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>
  17. Found it in local.config.php and it worked
  18. 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.
  19. It worked thank you very much
  20. I putting it in core->classes->RegistrationData.class.php and within that file I put it at the very bottom of the function "AddUser"
  21. 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);
  22. 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?
  23. It worked. I kept having pilots signup with fake, inapropriate names and it showing up. Glad to see that fixed
  24. 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...