Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

I want to redirect my site to a specific page (Ex: /example-page-400) if the status code received from the server is 400. Actually I am having a drupal site on which SSO login is enabled. In some ...
Zaid Khan's user avatar
  • 367
0 votes
0 answers
33 views

I have a DKAN platform, my frontend is ReactJs, and my backend is Drupal. I created 5 new pages on the frontend with the specific routes: export const routes = { HOME: BASE_ROUTE + "/", ...
Zaher Abou Shakra's user avatar
0 votes
1 answer
50 views

I have the following form function beyond_shipping_form_alter(&$form, FormStateInterface $form_state, $form_id) { if ($form_id == 'commerce_checkout_flow_multistep_default') { $...
perpetual_dream's user avatar
0 votes
0 answers
39 views

I tried to implement saving total price in orders but it`s returning an issue like before saving everything is good, but after it debug returning null protected function createOrder($order_data) { ...
Anton971's user avatar
0 votes
1 answer
944 views

Once I create a new database, and import all data from the old one, update my settings and restore the folders and files, I get this error: No route found for "GET http://localhost/...
Amit Kumar's user avatar
1 vote
1 answer
177 views

I have created a Menu in Drupal and the structure look like this: A parent link with children. In my website it looks like this: Note that "products" takes you to /products. However, when ...
Chris Costa's user avatar
0 votes
1 answer
631 views

I have a custom page defined in routing with it's ControllerBase class. I want to override the whole page.html.twig for this page. If I use hook_theme and define there 'page__test' => [...] it ...
Vladimir's user avatar
  • 368
0 votes
1 answer
200 views

I want to render a specific page using my own template. My theme regulating html.html.twig and page.html.twig. I want to rebuild completely the page.html.twig but only on specific page. In my module ...
Vladimir's user avatar
  • 368
0 votes
0 answers
30 views

i try to install HybridAuth module on Drupal 8 and 10 using composer on ddev but i had errors : module : https://www.drupal.org/project/hybridauth erreor: ddev composer require 'drupal/hybridauth:^2....
AHMED EL BOUMESHOULI's user avatar
0 votes
1 answer
85 views

I have a Drupal 8 website which shows articles from an external API. also my basic page contents are coming from Drupal itself. I need to implement a search functionality so that search will return ...
Steve James's user avatar
0 votes
1 answer
829 views

I create a custom form then I retrieve the fields in a table then I return the table in a branch then I extract the contents of the branch in a variable which I put in a node. and it does not show me ...
newb's user avatar
  • 1
1 vote
2 answers
1k views

I am building a bilingual site with Drupal 10 and I am using views to show content items listings. In my views I am using field: Custom text to format the teasers of each item the way I want. I have ...
thanili's user avatar
  • 627
1 vote
1 answer
341 views

Title: How to Display Translated Content by Language in Drupal Views? I have a View in Drupal with multiple displays, each configured as follows: Display 1: Articles FILTER CRITERIA: Content: ...
Happy Coder's user avatar
  • 4,802
0 votes
0 answers
20 views

I'm changing my hosting from a VPS server to the cloud I've copied the files and database from the old site to the new one. I have updated the data to access the database but there is a problem ... on ...
Eric R.'s user avatar
0 votes
2 answers
609 views

I have a website "https://www.example.com" which is suddenly showing 404 Page Not Found. Header Footer is coming but in the body part its showing nothing but appearing a Page Not Found text. ...
Souvik Das's user avatar
1 vote
1 answer
264 views

Am trying to customize migrations so that i can map the data to specific fields but after i edit files am not able to place then to active configuration successfully. My process so far how i generated ...
dannjoroge's user avatar
0 votes
1 answer
92 views

I am having difficulties getting my Drupal blocks and regions to interact with my Twig Template Files. I suspect some of it may be syntax but a lot of it seems to be understanding what to name my Twig ...
Jon's user avatar
  • 1
0 votes
1 answer
317 views

I'm trying to add a new field called Opening Hours for commerce_shipping_method bundle. I'm having hard time finding examples how to do this and those I tried didn't really work for me. In fact, not ...
Zathrus Writer's user avatar
0 votes
2 answers
1k views

I'm trying to manually load the OwlCarousel2 Libraries on my Drupal 10 site. I have downloaded the library and updated the right files but it is not working (I don't want to use the Owlcarousel2 ...
cnario's user avatar
  • 31
0 votes
0 answers
203 views

I've created a JSON Page type content on Drupal 8/9/10 as below that has JSON Config as below. I used this field to build the headless content that needs to exposed to UI Apps. I want to expose this ...
Naren Karanam's user avatar
0 votes
1 answer
199 views

I have one custom module created in drupal having one form. public function buildForm(array $form, FormStateInterface $form_state) { $form['conditionOrDisease'] = [ '#type' => 'textfield', ...
sanjay rathod's user avatar
0 votes
1 answer
56 views

I am using Drupal 8.9 and a module named Instagram block.When i updated the module "Class 'EspressoDev\InstagramBasicDisplay\InstagramBasicDisplay' not found in instagram_block_cron() " ...
Steve James's user avatar
0 votes
1 answer
759 views

I am trying to set this up without using a block visibility plugin and it works for the user but internally I would like to have better control by using my own cache tags. My problem is I can't seem ...
Reg's user avatar
  • 125
0 votes
2 answers
2k views

I have the following configurations for my Drupal site: sites/mysite/settings.local.php $databases['default']['default'] = array( 'database' => 'mydb', 'username' => 'root', 'password' =&...
Happy Coder's user avatar
  • 4,802
0 votes
1 answer
156 views

After I tried to update a module in drupal, through the admin panel, it broke down & displays Site encountered an unexpected error. The site was almost 3 years old and is on I believe version 8 ...
Michal Gally's user avatar
1 vote
0 answers
18 views

Drupal 8 question I'm having trouble creating a custom module The problem is that I am uploading an excel file that contains the shipping card numbers, and I choose the type of card by choosing from ...
Thabet Alqudah's user avatar
0 votes
1 answer
105 views

I have content type with fields Product ID, Name, Image, description, category ( taxonomy ), price. Can i Create sample products and select the respective sub categories with devel generate module ?
Surya kiran's user avatar
0 votes
0 answers
82 views

I have two sites running separately, where the front end is one end, which connects to multiple back-end systems. The end goal is to be able to submit a form with text and video fields to a PHP(Drupal)...
Sidney Sousa's user avatar
  • 3,644
0 votes
2 answers
216 views

I have a block named block--system-branding-block.html.twig which contains some menu items. I need to show contents from block which is placed in a region as submenu item. How can i place a region ...
Steve James's user avatar
0 votes
1 answer
350 views

I am using Drupal 10 I have created a content type (Film Review) & added few fields like Comments & Image. So When i try to post comments using various roles ( for eg: Anonymous Role ) Comment ...
Surya kiran's user avatar
0 votes
0 answers
375 views

I'm creating a Drupal 8 webform that will collect issues submitted by users. The users belong to different institutions, and I'd like to send the submission to the appropriate institutional contact (...
user21645989's user avatar
0 votes
0 answers
42 views

I recently changed the SSH login for the root admin account on my Drupal 8 website hosted on Linode. After this change, Solr lost connection to the site and is showing the following error message: &...
Scott's user avatar
  • 1
1 vote
4 answers
1k views

Drupal 8:The website encountered an unexpected error. Please try again later. i am getting this error while installing the drupal 8 (https://i.sstatic.net/uIBeh.png) I have already installed the XAMPP....
Cheshta Pal's user avatar
0 votes
2 answers
1k views

How to export/import custom block in drupal 8/9? Content of the custom block to be made changes in other user.
Nima Wangdi's user avatar
0 votes
0 answers
32 views

Drupal shares fields between multiple entity types. Is there a module that shares an input form view for multiple entity types? Configuring a form for each entity type is a headache.
Vladimir's user avatar
  • 368
0 votes
1 answer
1k views

I am using a hook function to create a commerce product when a node type of PL is created. I have 2 Entity Reference fields: Name of Project - Which references content Type of Use - Which references ...
cnario's user avatar
  • 31
0 votes
1 answer
142 views

Here i want to add a my own custom column in the content section through my own custom module which should automatically appear on the content section when module is installed , so in order to do that ...
Manav Chauhan's user avatar
0 votes
1 answer
813 views

I have two fields in a custom paragraph type, Person. Each instance of paragraph type holds two values, that is, it will include two persons/people. I am working on the theme of the type (paragraph--...
Munya's user avatar
  • 11
1 vote
1 answer
1k views

We have 6-8 different webforms on our site which submit via ajax and display the conformation message inline. I would like to put data from the form submissions into a JavaScript data layer so we can ...
summerg's user avatar
  • 67
1 vote
2 answers
2k views

In Drupal 9, We have a image field in the content types where we have a option to provide values for alt and title attributes. These values will be used for SEO improvements. Is there any way or ...
Navaneeth's user avatar
  • 1,428
1 vote
1 answer
270 views

How to allow access to a Drupal file/page only from a specific domain? I have tried php filter module but enabling this module can cause security and performance issues as it allows users to execute ...
pri2712's user avatar
  • 11
0 votes
1 answer
79 views

I have enabled Keycloak authentication in a website built with Drupal. As soon as I launch the website I want to redirect to Keycloak's login page if the user is not signed in. Is there any way to ...
Syed Abdul Hannan's user avatar
0 votes
1 answer
91 views

Hello everyone, I have an admin dashboard that I want to use as the main theme of the admin dashboard in Drupal. How can this be done? I did a lot of work on this including editing the default Drupal ...
alirezaei's user avatar
0 votes
1 answer
161 views

Can we translated below drupal error message in turkish language from where to translate? Temporarily Unavailable The website that you're trying to reach is having technical difficulties and is ...
user66981's user avatar
1 vote
0 answers
145 views

I have a webform that allows image uploads and, upon submission, emails information in HTML via a TWIG template. I am using the following TWIG to output the image upload field: {{ webform_token('[...
summerg's user avatar
  • 67
0 votes
0 answers
344 views

There was a problem with the fact that part of the js code worked several times, so I added once() and each() (see comments): (function($, Drupal) { Drupal.behaviors.collapsedPricing = { attach: ...
nathan111777's user avatar
1 vote
2 answers
803 views

I am very new to Drupal. I have done the local setup and the front end is working fine. Now I need to login to the admin interface. Seems like there is a SAML configuration and when I try to access ...
Happy Coder's user avatar
  • 4,802
0 votes
1 answer
274 views

I have a Drupal 9.x site running in the web-root directory (public_html/). I need to run some python scripts (currently in public_html/python/) and show the output in an iframe called in a Drupal twig ...
Dean Reeds's user avatar
0 votes
0 answers
2k views

In Drupal-specific Twig template I can get current path like {% set pagePath = path('<current>') %} But such a way doesn't contain query string e.g. ?param=value if the latter is present in the ...
stkuser's user avatar
  • 51
1 vote
0 answers
384 views

I'm trying to get up and running with drupal php functional testing. However there seems to be something wrong with my phpunit.xml cofiguration. When running the test i get the following error: ...
kevinius's user avatar
  • 4,638

1
2 3 4 5
56