All Questions

-1
votes
0answers
3 views

Drupal 7 Commerce KickStart - Add A Field in Product Variation that lets user Choose From A List of Terms in A Specific Vocabulary

I want to add a field in product variation that lets user choose from a list of terms in a specific vocabulary. For example, I have a vocabulary of "Pizza Recipes". The terms in the vocabulary will be ...
0
votes
0answers
3 views

Contextually filtering a view using values from a completely separate table?

I have a table "user_connections" id | uid1 | uid2 1 | 1 | 2 2 | 3 | 1 etc So, if the current user has uid = 1, then according to my table, he is "connected" to use 2 and 3. So I just want ...
0
votes
0answers
6 views

Display a view block with a list of content excluding the one currently displayed on the page

I sometimes use contextual filters to display fields matching the content ID from url In that case , i would like to display a list of content as a view block , except the one that is displayed It ...
0
votes
0answers
14 views

Creating a “tag blacklist” for users on a view

I'm looking to allow users to create a "blacklist" of certain tags on a site. My plan was to do this through adding a "Blacklisted Tags" field on the user entity, but I'm open to other solutions. If ...
3
votes
0answers
23 views

Alter webform messages found in WebformMessageManager

List item Is there a way to change the hardcoded webform messages from /webform/src/WebformMessageManager.php? for example, the one on line 284 case WebformMessageManagerInterface::...
-2
votes
0answers
15 views

Is there any module that supports RTMP (Real-Time Messaging Protocol) in Drupal 8? [on hold]

I need to implement RTMP services in my site. Does core media module support RTMP?
0
votes
0answers
5 views

Views filter, add an anchor to the redirect url

I have a website with some news. I create a view that show this view and can filter them by category. The problem is that when I use my filter it reload the page and go at the top of the page, I want ...
-5
votes
0answers
13 views

How to upload a large files 500-1500 MB and how to restrict the number and time of uploads?

How to upload a large files 500-1500 MB and how to restrict the number and time of uploads? Need to upload genomics FASTQ files. The backend will process them and return results to the email, provided ...
-2
votes
0answers
17 views

How to use custom theme for a single custom module Drupal 8?

