Profile Enable

Component type

module

Categories

Maintenance status

Development status

Downloads

710

Component created

Component changed

FIRST THINGS FIRST: THIS IS NOT A MODULE. PLEASE READ BELOW

'Profile Enable' is an extension for Drush. This extension provides a new Drush command, profile-enable, which is designed for the enabling and re-enabling of Drupal installation profiles. Now I know that Drush itself can handle this perfectly well using pm-enable and installation profiles are modules. But I do want to make you aware of a special use case that required the development of 'Profile Enable'.

drush_vset_array

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Update a value in a multidimensional associative array using drush.

E.g.

variable_set('my_array', array('foo' => array('bar' => 0)));

drush vseta my_array foo bar 1

print_r(variable_get('my_array'));

outputs:

Array( [foo] => Array( [bar] => 1 ) )

IMCE Prettyfiles

Component type

module

Maintenance status

Development status

Downloads

770

Component created

Component changed

Syncing content between different website instances can be quite painful, especially if you're using a hosting management tool like Aegir which takes over a lot of the configuration of your website. Your image files are then located in a host name specific folder like eg:

/sites/hostname_of_your_website/files/..

IMCE in combination with the WYSIWYG will write the full paths into the HTML content of a WYSIWYG field like:

/sites/hostname_of_your_website/files/image.png

Drush Destination Alter

Component type

module

Maintenance status

Development status

Downloads

1046

Component created

Component changed

THIS IS NOT A MODULE. YOU CAN'T ENABLE IT. FOLLOW THE INSTRUCTIONS.

Manage your Drush downloads using the --uri (shortcut: -l) option.

Both versions - 7.x and 8.x are the same. Two branches were created to support drush dl destination_alter inside of Drupal 7 and Drupal 8.

Allow a content type only once (Only One)

Component type

module

Maintenance status

Development status

Downloads

1549

Component created

Component changed

The Allow a content type only once module allows the creation of Only One node per language in the selected content types for this configuration.

Uses

Configuring content types

To configure the content types to allow for Only One node per language, visit the Only One page (admin/config/content/onlyone), in the Available content types for Only One section check the content types that should have Only One node per language, for this you need the Administer Only One permission.

File permissions

Component type

module

Maintenance status

Development status

Downloads

7820

Component created

Component changed

This module provides drush commands for setting up correct file permissions in your Drupal instance.

It takes care of creating sites/default/files and sites/default/private on your Drupal installation and updating them in variables table, so you don't have to do that through the UI. It also takes care of creating .htaccess files in those subdirectories. But most importantly it maintains correct permissions on those directories.