Skip to main content
152
results
Andrew Fletcher
Currently, we are upgrading a site from Drupal 7 to Drupal 9.  During this upgrade, we have the opportunity to the site's search functionality and select a tool that is most suited to the website's requirements. Searching on a website is integral to a site's functionality.  Looking at Solr and Elasticsearch as the primary search engines.  They're two of the most popular open-source search engines.  To begin both of them are built on top of Apache Lucene, so the features they...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...
Andrew Fletcher
Explain public, private, protected functions and variables inside a class in...
Andrew Fletcher
Assuming there is a new field requiring a change on a content type. How do you...
Andrew Fletcher
Replicate Replicate the bug in your local environment. Check Check - do you have the latest version of the contrib module?  In case the issue has already been identified and resolved. A quick check of the issue list for the contrib module. Nothing. Document notes Read through the log files to understand where the bug is located.  Devel module is a must for a backend dev to help resolve issues like this one.  Ensure Symfony var-dumper or Kint is running.  Data is gold here and...
Andrew Fletcher
2 or 3 approaches to build a homepage or landing page through Drupal Please...
Andrew Fletcher
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
My goal was to get the base URL and compare it with the URL of the link....
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes: type, title, name and required; Text area { "type": "webform_multiple", "title": "What's new?", "name": "what_s_new_", "required": false }Text field An additional attribute for the text field is maxlength { "type": "textfield", "title": "Text field (optional)", "name": "text_field_optional_", "required": false, "maxlength": 255 }Select field Options attribute is an additional...
Andrew Fletcher
Whilst I had regularly used HAL to upload files through REST API, this is no...
Andrew Fletcher
How do you retrieve a taxonomy term tid value from it's name? In this situation,...
Andrew Fletcher
If you are like me, almost every view I have will have this filter.  So I...
Andrew Fletcher
Have you come across the following Drupal error message: Mismatched entity...