Drupal 7

Drupal: Altering Page Title and or Title Tag

Sometimes you need to alter the title that appears on the page and or the title tag in Drupal 7. If you need to make them both the same, a call to drupal_set_title() from within a hook_preprocess_page() will do it.

Get data from a drupal field

An alternative to field_get_items() and field_view_value() two-step as a method of retrieving field values,
Entity metadatawrapper seems to be an interesting a useable method of getting what you need out of the node.
https://www.deeson.co.uk/labs/programatically-access-field-data-using-en...

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.

Comparison of Drupal 7 Block Building Modules

Blocks within Drupal 7 is a powerful  method of displaying supporting content on Drupal sites.  Blocks can be simple output with just series of links or can contain highly processed information, or partial content of a node.

There are several modules that support the creation of blocks.  They are each quite different.  Here is a comparison of the major features of each to help you decide.

Codit: Debug output from $_GET

Sometimes you need to debug something on the live server. It should generally be avoided, but sometimes you have no other choice. When you are stuck, Codit can be a lifesaver with codit_debug();

Codit allows you to create a debug slug that when passed in the query string, grants access to whatever output is triggered.

Drupal mail service for development

Sometimes you don't want email sent from development environment, and sometimes you want to see what would be sent.
Project Maillog does a nice job of saving all email sent to the db and provides an interface for viewing them. It also lets you turn actual sending off, so that you are not actually sending out email.
https://drupal.org/project/maillog

Render array - content with a wrapper

Here is an example of a basic rendering with content and a link

Install a Drupal Site and Profile

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

Pages

Subscribe to RSS - Drupal 7