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

Author: "Erick Gonzalez"

TinyMCE for 2.5.7 and 3.X

Author: Erick Gonzalez | Created: Jan 27, 2015

This is the plugin for a 2.5.7 or 3.x instance to extended the WYSIWYG.

Create a "Parse VTL" Widget Structure

Author: Dean Gonzalez | Created: May 14, 2014

This example allows you to execute the code in vtl files by simply browsing for them and saving a piece of widget content.

Handling XML Feeds with Children and Namespaces

Author: Dean Gonzalez | Created: Jun 19, 2013

The code below is a quick example on how to handle nested children in a simple XML feed and how to handle namespace fields that have a : in them.

Pull Nested Child Categories by Parent Category Key

Author: Dean Gonzalez | Created: Dec 07, 2012

Use this example to create dynamic parent/child category listings. The category listings can then become clickable listings to filter content by category...

Content Driven Menus

Author: Dean Gonzalez | Created: Dec 23, 2011

Not recommending this as a best practice or anything because there are a lot of inherent dangers on allowing your menu navigation to be changed by a simple...

Blog Title Search, Category Menu and Blog Tag Cloud

Author: Dean Gonzalez | Created: Dec 17, 2011

This code example shows you how to create the blog title search, blog category menu, and blog tag cloud shown in the right hand column of the image below

Manually Built Blog RSS with Category Filter

Author: Dean Gonzalez | Created: Dec 16, 2011

Manually Built Blog RSS with Category Filter. This goes along with the Blog listing and Blog detail codeshare examples.

Blog Detail Page with URL mapping, inline editing, captcha, commenting, and RSS

Author: Dean Gonzalez | Created: Dec 15, 2011

Blog Detail Page with URL mapping, inline editing, captcha validation, moderated commenting, and an RSS feed

Sample Blog Listing With URL Map, Pagination, Tag&Cat Search

Author: Dean Gonzalez | Created: Dec 14, 2011

Sample Blog Listing With URL Mapping for more friendly URL building, pulling a paginated listing using the new dotContent tool, and Tag and Category search...

Topics

Have you created code you'd like to share with the dotCMS community?

Share your code Become a Contributor