Git --continue vs --no-verify

I use git commit hooks to run my code through code sniffer prior to commit.  If the code is not up to code style standards, the commit fails and you have to go fix it before it will commit.  In some rare instances (kept to a minimum of course) there is code that will just not pass code style review.  In those cases it is best to wrap the code to make it exclude review.

Codit: Blocks a video introduction to making custom blocks

This screen share walks you through why you might want a more powerful way of making blocks and why Codit: Blocks is a good candidate if you need lots of custom blocks.

Codit and Codit: Local Introduction Video

This is a short screencast showing the basic concept of Codit and Codit: Local and where to place them in a Drupal site.

Install a Drupal Site and Profile

To install a Drupal site into a specific directory, this process works nicely with drush:

Drupal Code Style Review

Do review you Drupal code for style:
Install coder and enable enable it
drush dl coder
drush en coder

Then to run code style review on any module, cd into the module

drush dcs

Or on a specific file:

Installing drush

Here are some commands for installing drush from the command line

sudo apt-get install php-pear
pear channel-discover pear.drush.org
pear install drush/drush
drush version
pear upgrade drush/drush

But this is the new preferred way using Composer on *nix

# install composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=bin --filename=composer
# You may need to mkdir ~/bin first if you don't have one.
Subscribe to RSS - Drupal