RSS

Things I support

Drupalize.me - A great way to learn Drupal
view counter

Newsletter

The CodeKarate Newsletter is the best way for technical ninjas to keep their swords sharpened. Don't worry, we won't flood your inbox and your email address will always remain private.

Need help?

Do you need help with a Drupal or Django project?

Contact Me

Back to Top
14
May
2012
1
Teaser

This is a guest post from Adam, my Co-founder at BEgINr Media

When finished: After you get through this tutorial you will have made a custom Quicktabs style in Drupal 6.

This is how to do it.

Stuff I am assuming:
...you have downloaded the...

11
May
2012
Teaser

So you need to theme the Add to cart form that is output by Ubercart? If so, read on for more information. If you are looking to change the general theme or style of the Ubercart product node page, then you might want to look at my post on...

09
May
2012
Teaser

It is possible to override a specific pager for a specific views using a theme function in your template.php file. Here are the steps needed:

Theme Views Pager Step 1

No matter how you want your pager to look, make sure to select mini pager within views. This...

04
May
2012
16
Teaser

In the comments of a past post discussing best Drupal modules, it was recommended not to use Webform for contact forms. So for a project I am currently working on I decided to just use the Drupal 7 contact...

30
Apr
2012
9
Teaser

I often get asked what is the best way to go about learning Drupal or the best way to get started with website development. Because of these questions, I decided to put together a list of things I wish I would have done first, when I started to teach myself Drupal.

Learning Drupal Tip #1...

24
Apr
2012
31
Teaser

Over the years I have used hundreds of Drupal contributed modules and have written a lot of my own. However, I thought it appropriate to compile a list of my 10 best Drupal 7 contrib modules that I don't think I could live without.

Criteria for my best drupal 7 modules list

...

22
Apr
2012
1
Teaser

Ran into a views and panels issue today that was very simple to fix, but difficult to track down. Here is my situation in case you run into a similar views/panels issue.

I have one Drupal 7 panel page that does a lot of visibility rule filtering based on the path of the panel. Depending...

19
Apr
2012
Teaser

If your Drupal cron has failed, and if you see this in your Drupal 6 log, I feel your pain:

Attempting to re-run cron while it is already running.

So what is going on here? Basically, a cron run started and for whatever reason did not finished... and frankly, probably...

13
Apr
2012
Teaser

There may come a time where you need to force a user to see your site under HTTPS. If you only have one site on the server, you can easily add something like this to your apache config file:


Redirect permanent /...

06
Apr
2012
Teaser

If you have a node with an image field in Drupal 7 and need to manually print the image, here is a quick code snippet for theming the image:

$my_image...

03
Apr
2012
Teaser

Ran into a situation today where I had to delete content from a group programmatically. Basically I have a setup where a group can only have one of a specific type of content posted to their group at any one time. I have it set up so a user can control which one is posted into the group but it...

03
Apr
2012
Teaser

Needed an easy way to add content into an organic group using Drupal 7. I ended up using the og_group function provided by Organic Groups (in the og.module file). Here is the quick solution that worked for me.

...

31
Mar
2012
Teaser

In my last post I discussed setting up a Payment Form in Django for entering credit card information. Here is how I tied it in on the back-end to integrate with Recurly for the recurring payments on http://getpropeller.com....

31
Mar
2012
Teaser

Was not able to find a drop in example of a Payment form for Django that worked for me on http://getpropeller.com to hook into Recurly's API for recurring payments. I found a few Django snippets that got me close, but had to...

21
Mar
2012
Teaser

This is a guest post from Mitchel Xavier. Mitchel Xavier is a Drupal Developer for a Drupal web design company in Sydney, Australia.

Drupal is usually not the first CMS that comes to...

19
Mar
2012
Teaser

Simple function that gets a list of all users subscribed to an organic group.

/**
 * Get all users of a group
 */...

08
Mar
2012
4
Teaser

I am using Recurly for recurring payments on the Propeller website. This site is a Django web site running on Heroku. I needed to fully integrate recurring payments so I opted to use Recurly's API instead of any type of...

08
Mar
2012
1
Teaser

At first I was a little hesitant to virtual environments in Django. Not because I didn't think it was a good idea, but because it seemed like a lot of extra work. After finally spending some time learning more about it, I can tell you that overall it is pretty easy and I would highly recommend...

03
Jan
2012
3
Teaser

Ever needed to override the Ubercart checkout page? Here is a quick tutorial on how to do it.

The first option is to use a form_alter() function from within a module, however in this tutorial we are going to discuss two theming options that can be used together if necessary.

The...

29
Dec
2011
1
Teaser

I recently ran into a problem of validating a URL in PHP. The simplest and most consistent way to validate a URL in PHP is to use filter_var(). Here is an example:

...

03
Oct
2011
2
Teaser

If you have an Ubercart E-commerce website built with Drupal 6 and need to need theme different catalog pages differently, you are not alone. I recently ran into a situation that required links to be a different color on a specific catalog page. That part was fairly easy as there were unique...

21
Sep
2011
Teaser

The l function in Drupal is an easy way to output a link. If you need to add html within the link you can set an array with the correct options.

Here are a couple of examples using the l function.

...

01
Sep
2011
Teaser

I recently wanted to create a comment system that was threaded but only allowed one level of replies. Basically I wanted something like this:


-Comment 1
---Reply 1-1
---Reply 1-2
-Comment 2
---Reply 2-1
---Reply 2-2

I still...

24
Aug
2011
3
Teaser

When using the traditional Ubercart catalog module, I have run into the problem of needing to classify and display products in multiple catalogs. You would think I could just create a block of the taxonomy terms, however that will create links to the taxonomy term pages and the display for that...

22
Aug
2011
Teaser

If you are a Drupal developer than you often will run into the problem of having multiple user accounts on one site. This is especially important when you have many different roles/permissions to check. There are many useful tools for helping with this issue. One useful tool is the devel...