Drupal 8

Image Credit: Gerd Altmann, Pixabay
| 4 min read
If you’re one of the 70% of Drupal sites still on Drupal 7, you may wonder what the upgrade path looks like to go from Drupal 7 to Drupal 9. What does the significant lift look like to jump ahead two Drupal versions? What are the major challenges in Drupal 7 to Drupal 9 Migration? We’ll explore this in this blog.
Zyxware default image3
| 3 min read
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?
| 2 min read
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
| 3 min read
Introduction 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.
| 6 min read
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.
Zyxware default image4
| 1 min read
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,
Zyxware default image2
| 2 min read
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.
ai
| 1 min read
Remember a very popular game which came out some years back and caused ripples of excitement for at least some months - yes, you guessed it right, it was Pokemon Go. With the user’s smartphone and camera, the game turned the real world into an augmented reality world which included Pokemon. Augmented Reality (AR) is an interesting field, just like Artificial Intelligence and if you think it is only meant for games, then think again!
Zyxware default image2
| 3 min read
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.
Zyxware default image2
| 2 min read
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.
Zyxware default image2
| 4 min read
Personalization is at the core of a customer portal. Customer portals offer a handful of personalization options to portal administrators. This include personalization of the content, communication, user experience etc. The better the personalization we deliver, the more effective will be the customer loyalty built. This also influences the purchase behaviour of a customer.
Zyxware default image3
| 2 min read
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.
Zyxware default image1
| 1 min read
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.
Zyxware default image4
| 1 min read
In one of my project I want to create user roles programmatically and the role should be enable and disable while module install and uninstall process. So first of all I need to create a YAML file based on the user role name with necessary definitions. The name of the YAML file should be the format user.role.sample.yml. Here sample is my user role id. To make the role enable and disable while module installation and uninstall we have to add dependency with enforced property.