Ajax call does not trigger the callback function. This is related to the fact that the Views uses $_GET, and ajax uses $_POST.
Issue: https://www.drupal.org/node/1183418
Possible error message: "Invalid form POST data"
Ajax call does not trigger the callback function. This is related to the fact that the Views uses $_GET, and ajax uses $_POST.
Issue: https://www.drupal.org/node/1183418
Possible error message: "Invalid form POST data"
| # | |
| # vendor/plugins/redmine_wiki_html_util/init.rb | |
| # | |
| require 'redmine' | |
| require 'open-uri' | |
| Redmine::Plugin.register :redmine_gist do | |
| name 'Redmine Wiki HTML Util' | |
| author 'Arlo Carreon' | |
| author_url 'http://www.arlocarreon.com/' |
Automate the delivery of CSS and JS files to S3 bucket.
| name = MyModule | |
| description = My Module | |
| core = 7.x | |
| package = MyModule | |
| php = 5.2.4 | |
| dependencies[] = views | |
| files[] = mymodule_handler_filter_fulltext.inc |
| /** | |
| * Update image field settings to use Amazon Simple Storage Service as storage. | |
| */ | |
| function MYMODULE_update_7004() { | |
| // get list of fields | |
| $fields = field_info_fields(); | |
| foreach ($fields as $field_name => $field) { |
| /** | |
| * @file | |
| * Testing a demo of Drupal. The script will log in and check for various | |
| * features in Drupal core. This demo was inspired by a similar script for | |
| * a Wordpress site. The original script was written by Henrique Vicente. | |
| * | |
| * @see https://github.com/henvic/phantom-casper-simple-talk/blob/master/wordpress.js | |
| */ | |
| // Set up variables to visit a URL and log in. |
| <?php | |
| $uid = 120; | |
| $user = user_load(array('uid' => $uid)); | |
| $op = 'status_activated'; | |
| _user_mail_notify($op, $user); |
| <?php | |
| /** | |
| * Implements hook_user_operations(). | |
| */ | |
| function example_user_operations() { | |
| $operations = array( | |
| 'example_resend_welcome_email' => array( | |
| 'label' => t('Re-send welcome e-mail'), | |
| 'callback' => 'example_resend_welcome_email', |
| #!/bin/bash | |
| path=${1%/} | |
| user=${2} | |
| group="www-data" | |
| help="nHelp: This script is used to fix permissions of a drupal installationnyou need to provide the following arguments:nt 1) Path to your drupal installationnt 2) Username of the user that you want to give files/directories ownershipnNote: "www-data" (apache default) is assumed as the group the server is belonging to, if this is different you need to modify it manually by editing this scriptnnUsage: (sudo) bash ${0##*/} drupal_path user_namen" | |
| if [ -z "${path}" ] || [ ! -d "${path}/sites" ] || [ ! -f "${path}/modules/system/system.module" ]; then | |
| echo "Please provide a valid drupal path" | |
| echo -e $help |