Round Rock / Austin, Texas
Drupal Web Developer


How to add the Viewport metatag for Drupal 7 sites

If you want your site to be responsive and mobile friendly, the Viewport metatag must be included in the <head> tag of your html.

To do this in Drupal 7, in your theme's template.php file add this code:


[field_youtube_video_link] More

How to Check if a CCK Field Exists on a Node

Getting 'index not defined' errors because you're trying to use a field that may not exist or have a value on a node? Here's a way to check to make sure the node has a value for the field before trying to actually do something with the field.

[field_youtube_video_link] More

How to Print CCK Fields in Custom node Templates (node--custom.tpl.php)

If you have a custom node template such as node--news.tpl.php and want to print out values of the fields there are a few ways to do this, depeding on what all you want to be rendored.

The two I use most often are:

1) The simplest way, which gives you all the wrapper classes:

[field_youtube_video_link] More

How to Change the Background Color of your WYSIWYG Editor

WYSIWYG Background Color

For tinymce:


[field_youtube_video_link] More

Create a Website Potfolio Showing Sites on Multiple Devices

This is a super awesome tool that will grab separate screnshots for an iPad, Laptop, and iPhone! Use it to generate images for your website portfolio!!/stages/ipad-macbook-and-iphone-6


[field_youtube_video_link] More