Maintainers strive to actively monitor issues and respond in a timely manner.

Javascript Drupal Extension

Javascript Drupal Extension extends the Drupal JavaScript object by exposing Drupal/PHP functions via AJAX-calls.

Ever needed to call a Drupal function from JavaScript that isn't already available in the Drupal JavaScript object? Javascript Drupal Extension fixes that by extending the Drupal object to expose PHP functions via AJAX-calls.

By default this module includes drupal_get_path() as it was the reason I made the module in the first place. I needed to get the path of a module that was installed, and thus Javascript Drupal Extension was born.

Example:

var path = Drupal.drupal_get_path('module', 'my-awesome-module');

-or-

Drupal.drupal_get_path('module', 'my-awesome-module', 'callback-function-for-path');

Both these queues up the AJAX call, which by default is filtered through a whitelist to ensure safety, and either returns the output of the called function directly, or sends the output to the callback function supplied as the last argument. You can also supply another callback after the first one which will be used in case the AJAX-call fails for some reason. The default action in that case is to throw an error.

Extending:

The module is written in such a way that extending other functions is as easy as adding a few lines of codes.

Revision Ownership

This module was created during an implementation of Workbench, but is useful for any workflow system where ownership needs preservation.

Use When

email_login

用email登录drupal
可同时用email或用户名登录
不改变原来的注册方式和数据,只修改了登录验证,放心使用

下载地址 http://laoyu.org/book/content-51

JiaThis: Social Sharing for China

This module provides a JiaThis share buttons to nodes and as a separate block. JiaThis is a popular button embed code for China and provides embed buttons for QQ, Weibo, RenRen and other China social networks.

Usage:

  1. Install and Enable this module
  2. For block, configure block module settings for specific sharebutton display and then add block to desired region
  3. For node displays, configure node module settings for controlling specific sharebutton display, where it's display on node page and on which content types it is shown

加网 (Chinese Version)

TODO: 加网

TECHNICAL NOTE:

This Drupal 7 module provides a richer and better integrated solution than previous attempts at a JiaThis module. (If you are interested in these previous modules, please see examples like here and here, which while providing a solution, both take different solutions than this module.

我的新浪微博:活力Mr马克

billytesting

This is my first Drupal project I am testing it

Pages

Subscribe with RSS Subscribe to RSS - Actively maintained