How Do I Prepopulate a Form Field Based On Previous Page Input?

Learn more

jQuery / Javascript

How Do I Prepopulate a Form Field Based On Previous Page Input?

Ashley Wright • December 13, 2017

In this scenario, say you have a newsletter signup form on your homepage with one single email field to fill out. On submit of this field you would like the user to be sent to a new…

Read More

SQL

Automating Website File Backups

Droo Hastings • December 5, 2017

Automating Website File Backups Admittedly, this is not the most exciting topic to some, but one of the greatest things about the ever-evolving tech landscape is how we continue to find ways to offload tasks that…

Read More

jQuery / Javascript

Can strings be compared fuzzily?

Mike Wang • November 20, 2017

It’s Thanksgiving week and you’re putting the finishing touches on your new e-commerce site, just in time for Black Friday. You’ve just gotten the product search functionality working, so you kick back in your chair and…

Read More

Drupal

How do I get a page’s current URL in Twig for Drupal 8?

Buttons Kavanagh •

Having access to a site’s URL in your templates can come in handy for many different use cases, but one of the more common scenarios might be for those of you building multi-sites. Let’s say you’re building a site…

Read More

jQuery / Javascript

How do I update the URL on button click?

Biz Cook • November 14, 2017

Do you have AJAX on a page and want to change the URL accordingly based on the new content? The following code will get rid of the last bit of the slug on your page and…

Read More

jQuery / Javascript

How do I place SVGs on a Google Map using Custom Overlays?

Loren Wright • October 31, 2017

The Google Map API is very robust and allows you to do almost any customizations that you need to do to a map. One of the features that Google has created is Custom Overlays. A custom…

Read More

API

How to tell which action and filter hooks are available in a particular version of WordPress

Laurel Johnson • October 30, 2017

If you ever need to know if a particular hook is available in the latest version of WordPress, Adam Brown has got you covered.  If you ever need to know if a hook is available in a…

Read More

jQuery / Javascript

How do I make numbers ‘roll up’ when counting?

Darren Hagen • October 23, 2017

During a project recently we were tasked with demonstrating a number counting up in the way of rolling. A good way to describe the action is how you would see an old gas pump price or…

Read More

Drupal

How do I set up a Drupal 8 Module to be an AJAX service?

Sarah Berg • October 9, 2017

File structures seem a lot different in Drupal 8, and I’m still getting the hang of them. This is an example of a simple module I made, so hopefully it can be a good starting point…

Read More