Codeshare List of user-contributed code snippets for dotCMS Java CMS.

Author: "Kivi Shapiro"

Honeypot (better than CAPTCHA)

Author: Kivi Shapiro | Created: Oct 19, 2014

This code implements honeypots (, a user-friendly alternative to CAPTCHA for preventing spam...

Internationalized URL Title code

Author: Kivi Shapiro | Created: Oct 19, 2014

The default url-title.vtl is ASCII-only: any characters that are not letters of the English alphabet (or a digit or a hyphen) are discarded.

Image gallery that works with file assets and documents

Author: Kivi Shapiro | Created: Aug 12, 2013

The default version of image-gallery.vtl that comes with dotCMS only works with image files of type Document.

Auto-scroll to top of page

Author: Kivi Shapiro | Created: Apr 09, 2013

The home page for one of our sites was loading a lot of content into various containers, much of which was created on the fly by vtl.