php

  • Adding SEO Friendly URL’s to OpenCart

    First off, I must give credit where it is due. I got most of my information on OpenCart Clean URL’s from PHP Genious. In this post I will explain how friendly or clean URL’s work in OpenCart.

    Clean URL’s are built into OpenCart 1.5. To use SEO URL’s you need to enable them under your stores server settings, rename the .htaccess.txt file and add your SEO keyword for each product and category you create. The keywords will not be created for you. You must also have Apache mod_rewrite turned on. Most web hosts will have this on by default.

    Read More →
  • WordPress Development Framework

    Today I want to share the framework I’m building called advanced custom post types. The framework help you to rapidly create custom post types. It also auto-magically enhances the WordPress core post type messages using filters.

    You can find the project on GitHub as advanced custom post types. Be sure to use a php include to add the classes to your. The core class is in acpt.php.

    Read More →
  • Framework: Mustache

    If there is one framework I have come to love in the past few months it is Mustache. This tool is really great at manipulating content quickly and easily in about every language you could think of. I like the JavaScript and PHP forks.

    Read More →
  • Using FitVids.js with WordPress for responsive videos

    Dave Rupert and Chris Coyier launched a new jQuery plugin a few day ago called FitVids. The FitVids plugin takes fixed width videos and makes them responsive. Getting the plugin to work is a cinch and opens the door to responsive videos in no time.

    If you want to add responsive videos to your WordPress site you can use my plugin.

    Read More →
  • 14 sites every web designer should know about

    Google “web design” and you will find a slew a business. Not so helpful if you want to learn HTML, CSS, PHP, Javascript, marketing, content strategy, SEO and anything in-between.

    Even if you find a site that can help you, will it be correct and current? This is why I have compiled a list of sites you can trust and learn from.

    Read More →
  • Installing: xDebug

    Looking for a tutorial on installing xDebug is painful. Especially when you are using an unfamiliar system: Mac OS X, Windows or Ubuntu.

    This is why I turn to NetBeans.org. They make a PHP IDE for crying out loud. And it comes as no surprise, they have the best article on installing xDebug.

    Read More →
  • Send epic HTML email (Part One)

    I recently started hacking a crappy email script; slightly annoyed, I decided it was time to kick HTML email in the face. But, to do that I need a list of tools and requirements.

    Face kicking check off list: Hypertext Preprocessor mail() function, HTML and brains. Requirements? Send HTML and plain text email, with an attachment of Chuck Norris’ foot (Part Two).

    Read More →
  • Welcome to twenty eleven

    Wow, its already 2011. Another year filed away. A new year just beginning. This raises the question, what is going to happen this year? Well for one I can say the iPhone for Verizon… but, you already know that. I will also say we get Drupal 7, but like the former you know this too. So I’ll have to share whats on my mind, and see what you think.

    Read More →
  • Having problems getting PHP5+ to work with MySQL 5+?

    First off, I’m going to assume you know how to get PHP on your machine. If you don’t, check out my tutorial on setting up a testing server and come back here if you want PHP5.3.

    Now, on the PHP Installation website they explain how to get MySQL working with PHP5.2-. There is a file named libmysql.dll; its included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. If you are running PHP5.3 you will not find a file named libmysql.dll.

    Read More →