Robs Reminders r4

Robs Reminders r4

Implement remember me.

I had forgotten to uncomment the remember me block of code in the /app/views/account/login.rhtml file. Removing this will allow users to skip the login process once they have successfully logged in once.

Change the date/time control

The current date time control is lousy. Fortunately there is a plugin that vastly improves it.

http://code.google.com/p/calendardateselect/

script/plugin install http://calendardateselect.googlecode.com/svn/tags/calendar_date_select

Add the following to the application.html.erb layout

<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”content-type” content=”text/html;charset=UTF-8″ />
<title>Reminders: <%= controller.action_name %></title>
  <%=  javascript_include_tag ‘prototype’ %>
<%= calendar_date_select_includes nil %>

Edit the /app/views/reminders/edit.html.erb file

Change

<%= f.datetime_select :due %>

to

<%= f.calendar_date_select :due, :embedded => true, :time => true %>

A restart of the app server is required after updating.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *