You are here: Administrators Reference > Site Administration > Elements & Forms > Elements > Defining Render Handlers

Defining Render Handlers

In addition to Display Templates, which enable non-technical users to control Element presentation, CommonSpot supports the creation of Custom Render Handlers - ColdFusion or XSL modules that extend CommonSpot by providing alternate rendering for standard and custom Elements. You can apply render handlers to most standard CommonSpot Elements and any Custom Elements.

Note: Only standard Elements that display the Render Handler option in the Element edit menu support custom render handlers. See Elements with Support for Custom Render Handlers.

Because render handlers are implemented in code and take into account conditional logic, they can produce more complex and sophisticated output.

Each Element type contains its own specific data structure to hold Element instance data. You can associate one or more render handlers with an Element.

From the Manage Elements dialog, add a custom render handler to an Element by clicking the edit icon, and selecting the Add Render Handler option, as shown below. This option is also available from the Layout dialog or Choose Layout accessed from the Element menu within the page view for Elements supporting render handlers (see the Elements Reference for details).

For Elements with existing custom render handlers, click the Layouts link in the Description column then click the Add/Edit Render Handlers link.

 

Related Links


You can download PDF versions of the Content Contributor's, Administrator's, and Elements Reference documents from the support section of paperthin.com (requires login).


For technical support:

http://www.paperthin.com/support/