Categories
WordPress

How to insert an ad between posts in WordPress

Does your project call for you to insert an ad, graphic, or some other type of content between posts? If so, there’s a very easy solution. A typical loop looks like this, taken from the twentyfourteen theme: if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( ‘content’, get_post_format() ); endwhile; else : get_template_part( ‘content’, ‘none’ […]

Categories
Drupal Development Resources

Drupal 7 Ubercart 3 Disable cart change quantity field

There may be some instances where you may not want your users to change their quantity on the cart page. An example may be where you want to limit an item to one per order. There are many ways to limit in the product’s node page, but the cart page presents a loophole where the […]

Categories
Drupal Development Resources

Better Password Reset in Drupal 7

Password resets have always been an issue with Drupal 7. Normally the password reset link goes to a landing page telling you to change you password, then it directs to the user account edit page and doesn’t force the user to change their password. So what happens is they never end up changing their password […]

Categories
Drupal Development Resources WordPress

Tutorial: Use rsync on Linux based servers to move/launch your websites

Project files move around several times during the development process. A standard cycle includes: Development environment – usually someone’s laptop/desktop or a private area of a web server Staging environment – usually on the web but password protected or not indexed by search engines Production/Live environment – this is ultimately where the website resides, usually […]

Categories
Downloads Drupal Development Resources Lamplighter

Lamplighter Content Authoring – Drupal Text Formats and Wysiwyg starter kit

Lamplighter Content Authoring is a starter kit to be used with new Drupal installations. It creates “Filtered HTML” and “Full HTML” text formats and an accompanying Wysiwyg profile for each with buttons and plugins enabled. After enabling the feature, you can turn it off and customize your text formats and wysiwyg profiles to your own […]

Categories
WordPress

Drush Equivalent for WordPress, WP-CLI

After developing with Drupal for years, we’ve become spoiled having Drush at our disposal. WP-CLI (WordPress Command Line Interface) is the closest thing we’ve found and is just as awesome. Couple of key things we like: Can be installed without sudo permission, so it will work with shared hosting environments with SSH access Easily install […]

Categories
Drupal Development Resources

Who bought what with Ubercart

We had set up a Drupal website with Ubercart that sold tickets to events and the client needed a convenient way of displaying a list of customers who bought tickets to create a check in list. The Who Bought What module fit the bill perfectly. This module comes preconfigured with: Selectable list of products to […]

Categories
Drupal Development Resources

Drupal Related Posts Blocks in Drupal 7

This is an update to my original post for related posts blocks in Drupal 6. Created a block of links for related posts is a useful way to keep visitors engaged in your website and continue reading. This method is specifically for showing other nodes with the same taxonomy terms, but it can be modified […]

Categories
Drupal Development Resources

Custom Paths for Taxonomy Menu in Drupal 7

The taxonomy menu module is an way to generate a menu of taxonomy terms assigned to nodes. Practical examples include: Product catalogs Blog topics Node filters You could achieve the same effect by manually creating a menu and updating the links occasionally, but that's slow and impractical for sites with a lot of constantly changing […]

Categories
Drupal Development Resources

Create a Confirmation Email with Webform in Minutes

It goes by many names: Thank you email Confirmation email Email Receipt They’re great for follow-up instructions or a simple “we got your message.” Thanks to the Webform module for Drupal, you don’t need even need to know any code to set this up. Here’s how you do it: 1. Download Webform module Get It […]