All Questions

Filter by
Sorted by
Tagged with
-1
votes
0answers
15 views

Missing div wrappers after update

After a substantial update (8.7.9 to 8.9.14) a site has lost div wrappers around fields in rendered entity content. This has messed with the formatting, as the two-up grid has changed into a single ...
0
votes
0answers
15 views

How do I export content from staging to production?

I'm looking for a way to export individual content items from a staging website to a production website. I've found the node export and content synchronization modules as possible solutions but I'm ...
0
votes
0answers
19 views

How to query a remote API?

I want to make a GET request to an external API and use the response for my website, how can I do that ? From what I've seen, you can only make requests to your own API with the JSON API module, am I ...
-2
votes
0answers
5 views

Add parameter to query string on links when selector value changes

Still trying to figure Drupal out. I have a view that allows visitors to change a value in a visible dropdown filter. That updates the view with thumbnails that fit the selector value criteria. The ...
0
votes
1answer
12 views

Trouble accessing twig variables passed from custom block

I've looked through many similar questions and can't figure out what I'm missing. I have a custom module with a block... /** * Provides the 'Four Words' block * * @Block( * id = "...
0
votes
0answers
10 views

Show latest changes in node “View” tab while using Content Moderation

I had been trying a lot to display latest revision into view tab irrespective of its state, so if a node is in "Draft" state I still want it to be displayed under "View" Tab rather ...
0
votes
1answer
10 views

Using Entity Print to generate several PDFs of a Webform submission

This may be too vague a question as I'm just starting to work through this. Would very much appreciate any pointers/experiences if people have done something similar. Functionality I'm hoping for: ...
1
vote
0answers
11 views

Flag and message (subscribe) show wsod with error LogicException at line 176

I installed flag and the message stack, configured it and now when opening /user/register i get LogicException: An anonymous user must be identified by session ID. in Drupal\flag\FlagService->...
-3
votes
1answer
29 views

How do i apply the eslif condition to a particular content type

