



How can I insert a continually updating date in a webpage?
My client would like to have one page displaying the company’s Modern Slavery Act Statement (Ato include the date and time at the time a web visitor reviews this statement. The site is being built in Drupal 9. Is it possible to do what the client wants? read more
Twig Tweak 3 and drupal_field in node twig template
I have a Drupal 8 site with Twig Tweak 2 which I’ve upgraded to Drupal 9 with Twig Tweak 3. This has broken a custom node twig template. With Twig Tweak 2, this worked: {{ drupal_field(‘field_library_photo’, ‘node’ }} I gather from... read more
Drupal.t() not working well
I try to translate some labes in JS in user interface language with the function Drupal.t() but it’s not working even when i add in dependencies:{ – core/drupal – core/jquery } and clear all caches read more
Remember the order facets where selected
The search API stores facets with a key and the URL is usually something like ?f[0]="facet_0&f[1]="facet_1"&f[2]="facet_2" Unfortunately, this array is rebuilt on each page load and the order is not preserved. I need to know the order... read more
Drupal 9 – nginx – Private File System – Broken Image styles not generating
I am on Drupal 9.3 Set the Private file system path in settings.php file $settings[‘file_private_path’] = ‘../private’; Create a folder name outside the "web" folder named "private" While uploading an image the original... read more
Programmatically deleting a user image
I’ve been looking everywhere but couldn’t find the solution. When I update the picture of a user, I want the old image to be deleted. Uploading and overwriting the user picture works. I’m also able to get the filepath. But sadly not deleting. public... read more
How assign new simple_oauth scopes?
I’ve a problem with simple_oauth module and scopes, on a D 9.3.x site. I’m using it to authenticate user in a decoupled front-end in Next.js. The case is: A (new) user log-in without roles expect authenticated After he compiles a form in the front end, he... read more
Multiple pagecache cacheId modifications [closed]
I’ve set up cookie-based page caching using the following guide: https://cornel.co/article/page-cache-cookiesor-anything-available-http-request-d9 It’s all good so far. But using this approach in two different custom modules does not work as hoped. It... read more
Paginate unformatted view
I would like to just render the {{pager}} variable inside a views-view-unformmatted twig template, but the variable seems to be only available for formatted views. Which is the easiest way to do the same here? read more
How to use hook_preprocess_views_view_unformatted on Drupal 9?
I’m trying to use the template_preprocess_views_view_unformatted on a Drupal 9 website. Tried to put very simple command into the function in mytheme.theme, unfortunately didn’t give me my ‘test’ output: function... read more

Commerce product vatiation attibutes as individual selections
I hope this is easy, something I haven’t grasped yet learning drupal and commerce. I have a product, "Vinyl Lettering", and my variations there are three attributes, Height, Width and Rows. So I have hundreds of variations, such as; Vinyl... read more

216deprecious@gmail.com
#216deprecious@gmail.com #TheSupremeTeam Artist Name: 216deprecious@gmail.com Who are you? I would describe myself as free flowing, i make all types of music. I couldn’t consider myself as just a rapper Where are you from? I’m from Cleveland, Ohio it’s a lot of drill... read more


How to version control with Git whilst using composer?
So I’ve been going through the steep learning curve from D7 to D9. I like to use git for deployment and version control. I’m new to composer as I only know Drupal and it was never used. I’ve developed the whole website using composer and drush on my... read more