|
Documentation
Specific how-tos:
Third-party tutorialsIf things still aren't making sense, try one of the following fabulous third-party tutorials |
► Sign in to add a comment
|
Search
|
|
Documentation
Specific how-tos:
Third-party tutorialsIf things still aren't making sense, try one of the following fabulous third-party tutorials |
Wow. Nice plugin. And your js proves how little I know of the subject. I want to change the layout of the days of the week from SMTWTFS to SSMTWTF, typical corporate work week format. I couldn't make heads or tails of the loops iterating over cell_index. Where do all of the foo.build objects come from? body_div seems to be the root origin for all of these in your code, but I can't find an origin for the body_div object. I've grepped all of your source, prototype's, and googled.
...the documentation for this really leaves some room for improvement.
xxdesmus: great point. would you care to help improve it?
If I could get it working (so I could then understand it a bit better) I'd be more than happy to contribute. I just can't even get it working yet though. I have a pop-up calendar so far, but I can't get the selected value to save to my variable. I'm using a form, and yes -- I'm new to RoR so I'm going to be a bit slow.
@xxdesmus: Since you are new to RoR, I recommend you download the demo at http://github.com/timcharper/calendar_date_select_demo and get it up and running in your local. It is currently running on Rails 2.2.2. I plan to upgrade it to run on a newer version after I resolve an issue.
Calendar does not pop up when in scrolled region.
The main window of my app has fixed height so the content scrolls in there. The according css is: #content {
}DateSelects? at the top of the content work find. But when content is scrolled down in browser (IE or FF) the calendar does not pop up (it looks as it has lost position).
How can I fix this?
BTW: I use the shape "blue".
Some additional information: I am afraid calendardateselect does something wrong: It creates
<div class="calendar_date_select" style="position: absolute; left: 611px; top: 1229px;">
ignoring the scrolled position of the content-div. Scrolling the content leaves the calendar at its absolute screen position and justs scrolls the content (and the the field calendar should hook at).
I have the same issue. The standard position is great in normal forms, but wherever they are inside scrolling divs it causes a problem. If there could be another option to always pop up the date picker next to the image would be really handy.
I can't seem to get this going in rails 3.0beta3
I've installed the gem and specified it in the Gemfile and restarted the server. The CalendarDateSelect constant is defined, but the helper methods are not available in the view, and the scripts/css have not been copied into /public.
Is this Just Not Gonna Work (tm), or am I Doing It Wrong (tm)?
jcattley, this is how I have it in my Gemfile, but I'm still having issues:
group :plugins do
endJCattley -- did you get this working as a gem? I have the same issue wherein I have all the helpers and such (I'm pretty sure), but the assets aren't copied over. No rake tasks are listed, etc.
I seem to be missing something. I get this error: ActionController?::RoutingError? (No route matches "/stylesheets/calendar_date_select.css" with {:method=>:get}):
This is in the head of my layout: <%= stylesheet_link_tag "calendar_date_select" %>
Similar error appears for Javascript.
Ideas?
This worked for me: http://technicaldebt.wetpaint.com/page/Calendar+Date+Select
Yep jonkernpa, this tutorial its very nice for people like me.
Regards
Here is how I got this plugin working in my rails3 app.
http://dugganroberts.com/articles/2010/10/01/calendar_date_select-rails3/
Hope this helps at least one person.
@drobsock: that helped me, and I'm one person.
Change ianli.org to ianli.com Correct http://ianli.com/site/HowTo/UseCalendarDateSelectRailsPlugin
i did gem install calendar_date_select, then in config/environments/development.rb i wrote config.gem "calendar_date_select"
now i'm always getting the error: undefined local variable or method `calendar_date_select_includes' for #<#<Class:0xa1de50c>:0xa1dc874>
I love this date picker. It was very easy to install, simple to customize, and looks nice. Thanks for making this available to the masses!