This tutorial will explain in 10 easy and proven steps how to convert a non-composer Drupal 8 website into a Composer managed Drupal 8 website.
Travelling in South East Asia can be a lot of fun. Typically, you can book on the spot and pay in the local currency. The only problem with this is that getting local currency can be a little costly as every time you withdraw from an ATM it will cost you a fixed fee from your bank AND the ATM. Use 12Go Asia
This simple CSS trick will explain how to target all the elements except the first. This works especially well for list elements.
In this article we are going to look at how we can render custom images using image styles in your Twig template in Drupal 8. By custom images, I mean images that originate from a custom module/theme (not an image originating from a field entity/node). In other words, the image would not even exist in "public://your-image.png" but rather it might exist somewhere in your custom module or theme.
I have devoured many different foods all over Vietnam, from Hanoi all the way to Phú Quốc and everywhere in between (that's over 15 major cities) over the course of 7 months. What I am about to tell you is the most delicious of the foods that I have ever eaten (not only in Vietnam but in my entire life). And it all came down to this little restaurant shop in the formal imperial city of Huế, Vietnam. Click on the title to read more!
I recently visited Phú Quốc Island in May 2018. Phú Quốc island is off the south coast of Vietnam, actually being closer to Cambodia. I wrote about some of the activities I did. Click on the title to read some more!
After months of deliberation and procrastination, I have finally found the time to upgrade my own website. It's now running on Drupal 7. I decided to change the theme and keep it simple. A neat layout and also mobile friendly theme is what I was aiming for. Thanks to the many contributors at Drupal, finding a user contributed simple and clean theme was not very hard at all.
If you still happen to be maintaining a Drupal 5 or 6 website for a client you may encounter this problem of getting access denied even though you correctly entering the right username and password.
The first place to check, (and this is the most common solution), is to check the Sessions table in your mySQL database. Try repairing this table and that should do the trick. An easy way to do this is to use PHPMyAdmin.
This is a small tidbit of information in the event that you wanted to alter the Drupal search results page. You can add a custom CSS class to the last search result item (for whatever reason you may have). In my case, I wanted to remove the border-bottom from the last result, so I had to add a special CSS class to do this.
Just follow these simple steps:
- Override template_preprocess_search_results