contemplate.module

Version 1.8.4.61 (checked in on 2009/05/11 at 21:20:54 by jrglasgow)

Create templates to customize teaser and body content.

Constants

NameDescription
CONTEMPLATE_BODY_ENABLED
CONTEMPLATE_RSS_ENABLED
CONTEMPLATE_TEASER_ENABLED

Functions

NameDescription
contemplate_adminAdmin page... list out the node types
contemplate_array_variablesRecursive (and therefore magical) function goes through node object returns html representation of the node strings are clickable and insert into teaser/body fields
contemplate_available_filesList the available template files
contemplate_cck_get_fields
contemplate_delete
contemplate_delete_type_formMenu Callback Confirm the deletion of the custom Content Template
contemplate_delete_type_form_submit
contemplate_edit_type
contemplate_edit_type_formMenu callback Edit the template for a specific node-type
contemplate_edit_type_form_submit
contemplate_evalCopy of drupal_eval(), but extracts the node object so that variables are available to the template
contemplate_eval_enclosureEval the RSS enclosure field
contemplate_examplesLoad an example node and display its parts used only on template edit page
contemplate_get_fileGiven a node type and field type, return the content of the most specific file
contemplate_get_templateGet a single template
contemplate_get_templatesGet all of the current templates Only used on admin page
contemplate_helpImplementation of hook_help().
contemplate_menuImplementation of hook_menu().
contemplate_nodeapiImplementation of hook_nodeapi().
contemplate_node_type_loadMenu callback; loads a flexifilter object
contemplate_node_viewRun example node through view hooks to present the node object parts
contemplate_node_viewsLoad an example node and display its parts used only on template edit page
contemplate_permImplementation of hook_perm().
contemplate_refresh_filesRefresh the listing of template files for the current site
contemplate_save
contemplate_system_settings
contemplate_themeImplementation of hook_theme().
theme_contemplate_fieldRewrite of theme_field to output default CCK output into the template.