Round Rock / Austin, Texas
Drupal Web Developer

Drupal 7

Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/thefoxes/foxwebdevelopment.com/includes/common.inc).

HighTopRoofing.com Goes Live

Whoo hoo!  Another successful Drupal 7 project launched today!  This was a collaboration effort with SNR Advertising, and First Place Marketing.

One of the unique features of the site is that there are actually 2 sets of color scheme/header/logo combinations to represent 2 separate businesses.  The content authors have the ability to choose which look and feel they want for each individual page of the site.

Vistit the site at www.HighTopRoof.com

Drupal 7 Website for Construction Company: HighTopRoof.com
View Article

How to Display the User Login or Register form in PHP in D7

Need to display the user login or registration form within your php code?  Here's how!

Display User Login in PHP for Drupal 7
View Article

How to print a Region in node.tpl.php (or another custom tpl.php file) in D7

In theme’s .info file:

regions[content_bottom] = Content Bottom

In your theme's template.php file:

//Make our regions availalbe in the node templates function MYTHEMENAME_preprocess_node(&$vars) { if ($blocks = block_get_blocks_by_region('content_bottom')) { $vars['content_bottom'] = $blocks; $vars['content_bottom']['#theme_wrappers'][] = 'region'; $vars['content_bottom']['#region'] = 'node_region'; } }

In node.tpl.php:

print render($content_bottom);
Drupal 7 Print Region
View Article

Where the heck did the Show/Hide Submission Text Go in D7???

Anyone who's been working with Drupal for a while has definitely figured out that there were a LOT of changes from 6 to 7.  One that I had a hard time finding is where in the world the option to show or hide the Submission info went.  It turns out it's on each content type's setting.

Go to Strucure >> Content Types >> [Select your content type] and look under the "Display Settings" section.

Drupal 7 Submission Text Setting
View Article

How to Print Raw Text Values in node-xx.tpl.php (Drupal 7)

Need to print a value of a CCK field in a node.tpl.php file?

This is how to get the raw text value:

$content['field_YOUR_FIELD_NAME']['#items']['0']['value']

View Article

Pages