Recently Active Questions
88,144 questions
0 votes
1 answer
646 views
How To get transaction details in commerce checkout complete page
Can anyone please help to get the transaction details in commerce checkout complete page. I could get using hook_commerce_checkout_complete($order). I can show the success/Error transaction and order ...
3 votes
1 answer
776 views
Using token in page.tpl.php?
I downloaded the social media module and I found this token: [socialmedia:sm-twitter_username]. I want to show it where the Read more / Add new comment section is, under an article. Since I can't find ...
2 votes
1 answer
2k views
How to check in Twig file whether node has a field?
In my twig file i try to override the field. In the {% if %} clause I need to check whether a field has particular value, if yes then assign the value as a class. {% for item in items %} {% if ...
0 votes
2 answers
2k views
On a content page that references a taxonomy term, how can I display only content that references that taxonomy term's immediate children?
In Drupal 8, I have a hierarchical taxonomy vocabulary called "Living Things" containing these terms: Animals --Fishes ----Blennies ------Yellow Blenny ------Green Blenny ----Gobies ------Blue Goby --...
0 votes
3 answers
2k views
Stuck in my config import because of guzzlehttp/guzzle error
I am trying to import the config from another of my Drupal 9.1.4 projects with Composer / Drush (drush config-import from a folder source, all two websites on my local repository on Xampp), but a ...
1 vote
1 answer
976 views
Views math expression or Computed field to find date difference in views
I have two content type, Bill (Type1) and Cash Receipts (Type2), Type2 referencing Type1 when cash is received. In Type1 I have date field called (Bill Issue date), and Type2 I have date field cash ...
1 vote
1 answer
707 views
Paragraph type can't delete individual items
I use Paragraph module Version: 8.x-1.5. Somehow I can't delete individual items anymore? Is there a settings somewhere I missed?
0 votes
2 answers
876 views
Exposed filters in Block for Page View do not filter results
I have below content types with following related fields setup in a Drupal7 setup. Activity Fields: Name, Body and Image. Event Fields: Date Location: Term Reference for Taxonomy Location ...
1 vote
1 answer
714 views
How can I load content on the same page from a search
So the idea is to load the results of the search on the same page. I was told to look into SOLR, but it looks like we have something similar to SOLR , and we just need to know how to load new page ...
3 votes
2 answers
4k views
How to translate field collection which has unlimited values?
My configuration: latest dev entity translation and field collection module + patch. I tried: 1. Entity translation is on just for taxonomy term and node, but not for field collection (it triggers ...
5 votes
2 answers
504 views
Migration of content with an UI
My goal is to import data of customers from a csv file to my custom entity. For that I wrote a migration with the migrate_source_csv module as source plugin. This works fine, but the problem is, that ...
1 vote
1 answer
842 views
How to get Final SQL query when using Views?
How do I get complete SQL query from Views, the one I could run in mysql directly.For example biggest stumbling block is fields part. Like below SELECT users_node.uid AS users_node_uid, node.created ...
1 vote
1 answer
546 views
List nodes of children using taxonomy_select_nodes
I want to list nodes from children terms using or editing taxonomy_select_nodes function. Actually I added these few lines but I get an infinite loop or slow response: function ...
1 vote
1 answer
467 views
Infinite Redirect Loop with PURL and spaces_og
I created a calendar feature for organic groups, and tried to enable it in a group with spaces_og. The page refreshes saying changes have been saved but the feature is still disabled. In the logs, ...
0 votes
0 answers
43 views
How can I exclude specific products from a promotion?
Objectives: We are trying to create a promotion in Drupal Commerce (Drupal 10.1.8) that offers 20% off all products EXCEPT for a few (10) specific products. Here's the challenge: Current Setup: 1-...