All Questions

0
votes
0answers
5 views

Creating menu tabs in a child page

I have a suite of modules that go together, and they are all ideally housed under one parent item on the 'management' menu. The normal pages of these modules are correctly being placed under this ...
0
votes
0answers
3 views

Using Webform on Taxonomy Page and using that Term's Values

Say I have a Vocabulary called Branches which has an email field. I wanted to attach a Contact webform to the pages of these Branches where an email will be sent directly to the email field value for ...
0
votes
0answers
5 views

Image alt tag not saving on save/edit

I have a content type for gallery photos which has a Image data type. When I create the content type Drupal ignores the alternate text I enter for any uploaded image. When I edit the content type ...
0
votes
0answers
7 views

Create a patch for Drupal core.libraries.yml

I noticed that core/jquery.cookie is referencing the jquery-cookie v1.4.1 library that is now no longer maintained. It is being superseded by js-cookie and so I would like to write a Drupal core patch ...
0
votes
0answers
8 views

Where are the My Drafts and Needs Reviews tabs in Drupal 8?

I am experimenting in simplytest.me to see if Drupal will suit our needs. I have been testing the workbench moderation module to get the work flow that will be required (content editors and then ...
0
votes
0answers
15 views

How to update a uuid() programmatically for a Paragraph

I am trying to update the uuid for a paragraph that is referenced on a page. In my custom module I have loaded all nodes using entity query below and loaded the referenced paragraph. $nids = \Drupal:...
0
votes
0answers
12 views

How to ignore opening quote in views sort

I use views to display a sorted list of book titles. Titles that begin with a quote are listed first. I want to ignore the quote for sorting purposes. So, instead of: "Once Upon a Time": Fairy Tales ...
0
votes
0answers
5 views

Drupal 8 webform translated. Block on page selected/listed not showing up

Drupal 8! Webform module! I have made a drupal webform and added it to my webpage with creating a block. The block is restricted to the page by url. Everything worked well with this method. With ...
-1
votes
0answers
21 views

Drupal Console vs. Drush for Drupal 9

Are there advantages to using Drupal Console instead of Drush because of Drupal 9?
0
votes
0answers
11 views

Disable IP checking for development

wondering what the recommended method would be to disable IP checking on a Drupal 8 site with Commerce 2. This would be for development purposes only to allow different test scenarios for cart ...
0
votes
0answers
13 views

Behat @javascript test can not login user - incorrect username or password message

I am running: Drupal 7 Behat 3.5.0 Selenium 3.5.0 Chrome Driver 73.x Using this test: Feature: User Profile Background: Given users: | name | status | roles | | incomplete | 1 | ...
0
votes
1answer
28 views

Core doesn't update with Composer

We use commands: composer outdated drupal/* drupal/core 8.6.10 8.6.13 Drupal is an open source content management platform powering millions of websites and applications. It does show 8.6.13. We ...
-1
votes
0answers
7 views

How to configure simplenews to send HTML newsletters by email?

I'm using Drupal 8, simplenews module, and would like to send newsletters monthly in HTML format. The problem is that i tried to configure mimemail, htmlmail, and swiftmailer, all to HTML format, but ...
-1
votes
0answers
15 views

Testing content types on a site without having to create nodes

I have a bunch of Drupal sites on Drupal 8. My task is to test as a support admin of the site to check if the creation of nodes is possible. And if possible to actually create the nodes to prove it by ...
-1
votes
0answers
5 views

How to add a class to #edit-sort-bef-combine-wrapper in better exposed filters?

I would like to add css classes for the wrapper for bootstrap theming (something like col-lg-3 col-md-3 col-sm-4). I prefer to do it in the server-side rather than using javascript. How can I ...
0
votes
0answers
12 views

View filter if field contains a value?

I'm trying to filter my view based on data in a single field. My field targetuser contains a string of numbers: 47, 505, 100, 20. I'm trying to setup the view so that if targetuser contains the ...
0
votes
0answers
11 views

Redirect old URL to new URL via htaccess with path

I am using HTTPS and WWW only rules in Drupal 7's .htaccess like: RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # ensure https RewriteCond %{...
0
votes
4answers
38 views

Master list of contrib modules?

Does there exist an updated master list of contrib modules in some easily parsed format (csv, json, xml ... whatever) that I can use for quick reference to see active full projects (not sandbox)? I'...
2
votes
0answers
28 views

I cannot translate the action label

I'm using Umami profile and choose Spanish is default language. Almost of the interface has been translated into Spanish. But some places did not translate like user page. I'm going to admin/config/...
0
votes
0answers
15 views

Render search form data [duplicate]

I need to show type of search(article or search page, please refer screenshot) in breadcrumb on search results page. How to render type of search selected by user (article or basic page)?
0
votes
0answers
14 views

Result should return a value greater than or equal to the selected facet

Here is the scenario. I have created a facet which list all GPA's (these are decimal numbers). e.g. 2.0, 2.5, 3, 3.5 etc. What I wanted is when say a user choose 2.5 GPA from the facet, the returned ...
-3
votes
0answers
23 views

How do I change header and footer based on URL?

I have a custom header and footer for the front page. I would like to change them for some pages. For example, initially I have the image a.png in the header; after clicking the entry form, the ...
0
votes
0answers
18 views

Custom handler isn't displayed in the handler list on the development server

Webform custom handler is not showing in DEV server but it works in local.It makes very difficult to save additional information. namespace Drupal\demo_module_dym\Plugin\WebFormHandler; use Drupal\...
-2
votes
0answers
11 views

Error using charts module [on hold]

Uncaught ReferenceError: google is not defined at Object.attach (:19:7) at js_N4fLhFjtZJZS4nUHkdvhTjdi62SoNLE_KNAeLAAatNY.js:62 at Array.forEach () at Object.Drupal.attachBehaviors (...
-2
votes
0answers
16 views

Missing “payment_gateway” property when creating a payment using JSON:API

I have updated the Commerce 2 module from 2.8 to 2.11. Now the payment creation API is not working anymore. It is showing me a following an error in the Drupal log: Drupal\Core\Entity\...
0
votes
0answers
17 views

How to delete the cache files when the file cache module is installed

Hellow I have a site that someone else made and I receive it to manage it. Have configured the file cache module where the folder that stores the cache of data has a size of 30 Gigabytes. The site ...
0
votes
0answers
17 views

How do I retrieve media from a reference field?

Inside a node type, I have a reference field to target a media. With a db select, I need to load all related medias of the nodes. For this I use this code: $database = \Drupal::database(); $result = ...
0
votes
1answer
46 views

Why does updating break my site?

I have a site running Drupal 8.6.10. I installed it with Composer: composer create-project drupal-composer/drupal-project:8.x-dev JdP8M7b --stability dev --no-interaction I tried to update it to 8.6....
1
vote
0answers
36 views

Custom field type where entity reference is optional?

I am trying to create a field type that is a bundle of two fields. An entity reference user field, and a plain text field. Image attached for clarity. The idea is that the user attached to a ...
0
votes
0answers
5 views

PaymentMethodManager() get plugin on NULL ubercart error

Hi when trying to create an order in checkout state, the order gets created however when trying to view the order it errors out with the error below: Error: Call to a member function getPlugin() on ...
0
votes
0answers
11 views

How to list of allowed users of a taxonomy term?

I am using the Permissions by Term contributed module in order to modify the permissions of users based on the taxonomy terms on a node. This is not a problem, however I would like to retrieve a list ...
0
votes
1answer
36 views

Get an Un-submitted/Active Form Field Value in $form_state?

I am unsure how to get unsubmitted/active form field values from a number/textfield into $form_state. field_count could be saved as 4, then is changed to 115, how do I pass that change to $form_state ...
0
votes
0answers
11 views

updates page shows an error for a mystery module 'standard 8.6.12'

on the updates page /admin/reports/updates under Modules there is a module called standard 8.6.12 as and it is highlighted with a warning No available releases found (Warning) this module does not ...
-2
votes
0answers
12 views

Editing Sidebar Contents

I am new to Drupal. How can I edit sidebar contents? I have googled the issue without success.
0
votes
0answers
10 views

How can I use full URLs for aggregated assets on a specific route?

My organization is using an external search application. The results are intended to be wrapped in a header and footer to mimic the appearance of the main website. I've created a couple of custom ...
0
votes
0answers
12 views

How to use Interface Translation for specific text on specific pages only

I need to translate certain text in a twig template to one of several languages, depending on the Language selected for the node being displayed. I've installed the Interface Translation module (...
0
votes
0answers
15 views

$form_state values are empty after ajax $form modification

Im doing a module to generate form validation on field length, first i display a select of availble content types. When the target content type is selected an ajax request display the end of the form ...
0
votes
0answers
12 views

How to programmatically add fields to a node through a module

I've followed a tutorial here about adding a field to every taxonomy and node and I'm getting an error on installing it. I can get the field, widget and formatter to work, just can't get it to install....
0
votes
1answer
9 views

View that shows all children content of parent

Been searching and cannot find this anywhere for Drupal 8. Very basic view request, can't figure out why it's not straightforward. I want a View that shows Parent content and under it all Children ...
0
votes
0answers
14 views

PluginNotFoundException after moving the views_bootstrap module

I have a multisite installation with some site having a bootstrap 3.x theme and a new site that should have a bootstrap 4.x theme. All BS3 site are using the views_bootstrap module 8.3.x The new BS4 ...
-1
votes
0answers
31 views

How to ungroup address form elements

We're using the Address module to provide address functionality. But its widget is in a container ( details form element) But what we need instead that is to divide the elements, something like in ...
0
votes
0answers
17 views

How to dive deeper into the hierarchy using views

I am really bad at explaining things so I will just use images to best illustrate what I am trying to do. To summarize, I am learning Drupal 8 and I thought my pet project would be to create a ...
0
votes
1answer
15 views

Drupal 7 how to use item menu as MENU_LOCAL_TASK and MENU_NORMAL_ITEM simultaneous?

I have hook_menu with 3 pages they are defined by default as MENU_NORMAL_ITEMs and I see them from in main menu: $items['accounting'] = [ 'title' => 'Accounting', 'page callback' => '...
-1
votes
0answers
19 views

How do I print only #values? [on hold]

When I use devel the print object is very long ... I only needs the #values informations. example for an item in an cart kpr($item); #values: array:14 #fields: array:16 #fieldDefinitions: array:16 .....
-3
votes
0answers
18 views

Chunked file upload for Drupal 6

Yes, I understand, that D6 is a extinct dinosaur, however the site I'm using it on, is quite a big fella, with lots of nodes, mods and code fixes, so it's going to be a big pain in a known place if I ...
0
votes
1answer
21 views

Get user list according to node field value

I have created one content type named "Project". I have added one field in it named "Skills". Skills is a multiple select field. And I have added one submit button. Which I want to use to get records ...
-3
votes
0answers
25 views

How can I merge combine facets?

I have a search page with a faceted filter on 'Content Type' field. I basically need to merge some of the content types into one single facet. Example: Content Type A(20) Content Type B(30) Other ...
0
votes
0answers
15 views

Revisions counter in node overview

I would like to see how many revisions a node has in the node overview page (/admin/content). The ones that are listed in e.g. .../node/ID/revisions It can't find anything like delta revisions or has ...
0
votes
0answers
15 views

How to add menu links to a dropdown programmatically

I have added a menu item to my Drupal website via the following: business_listing.links.menu.yml business_listing.listings: title: 'Browse Members' description: 'Browse Business Listings' ...
1
vote
1answer
91 views

Unable to access private file?

I had this issue before, and last time the problem was that node was unpublished. The private file became accessible when the node was published. This time, however, I'm not using a node. I'm just ...

15 30 50 per page