Add functionality and customize your Drupal application with thousands of projects contributed by our amazing community.

51,596 modules match your search

A module is code that extends Drupal's by altering existing functionality or adding new features. You can use modules contributed by others or create your own. Learn more about creating and using Drupal modules.

Atixnet Anonymous Edit

This module add a new field type, 'Anonymous Edit Link', that you can add on a content type to manage token buy content for any user to edit or delete it.

Webform A/B Testing

The Webform A/B Test module allows admins to setup A/B tests containing several webforms to determine which is most effective. When a regular user visits the URL of the test, they will be shown one of the included webforms at random. The module tracks how many times each form is shown to users, and how many users complete the form - a conversion. The admin will also configure the winning conditions for the form: once some number of conversions are reached, or a certain percentage of hits result in conversions, a webform will be declared the winner of the test. From that point forward, all users who visit the URL of the test will be directed to that winning form.

commerce checkout page inc

index 73b82c6..1695847 100644 (file)
--- a/modules/checkout/includes/commerce_checkout.pages.inc
+++ b/modules/checkout/includes/commerce_checkout.pages.inc
@@ -182,6 +182,8 @@ function commerce_checkout_form($form, &$form_state, $order, $checkout_page) {
// submit handlers because we're using hook_forms() to use this form builder
// function and to avoid issues if other modules implement button level submit
// handlers on these or custom checkout buttons.
+ $button_operator = '' . t('or') . '';
+
if (!$checkout_page['prev_page'] && !empty($checkout_page['back_value'])) {
// Add an empty "Back" button value to avoid submission errors.
$form['buttons']['back'] = array(
@@ -198,7 +200,7 @@ function commerce_checkout_form($form, &$form_state, $order, $checkout_page) {
'#attributes' => array('class' => array('checkout-cancel')),
'#submit' => array('commerce_checkout_form_cancel_submit'),
'#limit_validation_errors' => array(),
- '#prefix' => t('or'),
+ '#prefix' => $button_operator,
);
}
elseif ($checkout_page['prev_page'] && !empty($checkout_page['back_value'])) {
@@ -208,7 +210,7 @@ function commerce_checkout_form($form, &$form_state, $order, $checkout_page) {
'#attributes' => array('class' => array('checkout-back')),

Custom entity reference field

This module allows you create custom entity reference fields on your own forms.

Bulk Role Management

Allows a site administrator to easily manage large role tables.

Simple Preview

A fork of the "pagepreview" module that opens the preview up in a new tab instead of in an iframe, along with some other improvements and bug fixes.

Granny

This is a sandbox project which allows importing of a back up file from the Gramps genealogy package into Drupal.

Slaask

The Slaask module provides integration with the Slaask chat JavaScript. The widget ID is configured on an admin page. This is used to initialize the JavaScript.

Mobile Detect Block

Basic block visibility module that uses the Mobile Detect library to show or hide blocks in desktop, mobile or tablet devices (you can select to show or hide a block on each type of terminal as you

Anonymous Viewer

Finally allows you to view that pesky anonymous user at user/0.

Depends on bad judgment.

SVG field

Sandbox module to introduce a new field to allow SVG images to be uploaded and managed as files.

Outline Entity

The Outline Entity module provides an interface for organizing entities in a hierarchy.

Region View Modes

A surprisingly simple, flexible layout solution made possible by placing fields in regions.

hook_init

hook_init was a swiss army knife hook in Drupal 7. However hook_init() has been removed in Drupal 8:

mecabsearch

MeCab Search provides MeCab functionality to Search module. MeCab is a well-known Japanese morphological analysis library.

Metatag iTunes

This module adds the "Smart App Banners", apple-itunes-app, meta tag via the metatag module.

Optio Dentistry

This module allows you to easily add Optio Dentistry patient education videos to your Drupal site.

RadioGrid

Sample radiogrid form element output

Defines a new form element of type "radiogrid" to be used with survey and questionnaire types of forms.

Installation

Pages