( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10364100912require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10424129904include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10424129904get_header( $name = ???, $args = ??? ).../single.php:10
60.10424130120locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10424130216load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10424130760require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10434138168wp_head( ).../header.php:18
100.10434138168do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10434138384WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10434138384WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10454141800wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10454141800do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10454142016WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10454142016WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10464143904twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10484145424wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10484145424WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10484145424WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10484145424_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.10484151376wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.10484270912trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10364100912require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10424129904include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10424129904get_header( $name = ???, $args = ??? ).../single.php:10
60.10424130120locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10424130216load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10424130760require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10434138168wp_head( ).../header.php:18
100.10434138168do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10434138384WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10434138384WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10454141800wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10454141800do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10454142016WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10454142016WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10464143904twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.13004272016wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.13004272016WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.13004272016WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.13004272016_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.13004272336wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.13014272560trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

用Drupal 创建的8种网站

Drupal没有像WordPress那样普及,或许是因为它稍有难度来学习。但是如果你创建大的网站,使用Drupal,高度灵活的开源CMS,可以得到你想要的更漂亮、更强大的各种类型的网站。

下面是8种类型的网站,使用Drupal来创建,希望帮你对Drupal有更深刻的认识。

1. 文件存储分享站点

使用Drupal创建文件分享,你可以使用 CCK 和 Views ,也包括一些模块,比如Media MoverFilebrowser 或者Web File Manager。看看Box.net,你会非常感兴趣的^_^。

2. 社交网站

在社交网络能力方面,Drupal可能是最好的CMS。Drupal提供了强大的用户管理和权限管理系统。但是如果你想创建强大的社交网站,就需要一些模块,见http://drupal.org/node/206724

你想看一些案例?Imbee 或者 GoingOn

3. Twitter Clone

建议你不要尝试利用Drupal创建Twitter竞争产品,但是,如果你想整合Twitter功能到你的站点,Drupal的微博模块可以帮到你。

4. 新闻News portal

如果你想创建新闻站点或杂志站点,Drupal的完美的选择。使用CCK 和 Views ,你可以创建所有的发布内容类型,并且可灵活列表。这样的新闻站点非常之多,比如New York Observer

5. 博客网络

用Drupal创建博客网站,很轻松,甚至无需额外模块。看看 Wisebread吧。

6. 视频分享站点

这类站点太耗带宽了,如果你决定创建,那么Drupal来帮你实现吧。FlashVideo 模块提供了创建Youtube克隆的强大能力,它整合了CCK,转换视频到FLV,并有分享代码。另外你也可以尝试Media Mover 和 SWF ToolsMTV UK 站点就是Drupal创建的。

7. 图片分享站点

Image module ,这个模块将派上用场,可让你创建类Flickr站点,很好很强大。MyFinePix 就是Drupal创建的照片分享站点。

8. 类Digg-like news site

感谢 Drigg module, 这个模块可帮助你快速建立Digg克隆站点。流行的设计社交新闻网Designbump在使用Drupal。

英文原文:http://www.designer-daily.com/8-types-of-sites-you-can-build-with-drupal-13924

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.