Quantcast
Channel: Tips and Tricks
Browsing all 16 articles
Browse latest View live

Output an image as a link with the Drupal l function

The l function i

View Article



Create a user account in Drupal 7 programmatically

As a follow up to my post on how to create a user account in Drupal 6 programmatically, I ran into a situation where I needed to do this in Drupal 7. Pretty similar but a few differences. So here you...

View Article

MySQL Datetime to PHP date format

An easy one today. I often have to remind myself of how to convert a MySQL datetime to something a little more usable... a UNIX timestamp. The strototime versionIt is incredibly easy, just use the PHP...

View Article

Drupal 6 Ubercart determine if node is a product content type

Note: Turns out there is a much easier way to do this as there is an Ubercart function that does essentially the same thing (thanks to the comment below that pointed this out). Just...

View Article

Hiding Drupal 7 Page Titles using theme_preprocess_page

I wrote a post on Hiding page titles for specific node types in Drupal 6, this is just an updated post for Drupal 7.The code is essentially the same, but requires just a minor change. If you want to...

View Article


Image may be NSFW.
Clik here to view.

Drupal 7 Increase Max File Upload Size

Have you ever ran into a problem where you needed to upload relatively large files and still want to be able to manage these from the Drupal 7 administrative interface? If so, you may run into a...

View Article

Drupal 7 Registry Issues After Drupal Core update

I recently was helping a new Drupal developer with some issues after they attempted a Drupal update that really messed up their Drupal website. They were getting a bunch of Fatal errors that were...

View Article

Drupal 6 Displaying a block multiple times on the same page or in different...

There are some times in Drupal 6 where you push the limits of what the blocks interface can do. If you need to display the same block, multiple times on the same page, you will start to see these...

View Article


Image may be NSFW.
Clik here to view.

Drupal 7 jReject Module

Episode Number: 170In this DDoD we look at the jReject module. This module allows you to display a modal popup notifying the user / visitor that their browser is outdated and wont work well with the...

View Article


How to use n:th child to style views

The Problem

View Article

Image may be NSFW.
Clik here to view.

Drupal 7 Search Krumo Module

Episode Number: 171The Drupal 7 Search Krumo Module extends the Devel module and makes it easier to debug PHP variables while developing Drupal modules or building Drupal themes. It adds a simple...

View Article

Drush Cheat Sheet

As developers we always are looking for ways to become more efficient. After all, time is money.

View Article

Git Cheat Sheet

There is a saying that "All good things come to those who wait".

View Article


Image may be NSFW.
Clik here to view.

Drupal 7 Touch Icons: How to add Apple specific icons

Episode Number: 194Today, there exist many different options to digest content. One of the most popular options is Apple products like the iPhone and iPad. A unique thing about iOS is that they use...

View Article

Selecting a Javascript Framework [Infographic]

Drupal 8 coming (queue suspenseful music)!

View Article


Image may be NSFW.
Clik here to view.

How to A/B test your Drupal Site

Episode Number: 208Are you testing your site? Until recently, we weren’t and it was costing us. Every element on your website should have a meaning and if you aren’t testing it against something else...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images