Membership Entity Commerce Prorate

Component type

module

Categories

Maintenance status

Development status

Downloads

131

Component created

Component changed

This Drupal 7 module enhances Membership Entity and Membership Entity Commerce to allow membership upgrades and downgrades. It provides this functionality by calculating a pro-rated discount of the remaining time on an active membership, and applying that to a purchase of a new discount.

No End date

Component type

module

Categories

Maintenance status

Development status

Downloads

82

Component created

Component changed

Extends Date Popup widget: provides an option to hide the date input for the end date
(the end time input is visible). It might be useful when one needs to set a single date,
start time and end time (e.g. for an event that takes place during a single day).

After submitting the field the end date is set to the same value as the start date, i.e.
the end datetime is correct and can be used as if the end date

The respective checkbox (Hide end date) is located under the advanced settings of widget form.

Fetch To Local CSV

Component type

module

Categories

Maintenance status

Development status

Downloads

110

Component created

Component changed

When using Migrate Source CSV as a source, if your csv file is remote, you can't specify a header row because it uses PHP's rewind(), which will only work on a local file.

This module extends it slightly, allowing you to specify a remote source as well as a local source. The remote will be fetched and saved as the local, overwriting it if it exists.

Usage:

JSONAPI Flysystem Uploader

Component type

module

Categories

Maintenance status

Development status

Downloads

801

Component created

Component changed

Entities may have a JSON API representation automatically uploaded to S3 or other file storage systems upon creation. This is handled using the Flysystem module and library. Data will be stored in a file named "[uuid].json" based upon the entity's UUID value.

Asynk

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Process heavy tasks in Drupal asynchronously with ease.

Sample Usage

In order to execute a heave function

// Execute the heavy task asynchronously.
asynk('sample_heavy_task', $key, $lan);

// Send email to 10 people.
function sample_heavy_task($key, $lan) {
  for ($i = 0; $i < 10; $i ++) {
    drupal_mail('my_module', $key, 'sample@sample.com', $lan);
  }
}

Custom 4XX Pages

Component type

module

Categories

Maintenance status

Development status

Downloads

276

Component created

Component changed

This module can provide a custom 403, 404, 401 contents based on the path.

Once you enable the module, you can head over to /admin/structure/custom4xx_config_entity to get started.