Considered feature-complete by its maintainers.

gameguyz_cropimage

Custom Form Crop Image

You can use image crop in your custom form.

Please following these steps:

>1. Download and install this module
>2. On your custom form, add these code:

  if (module_exists('gameguyz_cropimage')) {
    $element_info = element_info('managed_file');
    $form['crop_image_test'] = array(
      '#title' => t('Crop Image Test'),
      '#description' => t('Crop image after upload'),
      '#type' => 'managed_file',
      '#default_value' => variable_get('crop_image_test_fid', ''),
      '#upload_location' => 'public://',
      '#process' => array_merge($element_info['#process'], array('gameguyz_cropimage_process', 'gameguyz_cropimage_beauty_settings_process')),
      '#file_value_callbacks' => array('gameguyz_cropimage_widget_value'),
    );
  }

>3. In form submit function:

  if ($form_state['values']['crop_image_test'] != 0) {
    $crop_info = variable_get('gameguyz_cropimage_info', array());
    $fid = $form_state['values']['crop_image_test']['fid'];
    $fid = empty($crop_info[$fid])?$fid:$crop_info[$fid]['fid_new'];
    variable_set('crop_image_test_fid', $fid);
  }

>4. Change crop box size: gameguyz_cropimage/gameguyz_cropimage.module
gameguyz_cropimage_beauty_settings_process()

Project page:

The project page can be found here: http://drupal.org/sandbox/meadhu/1870050

Nyan cat progress bar

Rubik theme - Drupal 7 check for updates screen

Inspired by the nyan cat pure CSS implementation, I decided to write a module to alter Drupal core's progress bar to use it.

Features include:

  • Nyan cat animation uses pure CSS
  • Includes awesome background audio
  • Tested on (latest) firefox and Chrome, and should work on all webkit based browsers
  • Will work on all Drupal batch API progress bar screens out of the box (including fetching updates and any VBO screens)
  • Simple installation and removal (just enable the module and you are good to go)
  • Comes with audio (mp3 or ogg), and uses HTML5 audio tags to play it
  • Configuration options for the audio, including initial volume and an option to remove it completely

Checking for Drupal updates will never be this exciting ever again.

Tested to work on:

If you have an administration theme that it does not quite work on, or could be better, post a patch in the issue queue.

Refresh views

Automatic Refresh Views Module

Description
-----------
This is module that allows to set timer to Refresh in the views.

print_d

It´s a simple alternative to dsm function of Devel module. I called it print_die,

because the execution is terminated after variables are rendered.

Features:

Pages

Subscribe with RSS Subscribe to RSS - Maintenance fixes only