As a site developer for a web development agency, I often have the need to send clients pieces of content (pages, blog posts, team bios, etc) for review. These are pieces that cannot yet be live in the site, so they need to remain unpublished and be reviewed.
Sending links to clients with a login string in the URL is a great way to speed up the process, but I had to write a module to iron out the wrinkles for our clients.
Lately, I’ve been trying to take a look at how I develop forms. Fields need to be validated and it’s always better for the user to be notified on the spot.
But what if we can format the users’ fields for them as they fill them out? Then we can avoid possible form – or worse, shopping cart – abandonment.
So it all started when I was looking for a weather widget for a client’s website. After looking at what felt like 300 old, dated, gross weather widgets, I finally found one that is pretty nice. Scratch that, this one is beautiful. I was able to set the city name, latitude, longitude, and color for the temperature bars, but I thought “What if they could let someone (me) provide their (my) own CSS file in the URL?”
So I set out to develop my concept.
List items are one of those things that look the same in a browser, Word document, email, or anywhere else. Fortunately, we have CSS to help us make these lists a bit more exciting on the web! While there are many ways to style list items, we’re going to look at a way of adding an icon from the FontAwesome icon library using only CSS and pseudo-elements.
Recently, I was thinking about an interesting way to display a listing of services offered for a design agency. While there are a plethora of options for something so simple, I ultimately dreamed up a carousel of sorts that scrolls through the services vertically. I knew it would likely require some jQuery and wanted to keep the HTML simple enough to quickly modify or apply to a CMS-generated unordered list.
My first step, as it is with anything I need to whip up quickly in code these days, was to head over to CodePen and see if I could accomplish what I was envisioning. Spoiler: turns out I worked it out. Check out the demo on CodePen and then follow along to recreate it yourself!
We’ve all seen them starting to pop up. You know what I’m talking about: those profile pictures next to search results at Google.. Well, they’re super easy to implement in several ways.
Let’s take a quick look at what they are and how to add them to your website.
Generally speaking, Drupal does a great job of letting you bulk update content settings across your site. And where core falls short, usually a module called Views Bulk Operations (VBO) jumps in to save the day.
But recently I needed a way to bulk update comment settings. I have a side project where I set commenting to be closed for a content type that I ultimately needed to open commenting on. I searched for a while, even giving VBO a run, but it doesn’t provide the ability to update comment settings.
Unfortunately, there’s no module, so the next best thing was to update rows in the database manually. There are a couple places where rows need to be updated, so here’s the fastest and easiest way to update comment settings in the database.
WARNING: While this is a fairly simple process, if you do not know what you are looking at in the database, this can be a very bad idea!