# \[ANN\] Calendariffic 0.1.0

**URL:** <https://www.ruby-forum.com/t/ann-calendariffic-0-1-0/105714>\
**Category:** Rails\
**Created:** [June 1, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/ann-calendariffic-0-1-0/105714 "2007-06-01T17:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 1, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/ann-calendariffic-0-1-0/105714/1 "2007-06-01T17:29:29Z")

</div>

The Calendariffic plugin allows the user to create a DHTML pop-up  
calendar and an associated text-box that  
displays the selected date using 1 Rails function from within a .rhtml  
file.

Like all the other good calendar plugins, Calendariffic relies on the  
heavy-lifting performed by the Dynarch DHTML calendar (http://  
[www.Dynarch.com/projects/calendar/](http://www.Dynarch.com/projects/calendar/)).

The Rails community needs another Ajax Calendar plugin like I need  
another hole in my head.  
Fortunately for all of us, my Colt .45 single-action Peacemaker just  
arrived from Ebay, complete with bullets.  
Okay okay, there were a handful of questionable reasons for building  
this plugin.

1. To see if I could do it.
2. I tried the Datetime Toolbocks plugin, which is beautiful and slick  
and does everything but perform surgery and it worked like a champ–  
unless I wanted to modify its look and feel, in which case I needed a  
PhD in Ajaxology, which I don’t have.
3. I tried another Calendar plugin which (in theory) possessed a  
configurable look and feel, but the documentation was so lacking that  
I (again) had to plumb the depths of someone else’s ruby, rails and  
javascript and, well, I’m just a little too ADHD for that.

So Here’s my Plugin Pledge.

- Calendariffic won’t do as much as Datetime Toolbocks (e.g. you can’t  
type in ‘tomorrow’ and have it guess the correct date), however it  
will do the basics just fine (i.e. pick a date from a calendar) and  
it’ll still be easier to alter w/ respect to look and feel.
- The documentation won’t [completely] suck.

The Calendariffic Subversion repository is located here:  
[http://opensvn.csie.org/calendariffic/calendariffic/](http://opensvn.csie.org/calendariffic/calendariffic/)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 1, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/ann-calendariffic-0-1-0/105714/2 "2007-06-01T18:43:38Z")

</div>

Lemme know if you see any value in merging the helper methods over 🙂

It’s on my list, as well as in the interest of the author, to merge  
CalendarHelper into Datetime Toolbocks.

[http://svn.toolbocks.com/datebocks\_engine/trunk/app/helpers/calendar\_helper.rb](http://svn.toolbocks.com/datebocks_engine/trunk/app/helpers/calendar_helper.rb)

Also, I am very interested to hear how you wanted to modify the  
interface but weren’t able to (for whatever reason). I’d love to help  
make it simplier for you, or even provide some examples if it’s  
already built in.

Nathaniel.

On 6/1/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> The Rails community needs another Ajax Calendar plugin like I need  
> 3. I tried another Calendar plugin which (in theory) possessed a
> 
> - The documentation won’t [completely] suck.
> 
> The Calendariffic Subversion repository is located here:  
> [http://opensvn.csie.org/calendariffic/calendariffic/](http://opensvn.csie.org/calendariffic/calendariffic/)
> 
> >

–  
Nathaniel Steven Henry Brown

Toll Free: 1-877-446-4647  
Vancouver: 604-724-6624

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 1, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/ann-calendariffic-0-1-0/105714/3 "2007-06-01T19:02:40Z")

</div>

Hey Nathaniel,

I would’ve preferred to use Toolbocks because of its slick parser and  
overall look, but I wanted to do the things shown below and I started  
altering the underlying javascript, but then decided I could just make  
something less slick, but which did precisely what I wanted.

I wanted to do a handful of things.

1. specify where the calendar icon is displayed relative to the text-  
box (i.e. before or after)
2. really mess with the css/look’n’feel of the text-box
3. change other attributes of the img and text elements (e.g. id)
4. put multiple calendar widgets on the same page and have them behave  
independently.

Anyway, I just wanted to throw something out there that other people  
might find helpful on occasion, and you can feel free to take (or  
leave) whatever you find in the plugin.  
it’s my first plugin. I’m new to ruby/rails and programming in  
general, so go easy.

Best,

Paul
