Round Rock / Austin, Texas
Drupal Web Developer

Blog

Drupal Constant Contact Module Erroring Out

in the module's class.cc.php file, change the beginning of function get_lists

 

    function get_lists($action = 'lists', $exclude = 3)
    {
        $xml = $this->load_url($action);

        if(!$xml):
            return false;
        endif;

[field_youtube_video_link] More

Print only the Body field in Drupal 7


print $node->body['und'][0]['value'];

or try

print render($content['body']);

[field_youtube_video_link] More

How to Style a Dropdown Select Box

Here's a great article on how to style a drop down option with your own arrow image instead of the default browser arrow.

http://bavotasan.com/2011/style-select-box-using-only-css/

[field_youtube_video_link] More

How to Add Google Fonts to Drupal Theme

Drupal themes are a little special in that you have to take special steps to add tags or code to the <head> tag of your html.  If you want to include a Google Font to your theme the most efficient way to do this is to add this code snippet to your theme's template.php file:

 

[field_youtube_video_link] More

Drupal vs. Wordpress

I've used a number of different content management systems over the past 7 or 8 years including OS Commerce, Zen Cart, Joomla, Drupal, and Wordpress.  They all have their pros and cons and depending on the project one may be better suited for it that another.

[field_youtube_video_link] More

Pages