While building a site recently, we had a requirement for teaser images to be in a landscape or portrait orientation. We could have created two image fields and told the client to just fill in one - but that would mean editors would be responsible for cropping the image which would add extra effort to their work. Instead what we did was used one image field and one select list to choose if they image should be 'landscape' or 'portrait' in teasers.
Adding a map to a website in Drupal 7 is fairly easy - the only difficulty being which of the many mapping modules to use. In Drupal 8 many of the modules are not available yet, or only have dev or beta versions available. One of the ones that seems fairly stable and has a good set of features without being overly complex is the Geolocation Field module. We've used it on a site recently with great success, and in this blog post we will cover the fundamentals of how to use this module.
So you've got a project. It's going to be amazing. You've dreamed up loads of functionality and are just itching to let it loose on the world. It's going to look fantastic, and everyone on the design team is ecstatic about the proposed look and feel.
I bet this opening sounds familiar to you.
Clients sign off on designs. You build a website for them based on these designs. It looks quite like the designs, but not exactly like them. It's not your fault. It's not the client's fault. But wouldn't it be nice if you could build what the client signed off?
Why are the websites we build not exactly like what the client signs off and why is it nobody’s fault? Here’s three (good) reasons:
Welcome to Volume 2 of my adventures in learnings from the DrupalTwig Slack, a resource that continues to be the best source of (frontend) knowledge for Drupal. Again, if you haven't joined, do so. (Volume 1 is here.)
And without further ado, here's some things I've learned (or helped others to learn):
It is hard to describe my excitement at DrupalCon Dublin, my first DrupalCon indeed. After a year of preparations by the local Irish community it was hard to believe that it was actually happening.
I think I was pretty well prepared and knew what to expect. A couple of blogs from fellow Annertechies had helped to plan it, especially Mark's Get the Most out of DrupalCon Dublin.
This year's DrupalCon, in my home town of Dublin, was a brand new experience for me. As a seasoned DrupalCon Veteran, (my first DrupalCon was in Paris in 2009), I thought I knew the ropes - how to choose sessions, what to expect, how to party like a bad-ass... I thought I knew what I would get out of it. Man, was I wrong.
We knew Ireland.ie (built by Annertech on Drupal) was a special website. The design is beautiful thanks to the amazing work of BigO Media, the content, media, and experience is second to none thanks to the the team in the Ireland.ie office at the Department of Arts, Heritage and the Gaeltacht. The implementation is without flaw (if we say so ourselves!).