Quit Blaming Browsers & Users: We don’t all have to be the same!

I recently watched a talk given by Kyle Simpson at the HTML5.tx conference on February 2nd, 2013: Browser Versions Are Dead. It’s a little less than an hour long, but I think well worth the time. Basically, he explains why developers need to quit blaming browsers for their problems. An idea that I completely agree with and hope other developers take to heart.

Continue reading “Quit Blaming Browsers & Users: We don’t all have to be the same!”

jQuery Traffic Pop Plugin

Tired of those overly priced simple scripts on sites like CodeCanyon? Me too! I can understand why others that aren’t developers spend money on them, but if you’re a dev purchasing scripts like Social Traffic Pop or Facebook Traffic Pop, you’re throwing your money away. To help stay true to the open-source philosophy, here’s an alternative Traffic Pop jQuery plugin that can be fully customized to suit your needs.

See it in action!

Traffic Pop jQuery Plugin


You content here (ex. social network sharing buttons)

Download Now (Version 1.1) Fork on GitHub

Implementation

Simple stuff! Just a disclaimer, I’ve haven’t throughly tested this in all browsers so let me know if you run into any issues. I’ll be happy to fix and update it.

This script also uses the jQuery Cookie Plugin v1.3.1 by Klaus Hartl (already added into the jquery.trafficPop.js).

The HTML

The CSS

All of which can be customized to suit your site’s needs.

That’s it!

CSS Print Stylesheets — Print in style!

An often overlooked part of development are CSS print stylesheets. Printing pages directly from the browser can lead to frustration. Done right — you can have an optimized page that uses a minimum amount of ink and paper and ensures that everything is easy to read.

CSS print stylesheets are often overlooked, if ever even thought about. Most frontenders are more obsessed with pixels than printers. Often, what get’s printed and what’s shown on the screen are completely different. From images wrapping in odd places to cut off pages, printing webpages can sometimes be a big headache. In this post, I’ll go over some helpful tips and tricks when creating these stylesheets that’ll save you hours of frustration — and make your site print in style! Continue reading “CSS Print Stylesheets — Print in style!”

WordPress or Drupal: Compare to learn what’s best for your site!

I recently received a message from a local Austin computer technician, Sergio Garcia. His question is a common one among business owners looking for a quick and easy solution to setup and mange their new sites, which is better, WordPress or Drupal.

Hey I just have a quick question, I fix computers in the South Austin area for a living and it has been time for me to have a website. Nothing too complicated but a good-looking simple and effective page where guests can find my business phone number, map where they can find me, maybe with a slider in the first page with pictures of my work and the office, blog and all that.
I don’t know much but I hear Drupal and WordPress are good options but I do not know which one is better.
Thanks,
Sergio

Do a quick Google search for WordPress or Drupal and you’ll find article after article proclaiming one over another. It’s a never-ending debate that’s been taking place for decades. Years ago, there may have been a right and wrong answer to that question, but with time comes technology and technology is what builds advanced CMS. Since the release of WordPress 3.0 on June 17, 2010 and Drupal 7 on January 5, 2011, the line between which is better has become fuzzy. It’s no longer a question which is best, but which is best for each person site’s needs. I might take some flak for this statement, but I challenge my readers to prove me wrong; There’s nothing a WordPress site can do that a Drupal site can’t and nothing a Drupal site can do that a WordPress site can’t.

Continue reading “WordPress or Drupal: Compare to learn what’s best for your site!”

Drupal Preprocess & Process Functions

Need to override something in Drupal? Welcome to Drupal preprocess and process functions — your variable override headquarters. Here’s a simple explanation of what they are and how to use them.

The main role of the Drupal preprocessors is to set up variables to be placed within the template (.tpl.php) files. In Drupal 7, they apply to both templates and functions. The preprocessing hook provides frontend developers more control over the output allowing for more clean, efficient code. With a little basic PHP knowledge, after having read this post. Drupal preprocess and process functions will by crystal clear. Continue reading “Drupal Preprocess & Process Functions”