Author: dotCMS |
This code is an example of how you can get the host id that a content editor is on, and based on that host ID it will show or hide a tab in the content...
Author: Brad Rice |
This builds on the codeshare Stephen Bell provided for using a custom field with a select. This uses a multi-select and reads back in multiple values and...
Author: Stephen Bell |
Use this code in a custom field, to pull a list of other content into a select field. This code uses the jQuery Javascript library in a way that shouldn't...
Author: Maru Ahues Bouza |
The following code can be used on your site to list all the attributes and values stored in the Request object. Wrapped with a condition to only display...
Author: Alex Solorzano |
Sometimes you want to display related content listed and classified by category in a multilingual environment.
This is a very straightforward demonstration JSP that will transactionally checking a FileAsset content using the 2.2 starter site content schema.
Author: Dean Gonzalez |
Use this example to create dynamic parent/child category listings. The category listings can then become clickable listings to filter content by category...
Author: Ati Rosselet |
Replacement for NavigationWebAPI.java in 2.2 branch (works for 2.5 too). Handles problem (if its a problem for you) where internal links are not relative...
Author: Michael Fienen |
There are times where you might want to add a dynamic variable to the end of a file to help browsers repull the file after changes have been made to it...
Author: David Higginbotham |
This example shows how to use the ContentletAPI to find a Contentlet by a given inode and then copy it.