Here are some code snippets dealing with a JQuery date select plugin and Gantry. field shipped { is datetime; label Shipped; html_form_type text; html_form_display_size 10; html_form_class `date-picker`; html_form_optional 1; } Gantry [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=timotheus0.wordpress.com&blog=8732979&post=10&subd=timotheus0&ref=&feed=1" />
These captchas are different from most. Basically, using Gantry::Utils::Captcha you define a set of thumbnail images along with some other properties. The util will hand you a random captcha ( be sure to shuffle ) and then it’s up to you to place it on the form. When the form is displayed, the user is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=timotheus0.wordpress.com&blog=8732979&post=7&subd=timotheus0&ref=&feed=1" />
Java has inspired me to think about Perl testing in a Java like fashion. I’ve always been a fan of placing tests into the class, as opposed to a separate test script. To accomplish this style of testing I used Test::Builder and since it’s a Singleton the tests can easily work together or work independently. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=timotheus0.wordpress.com&blog=8732979&post=3&subd=timotheus0&ref=&feed=1" />