Script to add files in S3 bucket folder and add files on new location using S3 api or s3fs module.

Script to add files in S3 bucket folder and add files on new location
************************************************************
try {
$config = _s3fs_get_config();
$s3 = _s3fs_get_amazons3_client($config);
}
catch (S3fsException $e) {
form_set_error('form', $e->getMessage());
return FALSE;
}

reSmush.it image style optimizer

reSmush.it is a free image optimization API. It compresses the size of your images, making them — and therefore your website — significantly faster to load. reSmush.it image style optimizer is a Drupal module that provides an image style effect with this image optimization capability.

Project page: https://www.drupal.org/project/resmushit
More info and demo: http://www.vacilando.org/article/resmushit

Recovering the administrator password from UI

There are many methods to recover admin password described here https://www.drupal.org/node/44164 but this method gives you a admin panel to recover admin username and password.

This gives easy access and UI to generate admin password. This will let you know what is the current admin username in system.

Recovering the administrator password from UI

How to programmatically add a product variation to the cart in Drupal commerce 2.x (Drupal 8)

Playing a bit with Drupal commerce in Drupal 8, we notice that several functions that we used to use in the past with D7 are gone in D8, or they've had several changes, dued to the new API.

Drupal commerce has lots of changes. The new concept give us more flexibility and features (for example, we don't need a content type to display our products, because they have now their own display page, the product variations are now in commerce core, or the Store concept.).

Two steps login

Two steps login module helps users to login to their drupal website in a better way.
Two steps login module converts the user login experience to a whole new level. This module is inspired by google login functionality and user experience. By enabling this module all the users can quickly access their accounts by just one click and entering their password.

Two steps login

Two steps login module helps users to login to their drupal website in a better way.
Two steps login module converts the user login experience to a whole new level. This module is inspired by google login functionality and user experience. By enabling this module all the users can quickly access their accounts by just one click and entering their password.

You can download this module here

Pages

Subscribe with RSS Subscribe to RSS - Site administrators