Category Archives: Tutorial

Gravity Forms Shortcode Explained

This post is about Gravity Forms, a WordPress contact form plugin.

What are shortcodes?

Think of shortcodes as a placeholder for where other content will be displayed: instead of “Insert a Gravity Forms form here,” we use the gravityform shortcode. Learn more about shortcodes on WordPress.org.

The Gravity Forms shortcode has five pieces:

[gravityform id=# name=TEXT title=boolean description=boolean ajax=boolean]

  1. id (required) – The ID of the form, as displayed on the Gravity Forms Edit Forms page in the Id column
  2. name (required) - The name of the form.
  3. title – Show the title to users? Default is true; set to “false” to disable
  4. description – Show the form’s description to users? Default is true; set to “false” to disable.
  5. ajax – Submit the form without refreshing? Default is false; set to “true” to enable.

Gravity Forms Shortcode Examples:

[gravityform id=1 name=Example Form title=false description=false ajax=true]
Will result in Form #1 being displayed without a title or description, with no-refresh entry submission.

Posted in Tutorial, WordPress | Tagged , , , , | 6 Comments

Enable PDF Uploads in CubeCart 4

No swimming, no file uploads in CubeCart either!The CubeCart file and image uploader in the product editor only allows for a small set of file types: jpg, gif, jpeg, png, swf, fla, jpg, gif, jpeg, png, avi, mpg, and mpeg. If you want to upload a PDF in CubeCart, you will have to manually FTP it into the uploads folder, and even then the file browser won’t show you PDFs. If you try to upload PDFs, you’ll get the following alert: “Invalid file type.”  Well here’s how to fix that.

Posted in Tutorial, Web Development | Tagged , , , , | 1 Comment

Two Easy Ways to Add “nofollow” to WordPress Menu Items

By default, WordPress menus don’t have the ability to add “nofollow” to the link items…but WordPress 3.0+ has the functionality built in.

This tutorial will show you how to add nofollow to specific items using the new wp_nav_menu() function.

Posted in Tutorial, WordPress | Tagged , , , , | 9 Comments

How to Add an `Edit Product` Link for Interspire Shopping Cart

Why can’t I just click a link to edit the product I’m viewing?

Interspire, I love ya, but the Interspire Shopping Cart has some silly omissions. Like a simple “Edit Product” link if you’re logged in as an administrator. Instead, you have to go to the backend, search for the product, then edit it…which takes a solid 20 seconds.

Well, I got tired of that, so here’s a way to generate a proper Edit Product link.

Posted in Interspire, Tutorial | Tagged , , , | 6 Comments

Un-Ban Yourself from WHMCS Administration

WHMCS Client Management

Is your IP banned from your own WHMCS?

Who can remember all their passwords all the time? I have a password manager, and I still don’t get it right.  I use the WHMCS software to manage client hosting and such, and so sometimes I get locked out of my own system because I’ve tried too many times to log in!

Here’s how to un-ban yourself:

Posted in Tutorial | Tagged , , , , , | 9 Comments

Interspire Shopping Cart — Add a Brands Drop-Down Menu

Don’t use the Interspire Shopping Cart? Check it out; it rocks.

The Interspire Shopping Cart is a great tool, but it’s missing some stuff out of the box.

This is how the Panel looks in the 'Adventure' theme.

This is how the Panel looks in the 'Adventure' theme.

I am working on a shopping cart for a client, and wanted to incorporate a drop down menu of brand names using a standard <select> form. Sounds easy, right? Well, it’s not included in the Interspire cart.

The Interspire cart has few brand options out of the box:

  • The Brands tag cloud – using the SideBrandTagCloud.html Panel
  • Brands unordered list – using the SideShopByBrand.html or SideShopByBrandFull.html Panels

This tutorial will show you how to add a brands drop down menu in 5 steps.

Posted in Interspire, Tutorial | Tagged , , , , | 39 Comments

Redirect a Website in ColdFusion – Add www. or Move to New Domain

ColdFusion, BabyRedirecting a website in ColdFusion (.CFM)

I have been working on a ColdFusion website, and I wanted to find a way to require ‘www.’ in the URL (to consolidate all pages on www. for SEO). I normally work with PHP and Apache servers, so I’m used to .htaccess. I knew there had to be a way.

Here’s a simple method of redirecting a whole website in ColdFusion:

<!-- If the site isn't www... -->
<cfif (CGI.SERVER_NAME NEQ "www.example.com")>
<!-- Save the URL (and $_GET variables too) as the string 'strUrl' -->
<cfset strUrl = CGI.script_name & "?" & CGI.query_string />
<!-- Use 301 for SEO-friendly redirects -->
<cfheader statuscode="301" statustext="Moved permanently">
<!-- Redirect to new website (this case, added www.) with strUrl added on -->
<cfheader name="Location" value="http://www.example.com#strUrl#">
</cfif>

Posted in Tutorial, Web Development | Tagged , , , , , | 1 Comment

Integrate Blogger Into your PHP Website using Includes

Blogger Banner

PHP includes for Blogger

Before writing this post, I looked online to see if others have written about this same topic. This might as well be Michael Gray’s “Integrating Blogger Into Your Website: Part II”, which he never wrote — though he did write Part I.

Step 1: Switch Blogger files to PHP

First, you need to update your publishing settings so that Blogger publishes your posts in PHP, not HTML (thanks to DevDoctor):

  1. Set up your blog to publish via FTP (on Publishing tab)
  2. Change the ‘Blog Filename’ to index.php
  3. Change ‘Archive Filename’ to archive.php (on Archiving tab)
  4. Finally, delete the old index.html file from the blog directory (otherwise it will probably take precedence over the new index.php)

Once you’ve got Blogger pushing out PHP, you’re able to do PHP stuff with the site:

  • Update the entire site at once - When I create a website, I always want to create the structure using PHP includes, so that I can set global site variables, and if I change it in one place, it changes across the whole website.
  • Set active navigation – Using SSI includes, I used to have to include a different file for each blog section on the site so that I could up. Here, I just send a variable to the navigation.php file, which tells it what page is active.

Next, I will show how to include these files.

Posted in Blogging, Tutorial | Tagged , , , , , , , , , , | 19 Comments

How to Create a Google Profile and Manage your Online Reputation

As seen on 7News – View the video on TheDenverChannel.com

Denver 7News

Why Google Profiles matter to you

Receive monthly tips like this one on how to get online exposure

As featured on the May 20th 7News program featuring Zack Katz of Katz Web Design, Google Profiles are a great way to be found online for your own name, even if you don’t have a website.If you set up an online profile with Google, a person looking for you online will be able to find you more easily.

Your profile will show up in search results

In the past, if you wanted to be listed in search results for your own name (it’s called a “vanity search”), you often needed your own website. Google is changing that, and giving users the power to show up in a search result with a picture and link to their profile.

Google Profile Embedded Results

The Google Profile box embedded in the search results for Zack Katz

In April, Google has started giving Profiles a prominent placement in search results. It is safe to presume that Google will be further incorporating the Profiles in the future, and assigning them more value. If you want to improve your findability online, setting up a profile is a great step to take.

Posted in Google, SEO, Tutorial | Tagged , , , , , , , , | 7 Comments

How to Create a Custom RSS Feed in WordPress in 12 Lines of Code

Custom RSS feed me!

Custom RSS feed me, Seymour

Recently I wanted to create a feed for Google base that used a bunch of custom fields that I had created. It wasn’t easy to find what I was looking for online, so I thought I’d show how simple it is to make a custom feed & feed template in WordPress.

Posted in Tutorial, WordPress | Tagged , , , , , , , , , | 75 Comments
12