I have a .module file for my custom module where i have written a hook. I want this custom module to use custom theme. I am using Drupal 8. function check_theme($existing, $type, $theme, $path) { ...
-2
votes
0answers
10 views

training comparsion between drupalize.me and build a module [on hold]

We are looking for online tutorials and found 2 options 1. Build a module 2. Drupalize.me could somebody please help which of these websites have good and structured content for learning .
-3
votes
1answer
15 views

Create a rule and inject mysql code

Can I create a rule on my drupal 7 website and that rule will: Whenever a user is logged in (only logged in users can see this content) and a certain content is clicked I want to write a mysql update ...
0
votes
1answer
8 views

How to use a token in the reference fields

1-I have a node with the name of the project. 2-this node has a project_name field that generates by these Tokens 3- I have a reference field that it load an entity type in the project create the ...
1
vote
0answers
12 views

IEF reference show parent field as title using Auto Entity Label

I am new to Drupal 8 want to add a field value to IEF reference title. for now, I am using Auto Entity Label version 2.x-dev to automatically generate a title for my Entities but when it comes to IEF ...
0
votes
0answers
2 views

Drupal Commerce KickStart - Add 'Quantity Widget' in Products Page

I want to add a quantity widget in the content of my product page. It wasnt present in my interface. I dont why the quantity widget shows up automatically in other content types. I viewed managed ...
1
vote
1answer
15 views

How to disable views pager programatically in certain cases

I have a paragraph which shows a view. The editor may set some options as argument filters, sort and show/hide pager. "Normal" fields are used to collect these options and ...
0
votes
1answer
22 views

Programmatically auto-submit a Webform after visiting its URL

I am wondering whether it's possible to programmatically auto-submit a Webform after visiting its URL and to save the user from a 'submit' button click. The below webform can be accessed via /form/my-...
-2
votes
0answers
11 views

I want to know more about menu links [on hold]

I want to add more details to my page instead of it being just a straight down page. How would I add format so that I can buttons on the left or right side with words?
0
votes
1answer
11 views

Multiple path aliases based on taxonomy term

I have taxonomy terms from A-Z and each article can belong to multiple terms. for an example, when I create a new article, I have a multi select list for terms. Therefore a particular node should ...
-1
votes
0answers
8 views

How can I style image on custom form upload?

I have Drupal custom module with a form and a number of fields in it. File upload is one of them, it's working fine. But I need to preprocess image before uploading, preferably with Image module. Here'...
0
votes
1answer
11 views

How to programmatically search content with a specific taxonomy term with Search API?

I'm working on programmatically searching content with the Search API module. Ideally I would like the ability to select which taxonomy term of a content type is being searched. For example, if I have ...
-1
votes
0answers
19 views

How to disable caching for hook_preprocess_menu

I have used hook_preprocess_menu to add the child to the menu items. The child's are a specific content type. If i make changes to the content the changes are not reflected to the menu item child ...
0
votes
0answers
13 views

Link entire teaser views row to content with core or contributed module?

When creating views I prefer use views modes rather than fields. I have been reading up on accessibility stuff and one topic that comes up is that adjacent fields, linking to the same url can be a ...
-1
votes
0answers
6 views

how to make my views field link open form modal?

How add the options: data-dialog-type="modal" id="my modal form id" data-dialog-options="50%" to my view field custom link if the rewrite result as only has link class???
0
votes
0answers
21 views

How to serialize a form's render array to json in Drupal 8?

I want to build a REST resource to return Forms as JSON with all labels, help text, default values, etc... When I use REST's built-in resource /entity/entity_form_display/node.article.default it does ...
0
votes
0answers
9 views

Weekly Drupal cron task exiting unexpectedly, Drupal not reporting error

I have my doubts that this problem is actually caused by my Drupal configuration, but am wondering if anyone else has experienced a similar issue and how they went (or would go about) troubleshooting ...
0
votes
0answers
8 views

Using image styles with a normal “managed file”?

I created a content type with 4 fields on it: Private Image Field Public Image Field Private File Field Public File Field I am able to access 1 and 2, as they are image fields. But if I upload an ...
0
votes
0answers
10 views

766 security update database schema errors

After updating to 7.66 and running update.php i get an error: Class name must be a valid object or a string in /home/breastcancertiss/public_html/includes/common.inc on line 8066 I have 6 schema ...
0
votes
0answers
7 views

I cannot delete the default content [on hold]

I am deleting all the default content of Drupal 7 Commerce Kickstart, bnut I found out some content cannot be deleted. I don't know if it's because I wrongly configured something or what. I am using ...
0
votes
0answers
3 views

Put a product image on the tile view of products

I had installed Drupal 7 Ecommerce Kickstart. Whenever I search something, the products list are shown with no cover images shown. I can only see images, when I particularly click the product link. I ...
0
votes
0answers
9 views

Make “Add to Cart” Button Appear Below

I have installed Drupal Ecommerce Kickstart. I want to make the "Add to Cart" button below and not in the middle. How will I do that in Drupal 7?
0
votes
0answers
12 views

How to map key value pair xml data in feeds mapping

I have a xml data like this. In feeds_ex how can I map the metadata key value pair to content type fields target. What to write in new xpath source.
0
votes
0answers
28 views

How do I dynamically change cookie_lifetime?

I'm trying to change cookie_lifetime dynamically in my D8 project, to set cookie_lifetime to 0 or to some value(for example 24 hours). I know that this can be partially acomplished by changing ...
0
votes
0answers
12 views

How do i alter commerce product price?

I have installed Drupal 8 and using commerce 2.x, I want to alter price according to the user set its own price on user field of a user who created the product. example: user1 has its user price 10 $ ...
1
vote
0answers
18 views

How to progammatically subscribe a user on edit form(user_form)using Simiplenews?

How to programmatically subscribe a user on edit form(user_form)? I use the code below in hook_user_presave after I checked if the user is already subscribed. $subscription_manager = \Drupal::...
0
votes
0answers
9 views

Devel “devel.toolbar.settings_form” does not exist even though the route exists

After updating my core with 8.6.15 and devel with 8.2 version, I am facing the following error: Route "devel.toolbar.settings_form" does not exist. The website encountered an unexpected error. ...
-1
votes
0answers
16 views

React JS Setup in Drupal 8 [on hold]

I want to create a project using Drupal as the backend and React for the front end, but I have no idea how to set up the React inside of the Drupal theme not just including the library. Thanks
0
votes
0answers
19 views

How can I add the entityconnect's add new button to a view

Im hoping someone can assist me as I'm starting to learn Drupal 8. I have a relationship between an Artist content type (Parent) and Album content type (Child), and I have a view set up that displays ...
0
votes
0answers
17 views

How can send an alert email after 30 days when the content is not updated

Now I am currently using a Drupal 7 for our project. I am using a rule module but I am new in Drupal so I can't know in detail information about rules module. I want to implement functionality like ...
0
votes
0answers
12 views

How to move comment submit button inside fieldset

I created a new group for a content type under Comments Fields (admin/structure/types/manage/page/comment/fields), and set the type Fieldset. Is there a way to move the comment Submit Button inside ...
0
votes
2answers
22 views

How do I log in if I can not get the login prompt page to come up as it should?

I am having some issues with my Drupal 7. Because of a different bug I am having with component or panel, one that is taking over pages and hiding other parts of a page somehow, my login page has ...
1
vote
1answer
23 views

Theme hook not found

I have a custom module that implements a webform handler. I'm seeing this error in my Watchdog log when I navigate to admin/structure/webform/manage/myform/handlers: Theme hook ...
0
votes
0answers
10 views

Remove “Upload” button in Webforms and upload on submit

We have a webform that must be open to anonymous users. Users can upload a file to the form, and we found out that some users abuse this option and keep uploading files to our site without submitting ...
0
votes
0answers
29 views

Wrong status after updating from 7.64 to 7.66

I recently manually updated my localhost drupal site from 7.64 to 7.66. I ran update.php without errors. When the process finished, I cleared all cache and checked the status. It still reported 7....
1
vote
1answer
30 views

No such file or directory in Drupal\Component\DependencyInjection\PhpArrayContainer->createService()

I installed a fresh D8 (Drupal 8.6.15) site on my local dev and I am unable to use drush. After I installed the site, I also did a composer install. My dev is set up on php 7.1 using AMMPS and drush ...
1
vote
1answer
22 views

How to pass contextual id value from one view page to another through Drupal menuing system

I use a view to display a list of books. The view has three pages: /books/title, /books/date, and /books/popularity. The pages are essentially the same with different sort criteria. The pages use a ...
0
votes
0answers
30 views

Pass variable from custom module to twig template

How can I pass a variable from my custom module to a twig field template? my field template is the "field--node--field-webform--parliament-visit.html.twig" and my module is named as "custommodule" ...
-4
votes
1answer
26 views

How to import OAI or REST API url data in a specific content type node?

I have a OAI/REST API url having thousand of records. How do I import these records in my content type node. Which module should I use? or I have to write custom module for this. Suggest some solution....
1
vote
0answers
25 views

How to prepopulate a field from parent form to Inline Entity Form

I have 2 content types - Employee and Project. Both forms have Inline Entity Forms with references to content of each other when user creates an Employee node, he can add projects he took part in, ...
0
votes
0answers
12 views

Validating Tableselect: Checkbox

I have a form in which i have created a table like the following $form['tableselect_phone'] = array( '#type' => 'tableselect', '#header' => $header, '#options' => $options, '#...
1
vote
1answer
31 views

View filter based in text not in number

I have a field in an entity that is an Entity Reference with widget Select list. I have created a view and I want to be able to filter by that field in text format, but when I try to configure the ...

15 30 50 per page