piper338
-
Posts
152 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by piper338
-
-
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.
-
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?
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>
-
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.
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?
-
Nope, it's alreayd included, a newer version. Yes, that demo should work...
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.
-
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?
-
phpVMS uses jquery, it's included by default and uses it for many things including schedules. So to make it easy, I'd use jquery plugins
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 -->
-
You can use the one included with jquery-ui:
Ok thanks, I have mootools installed now for my login I gotta do some research I never got into the Java thing.
-
Looking good SimPilot!
-
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.
-
-
k if i started a new temp like single webpage with 3 pages and linked the system like resgiter, login, and everything.
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.
-
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.');
-
Thanks Im going with the second one http://dev.flyvva.org
Still not done any suggestions though?
-
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?
-
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?
-
Nice
-
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.
-
I live down here in Salado piper what about you? And it is just rainy and muggy here, working on my VMS to ;D
Salado.... sounds painful Im just north of DFW
-
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.
-
Oh yeah forgot to add my new love-- Miller High Life. Not a bad brew.
-
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
-
"Added an entrance exam function tied into registration"
I can't wait for this function!
-
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.
-
Hey, thanks for the avsim idea... lots of good info on there I think I might just try and do it myself now. Its been awhile since Ive painted a plane, but at least I can make it how I want it if I do it myself.. Also thanks to those of you that PM'd me
How to Format the Date
in Support Forum
Posted
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); ?>