Web窗体结果管理主题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Web窗体结果管理主题相关的知识,希望对你有一定的参考价值。
// Added to support admin theme in webform results function webform_init() { // Support admin theme setting, based on system_init(). // Only affect the menu path created by this module, and only if the node admin theme checkbox is set. if (variable_get('node_admin_theme', '0') && arg(0) == 'node' && (arg(2) == 'webform-results' || arg(2) == 'submission')) { global $custom_theme; // Use the chosen theme ID, or the front-end theme if one hasn't been selected. $custom_theme = variable_get('admin_theme', '0'); // From system.module, this css file is required in the admin view. drupal_add_css(drupal_get_path('module', 'system') .'/admin.css', 'module'); } }
以上是关于Web窗体结果管理主题的主要内容,如果未能解决你的问题,请参考以下文章
Shopify DAWN 主题 - 在购物车页面中添加自定义字段并在订单管理面板中显示结果