Jump to content

piper338

Members
  • Posts

    152
  • Joined

  • Last visited

Everything posted by piper338

  1. Yup that worked thanks! Chad C.
  2. Ok, I tried the following and it returns 12/31/1969 this is the right format but the wrong date... I'll keep trying. <?php echo date('m/d/Y', $userinfo->joindate); ?>
  3. Howdy again, I am trying to use echo $userinfo->joindate in my pilot center is returns a result like... 2010-02-10 23:15:50 How can I format it to return 2/10/2010? Thanks, Chad C.
  4. Ok I think I figured away around it I used the from-to script Not sure if this is a good way to do it, but it works. Sometimes I just need to talk to myself on these forms to get through my problems lol <script type="text/javascript"> $(function() { var dates = $('#from, #to').datepicker({ defaultDate: "+1w", changeMonth: true, numberOfMonths: 1, onSelect: function(selectedDate) { var option = this.id == "from" ? "minDate" : "maxDate"; var instance = $(this).data("datepicker"); var date = $.datepicker.parseDate(instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings); dates.not(this).datepicker("option", option, date); } }); }); </script>
  5. What would be the solution for having more than one input that needs a date picker? <input type="text" id="datepicker"> is there a way to use a class rather than an ID?
  6. Ok, thanks I think I got it figured out now. In my header.tpl I was trying to call an older Jquery that I had installed, I took all the old stuff out of my header and it works now. Just gotta work on the css.
  7. Ok so I am trying to figure this out I went to the javascript.tpl and saw <script src="lib/js/jquery-1.2.pack.js"></script> in lib/js there is no 1.2.pack should it be there?
  8. Pardon my ignorance but if it's already installed do I just need to add the code where I want it? EX. <script type="text/javascript"> $(function() { $("#datepicker").datepicker(); }); </script> <div class="demo"> <p>Date: <input id="datepicker" type="text"></p> </div><!-- End demo --> <div style="display: none;" class="demo-description"> <p>The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p> </div><!-- End demo-description -->
  9. Ok thanks, I have mootools installed now for my login I gotta do some research I never got into the Java thing.
  10. Looking good SimPilot!
  11. piper338

    Pilot Center

    I was wondering if anyone has made any major changes to their VA's pilot center? If so could you post screen shots, I'm trying to gather ideas. Thanks, Chad C.
  12. Could someone help me get my date picker working? http://dev.flyvva.org Thanks, Chad C.
  13. piper338

    PHPVMS in HTML?

    I don't think you understand quite how phpvms works, all of your "html" should be in a template folder.. lib/skins/your_skin then you activate it from within the admin center. What you might do is design your website as one HTML page if that makes it easy for you then cut it up into your HEADER/CONTENT AREA/ and FOOTER there is a few tutorials on how to do this also the documentation is good. I'm new to the programming world here is what I am working on http://dev.flyvva.org most of it is basic "HTML" I have added some JAVA and I prefer external CSS style sheet.
  14. Anyway to have the Config::Set call templates? Really need an admin login when in MX mode. # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE_MODE', false); Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');
  15. piper338

    Which one?

    Thanks Im going with the second one http://dev.flyvva.org Still not done any suggestions though?
  16. Anyone still fly the PSS 757? Personally I merged it with the New QW757 its awesome! One problem. I am missing a lot of SIDs/STARs with the most current AIRAC 1002 anyone have the same issue?
  17. Hey guys... recently I have been asked to make about 4 non FS related websites... Rather than start from scratch I plan on just using a CMS and skinning it. What is your favorite CMS? Pros/Cons Personally I like WordPress, but I am interested in trying new stuff. Anyone use eZ Publish?
  18. I still fly... not as much as I used to. Kind of taking a forced break from flying due to the economy.. all I'm doing right now is Flight Instructing on the weekends. I hope to get back into the Dash 8 again soon though.
  19. Salado.... sounds painful Im just north of DFW
  20. Sorry-- I like this topic TAV1702 where do you DJ? That is something I might want to get into... I have home studio that I recently put together I used to do a few live music shows.
  21. Oh yeah forgot to add my new love-- Miller High Life. Not a bad brew.
  22. I'm in Texas supposed to snow tomorrow I hope so, got off work about 3:00pm played a bit guitar (Hard to keep in tune in this weather) Now messing around in visual studio trying to make a fleet installer. The at some point tonight I gotta work on my DEV site. My best work comes around 12am-4am cst lol
  23. "Added an entrance exam function tied into registration" I can't wait for this function!
  24. I don't really understand the question, but I suggest you don't edit the crystal skin make a copy of it and rename it and go from there. Also check out the following links. http://docs.phpvms.net/skinning#creating_skins http://www.phpvms.net/tutorials Good Luck! Chad C.
×
×
  • Create New...