We recently launched a new site for the Harte Research Institute for Gulf of Mexico Studies (hereinafter HRI). You can find out more about HRI and its launch in a previous blog post. Search was an integral part of the site design and we were able to accomplish all our goals with Drupal 8 and Search API.
Get our Newsletter
Last week the Cape Town Drupal community gathered for the monthly meetup and to hear our own Nelly Moseki talk about Paragraphs.
As we are creating more sites with Drupal 8, I've started using "View modes" when showing content and also getting twiggy with templating! In this article, I’m exploring the use of View modes as reusable content displays around the site.
For one of our customer projects, we wanted to have a list with all past projects. There are two types of projects selected among applicants every year: a winner and there are several finalists or runner ups.
The idea was to show the winner of each year followed by the finalists/runner ups of the year. This should be done in a list where the actual year is the top one followed by the others.
Reasons for language fallback
Let's assume you have a website divided by countries. The site structure is:
- Global (en, de, fr)
- Germany (de)
- France (fr)
- Switzerland (de, fr)
You have your content translated to three languages. Normally, this works, but there could be cases when you need languages per country. Words might have a slightly different meaning from country to country (examples) or spelling might be different (en-US vs en-GB, or using "ß" in de-DE vs "ss" in de-CH). Or, for example, the "Contact us" page can contain a country specific information - locations.
So, the site structure can be turned to:
- Global (en, de, fr)
- Germany (de-DE)
- France (fr-FR)
- Switzerland (de-CH, fr-CH)
This can bring a translation nightmare until you have a language fallback ;)
Having the language fallback, you would only translate strings/content to the "base" languages and, in special cases, you may also translate to "country" languages.
Fortunately, there is a module for that. The Language fallback.
Eine neue Nationalhymne soll die zentralen Werte und das Staatsverständnis der Schweiz wiedergeben.
We just completed our third Drupal 8 project: SGG - Schweizer Gemeinnützige Gesellschaft. After relaunching our own website and helping out with Drupal.com (our first two Drupal 8 sites), we are excited to launch our first client website 100% on the upcoming major release of our favorite open source CMS.
After we had built the community site Intergeneration and the voting platform CHymne using Drupal 7, we now chose Drupal 8 for the relaunch of the corporate website of SGG. The compact feature of the site allowed us to apply the strengths of Drupal 8 as per today and so we created the association's new website relying entirely on Drupal 8 core functionality.
Building the new SGG website was a team effort; continue reading for the findings of each of us while we were creating the new site on the latest beta release of Drupal 8.
Handling loads of data with nodes and fields in Drupal can be a painful experience: every field is put into a separate table which makes inserts and queries slow. In case you just want to import & display unstructured data without the flexibility and sugar of fields, this walkthrough is for you!