All RPGs and Storygames by Tod Foley are now available at DrivethruRPG and RPGnow. Bring these games to your table!
Oliver Davies: Debugging Drupal Commerce Promotions and Adjustments using Illuminate Collections (Drupal 8)
Today I found another instance where I decided to use Illuminate Collections within my Drupal 8 code; whilst I was debugging an issue where a Drupal Commerce promotion was incorrectly being applied to an order.
PHP 5.6 will officially be no longer supported through security fixes on December 31, 2018. This software has not been actively developed for a number of years, but people have been slow to jump on the bandwagon. Beginning in the new year, no bug fixes will be released for this version of PHP. This opens the door for a dramatic increase in security risks if you are not beginning the new year on a version of PHP 7. PHP 7 was released back in December 2015 and PHP 7.2 is the latest version that you can update to. PHP did skip over 6; so don’t even try searching for it.
Drupal 8.6 is the final Drupal version that will support PHP 5.6. Many other CMS’s will be dropping their support for PHP 5.6 in their latest versions as well. Simply because it is supported in that version does not mean that you will be safe from the security bugs; you will still need to upgrade your PHP version before December 31, 2018. In addition to the security risks, you have already been missing out on many improvements that have been made to PHP.What Should You Do About This?
You are probably thinking “Upgrade, I get it.” It may actually be more complicated than that and you will need to refactor. 90-95% of your code should be fine. The version your CMS is may affect the complexity of your conversion. Most major CMS’s will handle PHP 7 right out of the box in their most recent versions.
By upgrading to a version of PHP 7, you will see a variety of performance improvements; the most dramatic being speed. The engine behind PHP, Zend Technologies, ran performance tests on a variety of PHP applications to compare the performance of PHP 7 vs PHP 5.6. These tests compared requests per second across the two versions. This relates to the speed at which code is executed, and how fast queries to the database and server are returned. These tests showed that PHP 7 runs twice as fast and you will see additional improvements in memory consumption.How Can Mobomo Help?
Mobomo’s team is highly experienced, not only in assisting with your conversion, but with the review of your code to ensure your environment is PHP 7 ready. Our team of experts will review your code and uncover the exact amount of code that needs to be converted. There are a good number of factors that could come into play and affect your timeline. The more customizations and smaller plugins that your site contains, the more complex your code review and your eventual conversion could be. Overall, depending on the complexity of the code, your timeline could vary but this would take a maximum of 3 weeks.Important Things to Know:
- How many contributed modules does your site contain?
- How many custom modules does your site contain?
- What does your environment look like?
The post The End of PHP 5.6 is Coming! appeared first on .
Provides an alternative widget for the moderation_state base field. States are displayed as clickable buttons that are toggled with ajax.
A full rebuild of a website can be a time consuming and expensive process. Upcycling is an incremental approach to relaunching existing websites. This blog will explain more about what upcycling is and why it might be the right choice for your websiteJosef Dabernig Tue, 10/23/2018 - 19:18
Most websites will be rebuilt every three to six years to keep up with online trends, because of technical debt, or simply to refresh their appearance. At Amazee Labs, we have helped many clients transition from their legacy web systems onto Drupal 8 but not everyone is ready to do the move all at once. This is where upcycling can come into play.
As upcycling is intended to be an incremental approach it might not be suitable for every use case or every client. Upcycling de-prioritizes the “one-big-bang-launch-wow-effect” and allows us to partner with our clients to meet one primary goal: reduce time to market for big website improvements and maximising the value of time spent.
When to upcycle?
If you have a well-established web system that has been operational for several years, and you aren’t ready to spend the time and money to do a full rebuild, upcycling might be the answer.
As you can see, upcycling can be performed at any stage of an existing web project. Depending on the size of the upcycling project, we might transition from the maintenance and extension mode back to implementation. Alternatively you might do a smaller upcycling project within the maintenance & extension cycle. Large upcycling projects will often mean moving all the way back into a conceptual consulting & discovery mode before we start implementing new features or functionality.
What to upcycle?
We’ve designed an upcycling questionnaire to guide the conversation with the customer with regards to different aspects of the website. Although these are common areas for upcycling, we use this questionnaire as a starting point to discuss what will be the best fit for each project.
For each of these upcycling areas, we have a set of questions to validate the potential and& need for upcycling. For example, when we talk about designwith regards to design we would ask if the look and feel of the website is perceived as outdated or if there are any inconsistencies within the current design implementation.
If we identify an area that could benefit from upcycling a potential for upcycling in such area is identified, we will provide a set of recommended steps for improvement. In this case that might be a design refresh, establishing a design system, or rebuilding the frontend.
We also provide upcycling case studies to show our clients what is possible with upcycling, and help build on their ideas to improve their website without starting from scratch,
How to upcycle?
Upcycling demands that we are in a position to split things up.
An example is Sonova.com. The main website has been running on Drupal 7 since 2014. Last year, we started relaunching individual country pages using Drupal 8. These new pages allow the content managers on the client’s side to benefit from the better editorial features of Drupal 8 early on without needing to wait for a relaunch of the entire website. Gradually we keep relaunching country page by country page on Drupal 8.
Sonova Country Page Version in Drupal 7
Sonova Country Page Version in Drupal 8
The next step in upcycling this site will be a relaunch of the main website on Drupal 8. When we are ready for that step we can build upon the incremental steps we started for the country pages.
As well as the additional editorial features, we also worked with the client to choose a different Drupal theme. . This means sites running on Drupal 7 feature a different design than the sites running on Drupal 8. So instead of merely optimizing for consistency across all country pages, together with the client, we chose to allow to innovate and bring newer design versions to the local markets without waiting for the relaunch of the whole site.
How does upcycling relate to decoupling?
If your site has some complex backend logic that you don’t want to rebuild but you are eager to relaunch the frontend, upcycling could be the solution. Usually, we would relaunch the frontend within Drupal’s theme layer. But in certain cases, it makes sense to relaunch the frontend as a decoupled site and then integrate the existing backend. We recently did this for a customer that wanted to get started with Drupal 8 but had some complex Drupal 7 Backend logic that needed to be maintained.
On the other hand, if the backend really needs an overhaul and you want to keep the existing frontend without rebuilding it, upcycling could work for that too, after decoupling the backend.
Decoupling your architecture will enable you to upcycle individual parts and bring value to the end user faster but it also comes at a price of added complexity. In the end, it’s important to compare the advantages and disadvantagesPros of upcycling Cons of upcycling
Get the most out of your existing website infrastructure
Benefit from user experience, design or frontend performance improvements without the need to wait for a big relaunch
See your investments as quickly as possible
Potentially added complexity when maintaining two systems at once.
Potentially inconsistencies in the appearance if sections are upgraded separately.
Partly you need to invest into a legacy platform rather than spending everything on the new one
More details on upcycling can be found in this presentation.
What’s your experience & challenges when it comes to upcycling? Do you have an existing project that you would like to improve? Let us know in the comments or reach out via the contact form.
This module has no requirements, but integrates with the Media system and Paragraphs, if installed.
The module has been initially build to work with the Thunder distribution. If you're using a different system and experience problems, feel free to report your problems in the issue queue.Features overview
Once installed, the module provides
Here is where we bring awareness to Drupal modules running on less than 1% of reporting sites. Today we'll investigate Termcase, a module which formats the capitalization of your taxonomy terms.
Send emails about site activity (create and update entities) to an email address given.
You can configure:
* Email address
* Enable / disable sending
* Template of the email
In the video below we will show you how to create an interactive and informative content using based on a couple of xls files and a handful of images using just CKEditor wysiwyg.
Our goal is to create a demo article with info on emperor pinguins, containing an interactive chart, a map and a gallery. For that we are using just functionality provided by VisualN modules pack (with a couple of generic dependencies).
The structure of xls files is as follows (the last screenshot also represents images used):Excel file containing colonies demo data Excel file containing colonies demo coordinates Images for colonies demo gallery
Each xls file contains a plain data table. The first row is used for data keys. Generally it can contain any keys - remapping is shown in the video. Actually remapping is required only for the first demo_data.xls file, since data_coords.xls keys already coincide with those used by LeafletMapBasic drawer.
Provides Commerce integration for Swisscom Easypay.
This payment gateway redirects to the user to the Swisscom Easypay checkout page. The purchase is charged via user's mobile phone bill.
Note: Payment only works for Swisscom customers with a mobile subscription.
Autumn is in the air… and part of the weKnow team is heading to BADCamp18, each one of them excited to share experiences, our team culture and contribute to strengthening ties among the members of the Drupal community.
This is a very special BADCamp edition as it sets a milestone in weKnow’s journey. Back in 2011, this was one of the first Drupal events that we attended in the USA. This year we increased the number to 8 attendants and we proudly became one of the event’s sponsors.marketing Tue, 10/23/2018 - 08:04
- Track entities (including nodes) that has embedded images using wysiwyg editors and those images use file displays using picture formatter with lazy loading enabled. It then loads lazysizes library to ensure lazy loading works even on cached pages.
We are looking forward to seeing you and are excited to share some last minute logistical details and tips for making the most of your time at BADCamp.But wait: I’m still looking for a hotel room. Anything left??
Hotels are pretty booked in Berkeley but we checked with The Graduate and they still have some rooms left.
Give their reservation number a call at (510) 845-8981 and you’ll stay with at least 50 fellow BADCampers!Where is everything? Where do I go?
Check out the Event Timeline to find out what is happening when.
Check out the Venues page to see what is happening where.
Central BADCamp registration opens at 8:30 am each morning on the 3rd Floor of the MLK Student Union Building.
If you are attending the Nonprofit or Backdrop Summit, badges will be available at the Marsh so no need to stop by central registration in the morning. Be sure to come by the main BADCamp space at lunch break or after your summit to say hi!
Map to Marsh Art Center
2120 Allston Way
Berkeley, CA 94704
As always, BADCamp will provide an endless supply of coffee, tea and water.Wednesday & Thursday
All Trainings & Summits will have light snacks in the morning.
For lunch, head outside to discover some of Berkeley’s best food!
Stop by the Sponsor Expo on Thursday for speciality coffees.
Parking at Berkeley can be extremely challenging. Consider taking public transportation whenever possible.Anything else to know?
Wear good shoes! You will do a lot of walking.
Bring layers, or donate at the $100 level and you’ll get an awesome 2018 t-shirt, cool BADCamp socks, and a cozy BADCamp hoodie!
The BADCamp Contribution Lounge is open all 4 days of camp from 9:30am! We welcome and encourage you to participate! See the link for the location.
Did we mention the outside activities? At night?
Bring something warm and maybe even a hat and gloves for the night time activities!
BADCamp is 100% volunteer driven and we need your hands! We need stout hearts to volunteer and help set up, tear down, give directions and so much more! If you are local and can help us, please sign up on our Volunteer Form.Our biggest needs:
Session Monitors (sign up for ones you are already in!)
Trainings (sign up for ones you are already in!)
A BIG thanks Platform.sh, Pantheon & DDEV and all our sponsors who have committed early. Without them this magical event wouldn’t be possible. We are also looking for MORE sponsors to help keep BADCamp free and awesome. Interested in sponsoring BADCamp? Contact firstname.lastname@example.org or email@example.com.
Would you have been willing to pay for your ticket? If so, then you can give back to the camp by purchasing an individual sponsorship at the level most comfortable for you. As our thanks, we will be handing out some awesome BADCamp swag as our thanks.See You At BADCamp!!
Sometimes you may need to import data from a CSV file into Drupal.
We've spoken with OSTraining users who need to import from another CMS, and uses who need to import from a business spreadsheet.
There is no easy way do this import using the Drupal 8 core. To import your data from a CSV file, you need to install and enable the Content Import module.
In this tutorial, I'll walk you through the process of importing data with Content Import.
While Acquia's global headquarters are in Boston, we have fourteen offices all over the world. Last week, we moved our European headquarters to a larger space in Reading, UK. We've been steadily growing in Europe, and the new Reading office now offers room for 120 employees. It's an exciting move. Here are a few photos:
This module allows you to add PeerTube videos as Remote videos from the media module in drupal core.