{% if node.field_check_this_if_content_not_.value == '1' %} This page is not available in English, please click on the link given below to read in Hindi {{ node_label_hi }} {% elseif node.type ==...
0
votes
1answer
21 views

Where shall I place “PHP SAML” library so that SAML Authentication module could find it?

I have a multisite Drupal 7 installation (not using Composer), and I can't figure out where shall I place "PHP SAML" library so that the SAML Authentication module would find it. The ...
-2
votes
0answers
27 views

How do I manually set up RDS? [closed]

I am trying to manually set up Drupal RDS, as well as through user data. I get the same error all the times. I am using the PHP 7.3 version for the latest Drupal version. I tried increasing the size ...
0
votes
0answers
12 views

how to order grouped fields in the sidebar on a node form

On my old Drupal 7 site, I was able to group a set of fields and display them as a tab in the sidebar. I'm moving it to Drupal 8 and using the adminimal theme. I created groups and am using the ...
0
votes
1answer
31 views

How do I use a term as contextual filter correctly?

I'm using Drupal 8. I have a book content type that uses a vocabulary called "book type" as an entity reference field. I have basic page content type which also uses the the vocabulary "...
-2
votes
0answers
24 views

Neophyte asking assistance for server move [closed]

Total project is to take a Centos 6 - Drupal 7.6.7 - Mysql 5.1 - PHP 5.6 Server to a corporate provided RHEL 7 server with corporate security approved modules. We have already done the following ...
1
vote
0answers
33 views

Setting custom key names for exported JSON view fields

I have a result set similar to this: My question, how to change created_1 key and name it something else?
0
votes
1answer
22 views

How to display the first child of a book with the title of the book and keep the url by using a view

Is it possible to display the list of the first child of every book with a view? I couldn't figure that out so I added boolean to the book content type to check which child is the first child. If that'...
-1
votes
1answer
21 views

Get value of a checkbox that is an element in a #rows array

I am building a table with checkboxes without using tableselect for various reasons, but am trying to retrieve the checkbox value similar to how tableselect does. Tableselect will populate the values ...
0
votes
1answer
24 views

Add a link to a tableselect row

I'm interested in adding a link in a tableselect form row. Utilizing the #options key I can only add columns with strings. I am able to add form elements in the #options array similar to the #rows ...
2
votes
3answers
22 views

How can I access the paragraph fields from my node via Tokens?

Token Version: 8.x-1.7 Paragraphs Version: 8.x-1.12 I have one main node. In this main node I have referenced another sub-node. This sub-node has two fields with paragraphs. Each of these paragraphs ...
-5
votes
0answers
22 views

While updating drupal8 site to latest release have face below mentioned issue [closed]

When I trying to update a Drupal 8 site to its latest release 8.9.15. After running update.php I get the following error. Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found ...
-3
votes
1answer
14 views

Attached all images from taxonomy in view

I am creating a view of a content type and content type is linked with you to taxonomy with has images. Now, i have added Relaionship as well. But now if my node is attached to muliple taxmony term it ...
1
vote
0answers
26 views

How do I add fields to an existing custom entity? (repost) [duplicate]

I have a custom entity that isn't showing the ability to add fields. I need to add a field to it, and I want to do it through the UI. The entity was created in a custom module, which I can modify. How ...
1
vote
0answers
17 views

How to apply a sort criteria to multiple displays without erase each individual criteria?

I have a view with multiple displays and I have some sort criteria applied to all the displays and one applied individually to each display. Now I have to add one more sort criteria to all displays. ...
1
vote
1answer
29 views

Commerce Invoice Entity Print Styling

I am using Commerce Invoice and Entity Print to generate .pdf-files of invoices. In Entity Print settings, I set the paper size to A4 and selected TCPDF as printing engine. Then, I customized commerce-...
1
vote
0answers
29 views

How do I compare a date field with the current time in a twig template?

I have a date field on a node – set to a custom date format (c which is ISO) in the Manage Display. I have a twig template checking to see if that date field comes before today, in which is should ...
-3
votes
0answers
32 views

How to adapt the appearance of Modal Flag to Bootstrap 4?

My website is with Drupal 8 and the Barrio theme (Bootstrap 4). I have a problem with the Flag module and the Modal windows. This is what a Modal window should look like : Here is what a Modal window ...
0
votes
0answers
3 views

How I can insert some help text on the ckeditor media embed “Create embed” tab?

How I can insert some help text on the ckeditor media embed "Create embed" tab? Oddly, I can't even find those words together in code. I have a user confused about its use, so I want to ...
2
votes
0answers
15 views

Webform: Remove UUID, Created, ID, etc fields from “HTML Table” Export

I want to know how can i remove the fields from the module "Scheduled Tasks" for Webform, so the exported Excel file doesn't show the fields "Created" "UUID" "Serial ...
-2
votes
0answers
13 views

Broken link for RNG quick start guide [closed]

For the module RNG (events & registrations), the link for quick start guide is broken : http://dpi.id.au/rng-quick-start/ It is a problem to discover this module. Thank's a lot for resolution, ...
0
votes
0answers
9 views

Batch process is getting duplicated when the batch URL is reloaded or duplicated in new tab

I am using Batch API to perform certain code manipulation task. The batch works completely fine except for when the batch URL is reloaded or duplicated on a new browser tab. This leads to the batch ...
-2
votes
0answers
50 views

Standalone entity edit and create forms

We have a site that uses a lot of nested entities (through the Paragraphs module). As there are nested entities and lots of content, we experience that the node edit forms take between 30-60 seconds ...
0
votes
0answers
29 views

can not get compound field value for insert hook [closed]

I am trying to insert my compound field(named compound as well, machine name: field_compound), it has multiple fields inside it. However, I want to get one of the value, when node is inserted with ...
0
votes
0answers
13 views

How to describe dynamic config.settings values in schema.yml

I have a module config settings.yml file with a dynamic list of the fields attached to a user entity, eg attached_fields: field_alpha_text: 1 field_beta_term: 1 field_paragraph: 1 ...
2
votes
0answers
39 views

Add custom Twig extension [closed]

I need to output a JSON variable in my theme, data is saved in a node field. I can easily use hook_preprocess_node to decode the data and save it in axillary variable and then render it using a custom ...
0
votes
0answers
12 views

GeoIP - Error: Class 'Database' not found in _registry_check_code()

On my Drupal 7.78 I installed the GeoIP module https://www.drupal.org/project/geoip I followed the steps in the Install.txt 1. Enable this module as usual. 2. Install one of the Maxmind php API: - ...
0
votes
1answer
54 views

How do I add fields to an existing custom entity? [closed]

I have a custom entity that fieldable. I need to add a field to it, and I want to do it through the UI. The entity was created in a custom module, which I can modify. How can I make the entity ...
-1
votes
0answers
20 views

Importing prices from CSV during Feeds Import

I have a list of towns with associated prices in a CSV file that I would like to import with Drupal Feeds. The CSV looks something like this. Names Towns Max Price 1 Anthony Price ...
1
vote
0answers
22 views

Search Api display search term in form

How do I display the search term after I have run the search. Here is my form: <input data-drupal-selector="edit-search-api-fulltext" id="edit-search-api-fulltext" placeholder=&...
1
vote
0answers
22 views

How to render Messages in an AjaxResponse? [duplicate]

I have a modal form which when submitted calls submitModalFormAjax(). I am trying to get the messages that were previously created and use an AjaxResponse command to print the messages to the modal's ...
-1
votes
1answer
20 views

How to display in a “Views”, “Message” less than 15 days?

I created a "Views" page to display the "Message" of the message module. I want to display only messages created less than 15 days ago. How to do this ? I added the "Created ...
-1
votes
0answers
30 views

How to create new webform element [closed]

I am trying to create a new custom element for webform. I want something like link webform fiel for using it in a Custom composite. I saw it is possible to create a new element with a custom module. ...
-3
votes
0answers
20 views

How do I load a node page through AJAX after form submission? [closed]

I've created a custom ajax form,also written callback in it.But now I want to load node using ajax after form submission.
-2
votes
0answers
26 views

drupal-check: command not found [closed]

i am trying to make drupal-check working https://github.com/mglaman/drupal-check At the site root directory i have done composer require mglaman/drupal-check --dev then drupal-check -a modules/custom/...
0
votes
0answers
22 views

How to make a View only show it results if the last of multiple exposed filters has a value selected?

I have a View with three exposed filters. We do not want to show any results until the user has selected a value for the last filter. Is this possible?
2
votes
0answers
26 views

How translate custom email programmatically?

I'm on a D9 Site. I've created a module, where I define a hook_mail, a hook_theme and a preprocess for swiftmailer twig: /** * Implements hook_theme(). */ function my_module_theme() { return [ ...
0
votes
0answers
20 views

How to get innerHTML from drupal8 Feeds module? [closed]

I am new to drupal and am looking to import some html documents into drupal8 from an external web server. I installed the "Feeds" extension and am able to pull the html content as part of a ...
0
votes
0answers
37 views

How we can remove field--type-entity-reference-revisions div from a paragraph

I am using paragraph module. and create a twig tempate for the paragraph - paragraph--machine-name--default.html.twig but It generated a div at starting of paragraph having class field field--name-...
1
vote
1answer
25 views

How do I hide static media file URLs?

I have developed a website in Drupal 7. Right now I have a requirement: A page should display a PDF file (already generated). Only authenticated users should have access to view or download this file, ...
0
votes
1answer
38 views

How do I use the mail manager without the $to value?

I want to send an email for multiple users without a to address. Setting $to NULL, and empty string 'undisclosed-recipients:;' doesn't work. How can I send an email with just BCC recipients?
0
votes
0answers
21 views

Exclude specific weekdays from date field

I am using a date field in the Commerce Order to pick up the product (Collection Date) Currently, there is a restriction to select dates in the past. Is there an option on the date field, somehow to ...

15 30 50 per page
1
2 3 4 5
1690