kolyas 3 сентября 2009 в 18:08 Какова структура работы drupal 6 ? В идеале бы в таком же виде как и для 4.6 версии представлено Drupal6 Блог Войдите или зарегистрируйтесь, чтобы отправлять комментарии
kolyas 4 сентября 2009 в 11:55 мне бы хотелось по подробнее над тем место где собирается в кучу все заголовки, комментарии и т.д. .. так что в шаблоне это просто одна переменная $content..
kolyas 21 сентября 2009 в 13:50 ecли кому интересно в каком порядке вызываются функции в Drupal, то: имя функции имя файла где находится функция drupal_unset_globals() bootstrap.inc conf_init() bootstrap.inc ip_address() bootstrap.inc ip_address() bootstrap.inc drupal_page_header() bootstrap.inc drupal_init_language() bootstrap.inc language_initialize() language.inc drupal_init_path() path.inc _drupal_bootstrap_full() common.inc unicode_check() unicode.inc _unicode_check() unicode.inc get_t() bootstrap.inc fix_gpc_magic() common.inc module_load_all() module.inc module_invoke_all() module.inc dblog_init() dblog.module node_init() node.module system_init() system.module user_init() user.module _menu_site_is_offline() menu.inc node_page_default() node.module module_invoke() module.inc node_access_view_all_nodes() node.module module_invoke_all() module.inc _node_types_build() node.module module_invoke_all() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke_all() module.inc theme() theme.inc init_theme() theme.inc db_is_active() database.inc base_path() common.inc get_drupal_version() template.php theme() theme.inc theme() theme.inc path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc theme() theme.inc base_path() common.inc theme() theme.inc base_path() common.inc base_path() common.inc theme() theme.inc theme() theme.inc module_invoke() module.inc module_invoke_all() module.inc theme() theme.inc theme() theme.inc theme() theme.inc path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc theme() theme.inc base_path() common.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc theme() theme.inc module_invoke() module.inc module_invoke() module.inc user_is_logged_in() user.module _node_add_access() node.module module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc theme() theme.inc theme() theme.inc module_invoke() module.inc menu_list_system_menus() menu.inc module_invoke() module.inc node_access_view_all_nodes() node.module theme() theme.inc base_path() common.inc theme() theme.inc theme() theme.inc base_path() common.inc theme() theme.inc theme() theme.inc theme() theme.inc path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc drupal_is_front_page() path.inc drupal_get_title() path.inc base_path() common.inc base_path() common.inc drupal_get_breadcrumb() common.inc menu_get_active_breadcrumb() menu.inc drupal_is_front_page() path.inc theme() theme.inc drupal_get_html_head() common.inc theme() theme.inc theme_help() theme.inc menu_get_active_help() menu.inc menu_tab_root_path() menu.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc module_invoke() module.inc theme() theme.inc menu_primary_links() menu.inc module_invoke() module.inc node_access_view_all_nodes() node.module menu_secondary_links() menu.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc theme() theme.inc theme_menu_local_tasks() menu.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc drupal_get_title() path.inc theme() theme.inc module_invoke_all() module.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc drupal_is_front_page() path.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc get_drupal_version() template.php get_drupal_version() template.php base_path() common.inc theme() theme.inc drupal_page_footer() common.inc module_invoke_all() module.inc drupal_unset_globals() bootstrap.inc conf_init() bootstrap.inc ip_address() bootstrap.inc ip_address() bootstrap.inc drupal_page_header() bootstrap.inc drupal_init_language() bootstrap.inc language_initialize() language.inc drupal_init_path() path.inc _drupal_bootstrap_full() common.inc unicode_check() unicode.inc _unicode_check() unicode.inc get_t() bootstrap.inc fix_gpc_magic() common.inc module_load_all() module.inc module_invoke_all() module.inc dblog_init() dblog.module node_init() node.module system_init() system.module user_init() user.module _menu_site_is_offline() menu.inc drupal_not_found() common.inc request_uri() bootstrap.inc referer_uri() bootstrap.inc ip_address() bootstrap.inc module_invoke() module.inc theme() theme.inc init_theme() theme.inc db_is_active() database.inc base_path() common.inc get_drupal_version() template.php path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc _node_types_build() node.module module_invoke_all() module.inc module_invoke() module.inc base_path() common.inc base_path() common.inc theme() theme.inc module_invoke() module.inc theme() theme.inc module_invoke() module.inc menu_list_system_menus() menu.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc drupal_is_front_page() path.inc drupal_get_title() path.inc drupal_get_title() path.inc base_path() common.inc base_path() common.inc drupal_get_breadcrumb() common.inc menu_get_active_breadcrumb() menu.inc drupal_is_front_page() path.inc theme() theme.inc drupal_get_html_head() common.inc theme() theme.inc theme_help() theme.inc menu_get_active_help() menu.inc menu_tab_root_path() menu.inc theme() theme.inc menu_primary_links() menu.inc menu_secondary_links() menu.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc theme() theme.inc theme_menu_local_tasks() menu.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc drupal_get_title() path.inc theme() theme.inc module_invoke_all() module.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc drupal_is_front_page() path.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc get_drupal_version() template.php get_drupal_version() template.php base_path() common.inc theme() theme.inc drupal_page_footer() common.inc module_invoke_all() module.inc drupal_unset_globals() bootstrap.inc conf_init() bootstrap.inc ip_address() bootstrap.inc ip_address() bootstrap.inc drupal_page_header() bootstrap.inc drupal_init_language() bootstrap.inc language_initialize() language.inc drupal_init_path() path.inc _drupal_bootstrap_full() common.inc unicode_check() unicode.inc _unicode_check() unicode.inc get_t() bootstrap.inc fix_gpc_magic() common.inc module_load_all() module.inc module_invoke_all() module.inc dblog_init() dblog.module node_init() node.module system_init() system.module user_init() user.module _menu_site_is_offline() menu.inc drupal_not_found() common.inc request_uri() bootstrap.inc referer_uri() bootstrap.inc ip_address() bootstrap.inc module_invoke() module.inc theme() theme.inc init_theme() theme.inc db_is_active() database.inc base_path() common.inc get_drupal_version() template.php path_to_theme() theme.inc db_is_active() database.inc drupal_is_front_page() path.inc _node_types_build() node.module module_invoke_all() module.inc module_invoke() module.inc base_path() common.inc base_path() common.inc theme() theme.inc module_invoke() module.inc theme() theme.inc module_invoke() module.inc menu_list_system_menus() menu.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc theme() theme.inc drupal_is_front_page() path.inc drupal_get_title() path.inc drupal_get_title() path.inc base_path() common.inc base_path() common.inc drupal_get_breadcrumb() common.inc menu_get_active_breadcrumb() menu.inc drupal_is_front_page() path.inc theme() theme.inc drupal_get_html_head() common.inc theme() theme.inc theme_help() theme.inc menu_get_active_help() menu.inc menu_tab_root_path() menu.inc theme() theme.inc menu_primary_links() menu.inc menu_secondary_links() menu.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc file_directory_path() file.inc base_path() common.inc base_path() common.inc base_path() common.inc base_path() common.inc theme() theme.inc theme_menu_local_tasks() menu.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc drupal_get_title() path.inc theme() theme.inc module_invoke_all() module.inc locale_update_js_files() locale.module file_directory_path() file.inc file_directory_temp() file.inc drupal_is_front_page() path.inc menu_primary_local_tasks() menu.inc menu_secondary_local_tasks() menu.inc get_drupal_version() template.php get_drupal_version() template.php base_path() common.inc theme() theme.inc drupal_page_footer() common.inc module_invoke_all() module.inc
Комментарии
да примерно такое же и в шестерке.
мне бы хотелось по подробнее над тем место где собирается в кучу все заголовки, комментарии и т.д. .. так что в шаблоне это просто одна переменная $content..
ecли кому интересно в каком порядке вызываются функции в Drupal, то:
имя функции имя файла где находится функция
drupal_unset_globals() bootstrap.inc
conf_init() bootstrap.inc
ip_address() bootstrap.inc
ip_address() bootstrap.inc
drupal_page_header() bootstrap.inc
drupal_init_language() bootstrap.inc
language_initialize() language.inc
drupal_init_path() path.inc
_drupal_bootstrap_full() common.inc
unicode_check() unicode.inc
_unicode_check() unicode.inc
get_t() bootstrap.inc
fix_gpc_magic() common.inc
module_load_all() module.inc
module_invoke_all() module.inc
dblog_init() dblog.module
node_init() node.module
system_init() system.module
user_init() user.module
_menu_site_is_offline() menu.inc
node_page_default() node.module
module_invoke() module.inc
node_access_view_all_nodes() node.module
module_invoke_all() module.inc
_node_types_build() node.module
module_invoke_all() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke_all() module.inc
theme() theme.inc
init_theme() theme.inc
db_is_active() database.inc
base_path() common.inc
get_drupal_version() template.php
theme() theme.inc
theme() theme.inc
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
theme() theme.inc
base_path() common.inc
theme() theme.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
theme() theme.inc
module_invoke() module.inc
module_invoke_all() module.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
theme() theme.inc
base_path() common.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
theme() theme.inc
module_invoke() module.inc
module_invoke() module.inc
user_is_logged_in() user.module
_node_add_access() node.module
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
theme() theme.inc
theme() theme.inc
module_invoke() module.inc
menu_list_system_menus() menu.inc
module_invoke() module.inc
node_access_view_all_nodes() node.module
theme() theme.inc
base_path() common.inc
theme() theme.inc
theme() theme.inc
base_path() common.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
drupal_is_front_page() path.inc
drupal_get_title() path.inc
base_path() common.inc
base_path() common.inc
drupal_get_breadcrumb() common.inc
menu_get_active_breadcrumb() menu.inc
drupal_is_front_page() path.inc
theme() theme.inc
drupal_get_html_head() common.inc
theme() theme.inc
theme_help() theme.inc
menu_get_active_help() menu.inc
menu_tab_root_path() menu.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
module_invoke() module.inc
theme() theme.inc
menu_primary_links() menu.inc
module_invoke() module.inc
node_access_view_all_nodes() node.module
menu_secondary_links() menu.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
theme_menu_local_tasks() menu.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
drupal_get_title() path.inc
theme() theme.inc
module_invoke_all() module.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
drupal_is_front_page() path.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
get_drupal_version() template.php
get_drupal_version() template.php
base_path() common.inc
theme() theme.inc
drupal_page_footer() common.inc
module_invoke_all() module.inc
drupal_unset_globals() bootstrap.inc
conf_init() bootstrap.inc
ip_address() bootstrap.inc
ip_address() bootstrap.inc
drupal_page_header() bootstrap.inc
drupal_init_language() bootstrap.inc
language_initialize() language.inc
drupal_init_path() path.inc
_drupal_bootstrap_full() common.inc
unicode_check() unicode.inc
_unicode_check() unicode.inc
get_t() bootstrap.inc
fix_gpc_magic() common.inc
module_load_all() module.inc
module_invoke_all() module.inc
dblog_init() dblog.module
node_init() node.module
system_init() system.module
user_init() user.module
_menu_site_is_offline() menu.inc
drupal_not_found() common.inc
request_uri() bootstrap.inc
referer_uri() bootstrap.inc
ip_address() bootstrap.inc
module_invoke() module.inc
theme() theme.inc
init_theme() theme.inc
db_is_active() database.inc
base_path() common.inc
get_drupal_version() template.php
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
_node_types_build() node.module
module_invoke_all() module.inc
module_invoke() module.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
module_invoke() module.inc
theme() theme.inc
module_invoke() module.inc
menu_list_system_menus() menu.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
drupal_is_front_page() path.inc
drupal_get_title() path.inc
drupal_get_title() path.inc
base_path() common.inc
base_path() common.inc
drupal_get_breadcrumb() common.inc
menu_get_active_breadcrumb() menu.inc
drupal_is_front_page() path.inc
theme() theme.inc
drupal_get_html_head() common.inc
theme() theme.inc
theme_help() theme.inc
menu_get_active_help() menu.inc
menu_tab_root_path() menu.inc
theme() theme.inc
menu_primary_links() menu.inc
menu_secondary_links() menu.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
theme_menu_local_tasks() menu.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
drupal_get_title() path.inc
theme() theme.inc
module_invoke_all() module.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
drupal_is_front_page() path.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
get_drupal_version() template.php
get_drupal_version() template.php
base_path() common.inc
theme() theme.inc
drupal_page_footer() common.inc
module_invoke_all() module.inc
drupal_unset_globals() bootstrap.inc
conf_init() bootstrap.inc
ip_address() bootstrap.inc
ip_address() bootstrap.inc
drupal_page_header() bootstrap.inc
drupal_init_language() bootstrap.inc
language_initialize() language.inc
drupal_init_path() path.inc
_drupal_bootstrap_full() common.inc
unicode_check() unicode.inc
_unicode_check() unicode.inc
get_t() bootstrap.inc
fix_gpc_magic() common.inc
module_load_all() module.inc
module_invoke_all() module.inc
dblog_init() dblog.module
node_init() node.module
system_init() system.module
user_init() user.module
_menu_site_is_offline() menu.inc
drupal_not_found() common.inc
request_uri() bootstrap.inc
referer_uri() bootstrap.inc
ip_address() bootstrap.inc
module_invoke() module.inc
theme() theme.inc
init_theme() theme.inc
db_is_active() database.inc
base_path() common.inc
get_drupal_version() template.php
path_to_theme() theme.inc
db_is_active() database.inc
drupal_is_front_page() path.inc
_node_types_build() node.module
module_invoke_all() module.inc
module_invoke() module.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
module_invoke() module.inc
theme() theme.inc
module_invoke() module.inc
menu_list_system_menus() menu.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
theme() theme.inc
drupal_is_front_page() path.inc
drupal_get_title() path.inc
drupal_get_title() path.inc
base_path() common.inc
base_path() common.inc
drupal_get_breadcrumb() common.inc
menu_get_active_breadcrumb() menu.inc
drupal_is_front_page() path.inc
theme() theme.inc
drupal_get_html_head() common.inc
theme() theme.inc
theme_help() theme.inc
menu_get_active_help() menu.inc
menu_tab_root_path() menu.inc
theme() theme.inc
menu_primary_links() menu.inc
menu_secondary_links() menu.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
file_directory_path() file.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
base_path() common.inc
theme() theme.inc
theme_menu_local_tasks() menu.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
drupal_get_title() path.inc
theme() theme.inc
module_invoke_all() module.inc
locale_update_js_files() locale.module
file_directory_path() file.inc
file_directory_temp() file.inc
drupal_is_front_page() path.inc
menu_primary_local_tasks() menu.inc
menu_secondary_local_tasks() menu.inc
get_drupal_version() template.php
get_drupal_version() template.php
base_path() common.inc
theme() theme.inc
drupal_page_footer() common.inc
module_invoke_all() module.inc
Куча повторов в строках, не красиво.