content_profile.module

Version 1.1.2.39 (checked in on 2009/06/15 at 10:55:24 by fago)

Functions

NameDescription
content_profile_admin_settingsMenu callback; content profile settings.
content_profile_admin_settings_submit
content_profile_content_profile_settingsImplementation of hook_content_profile_settings().
content_profile_ctools_plugin_directoryImplementation of hook_ctools_plugin_directory().
content_profile_form_alterImplementation of hook_form_alter().
content_profile_get_settingsReturns the content_profiles' settings.
content_profile_get_typesBuilds a list of available content types that are marked as content_profiles, and returns an array of content profile content types in the specified format.
content_profile_initImplementation of hook_init().
content_profile_loadLoads the node, like node_load but makes sure the results are cached.
content_profile_menuImplementation of hook_menu().
content_profile_menu_alterImplementation of hook_menu_alter(). Take over menu items generated by the user module for our categories.
content_profile_nodeapiImplementation of hook_nodeapi().
content_profile_node_typeImplementation of hook_node_type(). Rename or delete the settings variable if a type changes.
content_profile_page_access
content_profile_page_editPresents a node editing or adding form for the given content profile.
content_profile_profile_existsChecks whether a node of this type exists already for the author
content_profile_settings_infoReturns an array, which defines the available settings and their default value.
content_profile_set_settingsSaves the content_profile settings of a content type.
content_profile_show_profilesReturns an array suitable for use with drupal_render, that shows all content_profiles as configured by the admin.
content_profile_simpletestImplementation of hook_simpletest().
content_profile_template_preprocessAdds $content_profile variable if we can find a $uid.
content_profile_themeImplementation of hook_theme().
content_profile_theme_registry_alterImplementation of hook_theme_registry_alter(). Adds our own preprocess functions to some templates. Further templates can be set in $conf['content_profile_extra_templates'] in settings.php.
content_profile_userImplementation of hook_user().
content_profile_views_apiImplementation of hook_views_api().
is_content_profileDetermine if a given node is a content_profile.
_content_profile_node_deleteThe original node_delete() function uses node_load() to get the $node object. Unfortunately, when a hook_user('delete') is called, node_load() doesn't work anymore because the user has already been deleted, and node_load() still expects…

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.