A case study on how Zyxware Technologies helped Iteris.com, a Nasdaq-listed company that offers Smart Mobility Infrastructure Management solutions upgrade its website from Drupal 8 to Drupal 9.
Drupal 8
Agility is at the core of any Drupal site building project. The market changes fast, so the business needs. A Drupal site builder or developer also needs to support the business in this agile environment. This tutorial covers how to solve the error - "There is data for this field in the database. The field settings can no longer be changed."
Are you planning to upgrade your Drupal 8 site to Drupal 9? Here are the top reasons why you should upgrade your Drupal 8 site to Drupal 9.
Discover how the time and cost of Drupal 7 to 9 upgrade can be estimated based on the complexity of the website.
Setting private file system in Drupal 8 is simple. Though you could no longer do it through user interface, do not panic. Your settings.php file is all you need. With few lines of code, you are all set.
Drupal Association in a press release stated Drupal version 8’s End of Life (EOL) to be this November( 2021). This coincides with Symfony 3’s EOL. Drupal Association has already announced EOL of the recently released Drupal 9. EOL of Drupal 9 will be in 2023 to concur with that of Symfony 4.4.
But why this dependency is a valid question that can come to a client’s mind. Both Drupal and Symfony are free and open source, written in PHP and used to build websites.
Why EOL of Drupal Versions Depend on Symfony?
Drupal 8 in its core library has a lot of reusable Symfony components. Symfony comprises a major chunk of Drupal’s third party dependency. Drupal 8’s end of life thus coincides with Symfony 3’s falling in November 2021. Drupal 9, the new version is updated to Symfony 4.4.
Drupal had built its core without using third parties from its conception till Drupal 7. Why did Drupal then break off from the practice of developing all its Core features?
Bartel Taylor and Associates (BTA) is a legal services company with over 25 years of experience managing Infringement notices for councils, hospitals, and universities throughout Victoria. BTA offers its range of services statewide.
BTA approached Zyxware Technologies for website redesign and to build an automated workflow to reduce some of the significant manual interventions to improve efficiency and accuracy. The solution would help BTA
The client, one of the early adopters of e-governance, had implemented a real-time dashboard for monitoring the progress of the various projects executed across their council. The objective of the dashboard was to improve the transparency of the council and give complete visibility to its citizens into the projects. This project was first implemented in 2018 and has been getting plaudits from across the board. Many a city council has since adopted such dashboards to improve their transparency in capital works projects.
Introduction
As one of the world's leading and largest graduate business schools, INSEAD offers participants a truly global educational experience. Established in 1957, the institution has a history of bringing an open-minded learning culture into its multi-campus model. Harvard Business School, INSEAD and ICFAI Business School Hyderabad are the world’s top three Business Case Study publishers.
To load node details using its id in Drupal 8 uses the following syntax:
$node_details = Node::load($nid);
$node_details->field_FIELD_NAME->value;
We can load multiple nodes in Drupal 8 using load multiple() function. Note that the parameter should be an array of ids.
In Drupal 8, the usage of database operations such as select, update and delete are slightly changed from Drupal 7. The db_query() is deprecated in Drupal 8. To fetch a field we can use :
$query = \Drupal::database()->query('SELECT myfield from my_table where
field1 = :value1 AND field2 = :value2', array(
':value1' => $condition1,
':value2' => $condition2,
)
);
$data = $query->fetchField();
Now we can checkout the select, update, and delete operations in Drupal 8. For a field selection use,
For one of my project, I have implemented the Redis module in Drupal 8. I have used the following configurations as follows:
Most often we may want to show our custom forms in blocks. Here are the simple steps to accomplish this.
In the below code we will create a form called “MymoduleExampleForm” and this form will be placed in a custom block called “MymoduleExampleBlock”.
Step 1 – Create a custom module say 'mymodule'. For details on how to create a custom module in Drupal 8 See here
Step 2 – Create a php file named MymoduleExampleForm.php in mymodule/src/Form and place the following code.
Remember Pokemon Go? The game that once had everyone, from kids to adults, wandering around with their smartphones in pursuit of virtual creatures? This wasn't just a gaming fad. It was a groundbreaking example of how AR could blend the digital and physical worlds, creating an immersive experience. Pokemon Go demonstrated that AR has the potential to go beyond gaming, setting the stage for innovative marketing strategies.
In today’s digital world, one size fits all marketing is no longer relevant, instead, the focus is on contextual marketing and personalized customer experience across the entire sales funnel through digital platforms. Many businesses are working hard trying to build their customer engagement, but often fail because they are focused on any and all kind of interactions without considering the value that is added through the relationship. When a business uses Drupal 8 as its platform of choice, it takes ownership of the experience that is being delivered to customers.
Patternlab is a dynamic organizational and prototyping tool for Drupal theming. By theming with pattern lab, your custom theme allows us to manage and build components in accordance with the required workflow using atomic design concepts1.
Using Pattern Lab for Drupal 8 Theming
Instead of rendering default Drupal templates, we can introduce pattern lab to include twig files using atomic concepts. It allows us to include external twig files by overriding the specific templates.
Authors: Adrian McDonald Tariang, Anish M.M.
Drupal 8 Render Pipeline is the sequence of steps through which Drupal 8 generates a response to an HTTP request. ie, it’s what’s going on under the hood of Drupal 8.
Personalization is at the core of a customer portal. Customer portals offer a handful of personalization options to portal administrators. This includes personalization of the content, communication, user experience etc. The better the personalization we deliver, the more effective will be customer loyalty built. This also influences the purchase behaviour of a customer.
Everyone knows Drush is a very important tool in Drupal development, to execute things faster and to manage Drupal websites remotely. Drupal specifically built its shell function to update its configurations, managing modules, running drupal updates, etc.
While setting up local environments for Drupal 8, everyone may find difficulty in login to the site, if the password is unknown
In Drupal core there is a script file that return the hashed password, which is core/scripts/password-hash.sh.
Run the following command to get the hashed string for '123' in the terminal.
./core/scripts/password-hash.sh 123
Update the returned string in the password field in the user's table for required users via command line or any MySQL (or any database systems like PostgreSQL, MariaDB, MongoDB) GUI tools.