Re: Need Help With Datebock plugin

dlo
Fri, 23 Mar 2007 23:09:31 -0000

Nathaniel,

Thanks for getting back so quick.  I appreciate a lot.  I still don''t
see the control.  I''m using Firefox.  Followed the instructions once
again.  I tried changing an app that once was developed with rails
1.1.6.  Could that be a problem since now I''m using  Rails 1.2.3 &
Engines 1.2?  Lastly I don''t know what else I could show you.  Here is
the line of code in my partial form again.

      <%= toolbocks_date_select ''table_rate'',
''start_date'', { :format =>
''us'', :autoRollOver => false } %>

Just like your message above.  Am I missing something?  If you need some
more information please let me know and I will post whatever you need.
If I need to contact other than this forum, please also let me know.  So
the problem once again is that the control is still not showing but can
be seen in the ''View Page Source''.  Thanks for everything up
to this
point and hope to hear from you or anyone who has successfully
implemented this control.

dlo

Nathaniel Brown wrote:
> Hey dlo,
>
> Thanks for asking. Seems you have run across a bug I didn''t catch
> earlier, and I managed to squash a couple more while I was at it as
> well.
>
> If you update the plugin with the latest code at...
>
> http://svn.toolbocks.com/plugins/datetime_toolbocks/
>
> You''ll get v3.0.1, which has it fixed. The website even has a few
more
> samples of what you can do as well.
>
> Also...
>
> <%= toolbocks_date_select ''table_rate'',
''start_date'', { :value =>
> session[:startdate] } %>
>
> Should be what you are after. You might need to pass in a format as
> well, depending on how you want it to look. Options for that are:
>
> [''dd/mm/yyyy'',  ''dd-mm-yyyy'',
''mm/dd/yyyy'', ''mm.dd.yyyy'',
> ''yyyy-mm-dd'', ''iso'',
''de'', ''us'']
>

--
Posted via http://www.ruby-forum.com/.