Blog

ChrisOctober 23rd ’13
Debug the "Warning: Invalid argument supplied for foreach() in element_children() (line 6xxx of .../includes/common.inc)." error in Drupal quickly with this little snippet!

When creating a Drupal site with the hopes of user engagement you generally need users of the site to have an account. Often potential users don't want to share their email account or other personal information with just any random site on the internet and this barrier can be a huge hurdle when it comes time for them to signup. An effective way around this is to leverage third party login services such as Google+ or Facebook. In this short tutorial I'll show you how to enable the latter on your Drupal site.

So you've been reading about this Drush-based server management tool called "Seed" that we've been touting for the past year and you want it. There's just one problem. You're on OSX. Well have no fear, follow this tutorial and you'll be up and running with Seed on your Mac in no time!
When a user is trying to search something on your website, you want to help them find what they want quickly. We are human, we make mistakes. When users make a typo, we should try to guess what they are looking for so that they don't have to type it again. Especially when more users use their smart phone/tablet to browse the web. It is much harder for them to re-type their searches.

When starting a new responsive site at Fuse, our starter theme includes a <meta name="viewport"> tag that tells mobile devices to render the content within a viewport the same width as the physical screen – standard practice these days. But there’s a side-effect: a “zoom-in” effect that happens when switching to landscape mode.

Here’s the code:

Pages