Skip to main content
161
results
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many different use cases, such as determining if your on the admin/people page as apposed to admin/reports/dblog or admin/content.  These three pages might seem to bear on common relationship, however there is at least one.  Users. I edited the user in the admin/people page so rather than showing just username, know shows: Firstname Lastname Email Username However, in making this change I discovered that when on...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Creating URL's in Drupal programmatically: Internal path use...
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
Have you tried to run a composer update script that has bower-asset/jquery-ui-slider-pips set?  I have and realised that jquery-ui-slider-pips package had been removed.  So I added it back, and ran the command composer update. composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires bower-asset/jquery-ui-slider-pips, it...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
Have you noticed through your Google account that there are items being indexed...
Andrew Fletcher
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
In drupal 9 for logging you can use logger service to log array data in some readable format, by adding html code and print_r to array. \Drupal::logger('my_module')->warning('<pre><code>' . print_r($responseObj, TRUE) . '</code></pre>');  my_module is type of log message, warning is severity method you call and $responseObj is array you need to put to log file to have some formatting.  Other options you can use include: emergency($message,...
Andrew Fletcher
Adding Solr config zip (ie. solr_8.x_config.zip) to your remote...
Andrew Fletcher
Steps to get the Solr date range widget working.   Steps Enable the Facets...
Andrew Fletcher
Following is a series of steps to install Tika and have it running for your Solr...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin ->...