Gravity Forms – Moving the validation errors message ABOVE the pagination controls
Posted on | June 15, 2018 | No Comments
Wow, there’s a title!
Gravity Forms is a WordPress plugin that allows the user to create and manage a collection of forms to be published on posts and pages. An example of this is a simple Contact Us form. One of the features of Gravity Forms is the ability to paginate the form. That’s right! If you have 50 form elements, instead of having them all on one page, you can break them up to five pages of 10 form fields a page.
Add products to category quickly!
Posted on | June 4, 2016 | No Comments
A client is syncing their product database from their system to Magento, but their system only allows a product to be in one category. I was asked to run a cron script nightly to check for an attribute on the product and place those products into an additional category.
Knowing how slow save() is, I started to dig around and come up with the below code.
Benchmarking this code against the regular way of doing it, I saw the times drop from about an hour and a half for 1,200 products to five seconds!
Read more
Reviews Stars
Posted on | March 11, 2015 | No Comments
This blog post will teach you how to create a stars-rating using very little HTML and CSS.
Google Minify and Far Future Expires Header
Posted on | November 3, 2014 | No Comments
Read more
Get all emails from Gmail with a specific label, using Google App Scripts
Posted on | May 15, 2014 | 1 Comment
Introduction
Something I use at work is a task-tracking website. At the basic level, you give the task a short title, a long description, one or more flags, and estimate how long it will take to complete. A cool feature of this website is that they offer an api for registered users.
The boss wants any IT support issues to be logged into this task-tracking website so that any of the support team can see what has or has not been started and fix the issue.
All issues for IT support are being sent to a single mailing list on Gmail. This, I thought, is a perfect opportunity to play with Google Apps Scripts.
In this blog post I am going to show how to get your recent emails from Gmail, and POST to an API depending on the email’s label.
Providing user feedback on background operations
Posted on | September 4, 2013 | No Comments
Read more
Some jQuery Optimisations
Posted on | May 31, 2013 | 2 Comments
This post hopes to teach you how to optimise your code to run that little bit quicker.
Read more
Magento XML Setting Parameter Values
Posted on | May 28, 2013 | No Comments
Read more
Notepad++ VS Sublime 2
Posted on | May 13, 2013 | 12 Comments
Where I work nearly every other developer is using Sublime 2, whereas I am working on Notepad++. Having seen the features and the way the other developers have set up their Sublime 2 environments, I have fought against the peer-pressure as I believe that Notepad++ is the same as (if not better than) Sublime 2 as both use plugins to do pretty much the same thing.
Here is your chance to change that. This poll will be ran for a few weeks, then I will go with the winning option.
Zend Framework Routing Solutions
Posted on | April 18, 2013 | 6 Comments