Moving to Mandrill to SparkPost this week? (A lot of us are thanks to this.)
In Mandrill (and possibly other transactional email services) we can use the API to send emails using templates. We send a bunch of information including recipients, content, metadata, and subject, ad we let ‘er fly. Boom, done.
For the most part, I’ve found SparkPost to be pretty similar, except on one point: subject lines. Specifically for emails sent using templates. When you’re using a template, several … Keep reading »
At least as of version 1.5.1, the awesome Vitalets Bootstrap X-Editable plugin has a maximum date for its datepickers of 2015. Why? I dunno. I just work here. But it’s a simple fix.
After you get things rolling by applying the plugin to whatever element, like so…
Change the default maximum year thusly:
$.fn.combodate.defaults.maxYear = 2531;
Or whatever year you want.
While you’re there, you could also change the minimum date to something a little more recent than 1970:
$.fn.combodate.defaults.minYear = 2010;
Sometimes you want to draw a user’s attention to a certain input or element. One way to do that is to flash or pulse the element. But when you google this, most examples involve flashing the whole background, such as with jQuery UI’s highlight effect. But if you’re like me—as I definitely am— you might think that is a little much. Or maybe it just doesn’t fit well with your design. Here’s how to do it without extra … Keep reading »
Ok, if you’re reading this, I’m assuming you know what CORS means, so I won’t tell you that it stands for Cross Origin Resource Sharing. Or maybe I just told you.
So you want to do something on a mapped network drive using PHP, but it simply tells you it couldn’t find the drive? Worry not.
What’s going wrong?
The problem is that PHP runs under the SYSTEM account, and the SYSTEM account can’t access mapped drives.
So, we need to map the drive from the SYSTEM account. You can do this from your PHP script, but if you need persistent access, we can do this:
Eye-tracking studies can be extremely revealing about how your users are using your site in the real world. Unfortunately, they can also be extremely expensive and time-consuming to conduct. Not everyone in charge of a website has those kind of resources.Luckily for us, some organizations have made some of their information public, giving us the chance to do gain some insights about our own pages.
Though it can be easy to think otherwise, web design is much more than just putting content on a site and calling it a day. And, because people interact differently with the web than with printed materials such as newspapers and magazines, we can’t treat it the same when we design for it. There are many facets to good web design, and this article is about one of the most important we need to think about when we design…. Keep reading »