Drigg Modules
Table of Contents

Variables

  • drigg_cron_timestamp: Set in drigg/drigg.module/drigg_cron()
  • drigg_section_list
  • drigg_anonymous_can_create_entries
  • drigg_votingapi_content_type
  • drigg_votingapi_value_type
  • drigg_votingapi_tag
  • drigg_votingapi_function
  • drigg_section_vid
  • drigg_tag_vid
  • drigg_format_id
  • drigg_disallowed_term_id
  • drigg_title_minimum_length
  • drigg_title_maximum_length
  • drigg_separator_short_urls
  • drigg_separator_categories
  • drigg_body_minimum_length
  • drigg_body_maximum_length
  • drigg_hours_able_to_edit
  • drigg_hours_in_upcoming
  • drigg_banned_urls
  • drigg_submit_as_users
  • drigg_filter_unpublished_in_tags
  • drigg_auto_first_vote
  • drigg_trackback_enable
  • drigg_trackback_form_field
  • drigg_trackback_autodiscovery
  • drigg_trackback_ping_title
  • drigg_trackback_ping_excerpt
  • drigg_trackback_ping_blog_name
  • drigg_url_mode
  • drigg_taxonomy_explanation
  • drigg_taxonomy_weight
  • drigg_body_formatting_options
  • drigg_debug
  • drigg_commented_before_form
  • drigg_commented_after_form
  • drigg_who_voted_before_form
  • drigg_who_voted_after_form
  • drigg_user_scoops_before_form
  • drigg_user_scoops_after_form
  • drigg_url_validate

Drigg

Tables

drigg_node

  • dnid: Primary key.
  • promoted_on: Timestamp of promotion.
  • killed
  • url: Unique. The url of the scoop.
  • title_url: Unique. The title of the scoop.
  • safe_section: The section this scoop belongs to.
  • content_type:
  • trackback_ping_url
  • trackback_ping_successful

Files

drigg.info

Information about module drigg.

  • dependencies: votingapi

drigg.install

drigg_schema

Defines table drigg_node.

drigg_install

  • Install drigg schema.
  • Alters table {node_revisions} and adds FULLTEXT for fields title and body.

drigg_uninstall

  • Uninstalls schema drigg.
  • Uninstalls drigg variables.

drigg_uninstall

  • Uninstalls drigg schema.
  • Deletes all variables.

drigg.module

drigg_help

drigg_menu

drigg_init

drigg_node_info

drigg_perm

drigg_access

drigg_cron

  • get variable cron_timestamp
  • set variable cron_timestamp with current time.
  • Run any "backgroud promotion" procedures
  • Assign random votes if required by the module

drigg_db_rewrite_sql

drigg_form_alter

drigg_taxonomy_form_term

drigg_taxonomy_form_delete_check

drigg_aliases_mass_recalculation_confirm

drigg_aliases_mass_recalculation_confirm_submit

Calls drigg_aliases_mass_recalculation

drigg_aliases_mass_recalculation

Go through the list of automatically votable articles and update their safe name.

drigg_form

drigg_validate

drigg_insert

drigg_update

drigg_send_trackback_ping

drigg_insert_or_update

drigg_get_title_url

drigg_delete

drigg_load

drigg_view

drigg_ajax responses

drigg_theme

helpers.inc

drigg_get_section_from_url

drigg__format_url_home

theme_format_url_home

drigg_fix_number_list

drigg_is_number_proc

drigg_select_nodes_by_term

drigg_clean_utf

drigg_votingapi_query

drigg_votingapi_variables

drigg_url_link

drigg_url_is_local

drigg_url_valid

drigg_url_http_ok

drigg_url_exists

drigg_url_banned

drigg_promoted_string

drigg_created_string

drigg_section_link

drigg_scoop_status_string

drigg_section_list

drigg_safe_term_name

drigg_is_section_valid

drigg_section_name_by_safe_name

drigg_debug_msg

drigg_admin_msg

drigg_section_id_by_safe_name

drigg_promote_node

drigg_pathauto_cleanstring

config_forms.inc

drigg_admin_settings

drigg_admin_settings_validate

drigg.js

DriggValidateBeforeSubmit

DriggAddError

DriggRemoveError

drigg_ui

Files

drigg.ui.info

UI Functions in Drigg.

drigg_ui.install

drigg_ui_uninstall

Deletes Drigg variables

drigg_ui.module

drigg_ui_help

Empty.

drigg_ui_menu

It needs to pass the right arguments to drigg_ui_node_list.

my_special_loader_load

Not working with drupal 6.

drigg_ui_init

Add file drigg.js.

drigg_ui_node_feed

Returns an RSS feed for the specified category.

drigg_ui_node_list

It will show the right nodes according to what the requested URL is.

drigg_ui_admin_settings

  • Settings function.

drigg_ui_sections

Returns the "sections" menu.

drigg_ui_home_url

drigg_ui_order_menu

Returns the "order" menu.

drigg_ui_type_menu

Returns the top menu ("published", "upcoming", "archived").

drigg_ui_article_menu

drigg_ui_submit_button

drigg_ui_get_all_children_tids

drigg_ui_get_all_offspring_tids

drigg_ui_ancestor_section_id_array

get_term_id

listize_from_array

get_num_rows

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.