Skip to Content

模块

  • strict warning: Non-static method view::load_views() should not be called statically in /var/www/drupal_module/views/views.module on line 864.
  • strict warning: Non-static method view::db_objects() should not be called statically in /var/www/drupal_module/views/includes/view.inc on line 1417.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /var/www/drupal_module/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /var/www/drupal_module/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /var/www/drupal_module/views/plugins/views_plugin_style_default.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /var/www/drupal_module/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /var/www/drupal_module/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Only variables should be passed by reference in /var/www/truevue.org/sites/all/themes/zeropoint/template.php on line 341.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /var/www/drupal_module/views/views.module on line 906.
  • strict warning: Declaration of views_handler_field_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /var/www/drupal_module/views/modules/comment/views_handler_field_comment.inc on line 0.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /var/www/drupal_module/views/handlers/views_handler_filter_boolean_operator.inc on line 0.

Drupal模块:Boost缓存

Boost模块介绍:

Drupal自带有Cache模块,但是好像效果一般,看到网上有人推荐Boost,说Boost不错。

Boost会创建静态html页面进行缓存,创建相应的.htaccess转发规则,然后根据.htaccess转发规则进行静态页面解析。

Drupal语法高亮模块:GeSHi Filter

Drupal语法高亮模块有很多,主要分为两类:服务器端和客户端(基于JavaScript)。这里结束的Drupal语法高亮模块GeSHi是基于服务器端的,通过Drupal Filter来实现的。下面就来介绍一下GeSHi模块的使用。

GeSHi语法高亮介绍:

一开始以为GeSHi是中文“格式”的拼音,其实GeSHi全名为Generic Syntax Highlighter,是一个通用的语法高亮程序。

Drupal模块:Similar By Terms(相关文章)

在Wordpress中有个功能就是相关文章(Related Posts),这个在Drupal中如何实现呢?其实也很简单,Drupal有Similar By Terms模块。有了这个模块,在Drupal中可以很容易的创建相关文章区块,然后在你的主题下面启用这个模块就可以了。

Drupal模块:Nodewords(Meta tags)

Druopal nodewords模块提供了修改页面html meta标签的功能,比如Description,keywords等HTML标签。所以Nodewords模块对SEO是很有帮助的模块。

nodewords支持的基本meta tags:

  1. Description
  2. Abstract
  3. Canonical URL
  4. Copyright
  5. Keywords
  6. Revisit after
  7. Robots

除了上面基本的meta tags外,nodewords还支持一些高级的tags:

Drupal模块:Content Access 基于节点类型(Content Type)的访问浏览权限控制模块

在Drupal中,我们可以控制每个用户组对不同类型节点的创建权限,但是有些时候我们希望同样去控制各个用户组对不同节点类型的浏览访问权限,随让Drupal核心模块没有提供这样的功能,但是我们可以通过强大的Drupal模块来实现这个功能。

Drupal模块:图片编辑 Imagecache Actions

Drupal有很多很强大的模块,Imagecache就是一个强大的图片编辑模块,可以对图片就行缩放、剪裁等简单操作。而ImageCache Action在Imagecache的基础上,提供了更为强大的操作。

ImageCache Actions的图片编辑功能有:

  • 添加水印:Watermarking - a much requested addition that enables you to place any image anywhere over a source picture, with alpha transparency
  • 图片叠加:Overlays - Add photo-corners etc to the image
  • 加添文字:Text overlay - add a short copyright notice to your image, using available system fonts
  • 颜色变换:Color-shifting - Colorize images. Also invert.
  • 亮度调整:Brighten/Darken
  • 通道便捷:Alpha blending - turn an image into a transparent mask, and back into a flat image against another color

Drupal模块:Insert

Drupal的可视化(WYSIWYG)编辑器一直是不太好用,虽然装了一个FCKeditor,感觉还是比较复杂。我还是喜欢WordPress的编辑器,但是还没有找到类似的模块。

在文章中插入图片显得比较困难,我选择使用Drupal的Insert模块来插入CCK的ImageField图片。

图片或文件存成ImageField有几个好处:

  1. 管理比较方便,图片的存储可以通过CCK来指定,可以自定义图片标题(Title)和图片(alt)的内容。
  2. 容易扩展,CCK的扩展模块很多,如可以通过Fancy Slide模块实现图片滚动效果。

Insert模块使用方法:

1. 下载并安装Insert模块

下载地址: http://drupal.org/project/insert

将Insert模块解压缩至 drupal-dir/sites/all/modules/ 目录下。

在Drupal模块列表中启用该模块。

聚合内容