This tag is for questions about modules hosted on Drupal.org. It should not be used to generally mean "this question is about a module," when the question is about a module's code, or when the question is already using a tag specific for a module (for example, "views," "cck," or "pathauto").

learn more… | top users | synonyms (2)

0
votes
0answers
6 views

Bind click event to ajaxify form button

how the title says I would like to trigger javascript (jQuery) event from generated Drupal form button. I already add an id to the button and added the javascript in theme file like so: ...
0
votes
0answers
14 views

Update database/dom after dialog button submitted with jQuery

Clicking a dialog button I want to update Drupal database using jQuery .ajax() function! I want to know if in first place is secure to do so or is another method to handle the synchronous requests? ...
0
votes
1answer
14 views

How to programmatically add options to list_text field

I want to programmatically add a drop down list field to the user profile via a custom module. How do I go about adding select options for the field? // Create Field 'suffix' => array( ...
3
votes
0answers
133 views

How to do delete unused files? [duplicate]

In sites/default/files there is some images and other generic files that are unused in the contents of my drupal installation. For example: files that are no longer attached to nodes or files and ...
0
votes
0answers
28 views

HTTP0 error when downloading a module [on hold]

when I try to install or update a module, the following error appears. Do you know how to correct the problem ?
0
votes
0answers
16 views

Streaming Boadcast (Video Streaming) [on hold]

Is there any module that supports Video Streaming with the capability of saving the video in the Server? For example, I need to have a player on my web site, that gets videos from a TV Channel and it ...
0
votes
1answer
17 views

Module Suggestions Sought for Multi-Org Volunteer Scheduling [closed]

I'm trying to figure out the best way to handle volunteer shifts over a changing group of small organizations - without having to reinvent the wheel, of course. The idea is that many smaller orgs in ...
-1
votes
0answers
34 views

Magazines store [closed]

I would like to run a Drupal website with some eCommerce module(s) that allows selling traditional magazines (like National Geographic) as a subscription. A customer could order subscription for ...
2
votes
1answer
94 views

Controller and Form

What's the key difference between: amazing_forms_contribute: path: 'amazing-forms/contribute' defaults: **_form: '\Drupal\amazing_forms\Form\ContributeForm'** _title: 'Conribute page' ...
0
votes
1answer
24 views

Unable to get my ContentEntity base field definition to appear as checkboxes

I am trying to implement a base field with multiple selections as checkboxes I have had a go at implementing it but it stills appears as a select even after clearing the cache. I'm sure I'm doing this ...
0
votes
0answers
22 views

Is the currency module the right one for drop down currency selection? [on hold]

I want to use the currency module to give users a drop down choice to pick their currency in real time. There is a module that may do that: https://www.drupal.org/project/currency But I can't find ...
-2
votes
0answers
14 views

Geolocation websites [on hold]

I am working on Drupal 8 project. I need to create a website for multiple locations. for e.g. www.example.com/in www.example.com/us www.example.com/uk and the inner pages should be linke ...
0
votes
0answers
8 views

Import data from Uber cart donation to Commerce contribution

Am using commerce_migrate and commerce_migrate_ubercart modules,I have drupal 6 site its donation site.which they are using uber cart modules.I have developed a site which am using commerce ...
0
votes
1answer
14 views

multiple values of several fields grouped together

I am using drupal 7 as a backend, in which I have a content type called conferences, and each conference has several events. I do not want to create another content type for events and would want to ...
0
votes
0answers
6 views

Unable to save storage class for styled images

I'm unable to save the storage class for the selected image style (Storage API). I'm getting timed out from the server. I'm not sure what it is trying to do. Any help is really appreciated. Thanks.
0
votes
0answers
8 views

Modify the registration page in the membership entity module

I am new to drupal. I would like to remove some of the fields on the registration page of the Membership Entity module and add others. The new fields that I add need to be saved into the database. ...
1
vote
1answer
22 views

Create a page with database data in a module

I am new to drupal and in a process of developing a custom module. My module will do a couple of things: (ADMIN) User will be able to select a zip file and upload it (ADMIN) The module will than ...
0
votes
0answers
35 views

Dynamically hiding / showing form api fields in Drupal 8

I have created a custom module in drupal 8. My requirement is, there should be some fields invisible by default and if a user clicks on "More Options" the field should display and if user clicks on ...
0
votes
1answer
76 views

Cannot change an existing field's type. in field_update_field() line 240 of field.crud.inc

My instance of drupal is throwing an error. The file that is throwing the error is modules/field/field.crud.inc The error is FieldException: Cannot change an existing field's type. in ...
0
votes
0answers
6 views

Update Quantity of Line Item in all Pending Orders

Let me begin by saying this, although I'm not new to Drupal, I am fairly new to getting into hooks and the like, so any amount of guidance is helpful. Also, I know my use case seems strange, but it's ...
0
votes
0answers
20 views

How to add a textbox in views filter criteria

There is a view in my site that has filter criteria. I need to add an extra textbox in views filter criteria then based on its value, remove some of the results. This textbox is not in any of the ...
0
votes
1answer
16 views

'TwitterException' with message 'Not Found'

Viewing the syslog, I see errors like for the Twitter Module 7.x-5.11 Do you have an idea of how to solve it? 'TwitterException' with message 'Not Found' in ...
0
votes
0answers
4 views

gmap3_tools limitations

Trying to show locations world wide using http://drupal.org/project/gmap3_tools, however, any location over 4750 miles from default_center_lat and default_center_long are not rendered. Is there a fix? ...
0
votes
1answer
13 views

Attach a Webform to user registration form

Is there any way to do this in Drupal 7? I want new users send some documents via Webform on registration. The reason is that I don't want to save these documents as an user profile field.
0
votes
1answer
17 views

How to ensure javascript using drupal behaviors is only run only certain pages?

I have a custom module "mymodule" that will contain a javascript file that use drupal behaviors to do something. Here is the file structure of the module. In the .info file i have added script[] = ...
0
votes
1answer
25 views

Insert multiple checkbox value from webform into table

I created: a webform named Test Number checkboxes checkboxes named Number with values one, two and three using Form Builder a table named checkbox_check Aim: When the webform is submitted, the ...
0
votes
0answers
27 views

How get a publish url for already uploaded file in azure blob storage

Hi I am using azure for Windows Azure Integration in my drupal site. Its perfectly storing store files, images and media. But after storing the the video file I need publish url for the video to be ...
-1
votes
1answer
37 views

How to restrict previous date display in custom forms?

I created a custom module for a form which accepts from date and to date as user input. I would like to restrict the user from selecting a date prior to current date. Code snippet of my code ...
0
votes
0answers
16 views

How to connect to another database? [duplicate]

I have imported a dump into my local system(MySQL DB). I now need to access the data present in one of the tables in my Drupal 8 custom form. The idea is there is a field which takes user input and ...
0
votes
1answer
19 views

Unable to send user-entered data to PayPal along with credit card info

I need help. I used this as a guide. When my user fills out and pays for something on my site using a product form the information they supplied in the form (other than their payment) is not being ...
1
vote
1answer
15 views

How to access individual items in $form_state['values'] post-submit

Question After a user has a submitted a form how do I determine how to reference individual form field values in $form_state['values'] ? Examples For example, I have several fields in my form, such ...
0
votes
1answer
28 views

Passing computed data from Theme preprocess functions to Twig templates

I'm using Drupal 8. My general problem is this: I need to compute some data from PHP code, usually using Drupal APIs, then pass computed values to a Twig template in order to showing it. For ...
0
votes
1answer
14 views

Dynamic configuration form

i need to do a configuration file wich allow an admin to select a lot of terms from a vocabulary. Then i want to make a form with 2 select field : Vocabulary and Terms. So, i can select the vocabulary ...
1
vote
0answers
26 views

Use webforms to search and edit information from a custom table on the database

I am attempting to search and edit information by using 2 webforms. The custom table is found in the database that my Drupal project is using and is named "test_update." It has 2 records on the table. ...
0
votes
0answers
11 views

Is it possible by using Authorize.net user must subscribe and a monthly deduction from user's account took place?

I am using Drupal commerce_kickstart-7.x-2.35-core and i installed commerce_authnet-7.x-1.3 module to authenticate payments. Now i want to ask that is it possible to that when user click on checkout ...
0
votes
1answer
21 views

How can i make colorbox photogallery module to be responsive

Wondering if we can make colorbox photogallery module to be responsive or do we have any other responsive module other than lighbox2, juicebox as i tried those and they are not working with my theme.
3
votes
3answers
40 views

Making some Views Exposed Filters auto-submit but not others

Background I'm using Views and Better Exposed Filters and Search API. I have my filters set to 'autosubmit' so when a user makes a change to a filter it auto-updates the search result. What I want ...
1
vote
0answers
40 views

“Add another item” slows down the performance and takes more time for loading the page again

We have an option for adding group of value fields in the content page but every time as we add more items and click "Add another item", the page becomes very slow and takes longer time to load. I am ...
0
votes
0answers
25 views

How to overwrite form submit? “Please enter some keywords” - Cant see my error

I have managed to get quite a few modules up and running and i'm now on my last sprint and got caught off guard by this small issue. I simply want to change: if ...
1
vote
1answer
28 views

Getting User Entered Form Data within a hook function

Problem I need to use the following hook function to edit a similarly-named function in a contributed module (PayPal WPP), but I don't understand how to use it. ...
0
votes
1answer
38 views

How and where to use/place database queries when a webform is submitted?

Let's say that I already created a webform with fields Customer Name, Customer Surname and Customer Address. When the webform is submitted, I want to insert those values captured in a custom table ...
0
votes
0answers
10 views

How can I parse an URL from the Link module?

I am developing a website, my website, powering Drupal 7 and I know that the Link module already has something like displaying a link from http://website.com/some-article-here to website.com but I ...
1
vote
1answer
14 views

Custom html.tpl.php from module for custom type

I have built a module that adds a new custom content type. I need to use my own html.tpl.php for that content type, and the html template sits on my module folder. I have done somee xperiments, I was ...
2
votes
1answer
96 views

Determining the $POST variables of a submitted form

I have a form on my site. Users fill out the form and submit it. When I want to target one of the fields in the form with a custom module I'd target it with something like the following: ...
1
vote
1answer
45 views

Getting an error adding a new field with a custom Field Type in Drupal 8

I defined a new Field Type named country following this nice tutorial: http://capgemini.github.io/drupal/writing-custom-fields-in-drupal-8/ These are main files from the country custom Field Type: ...
0
votes
2answers
29 views

Can I configure Send by Email to use CC instead of BCC?

So I have a node that is using the Print Module (www.drupal.org/project/print) and it's associated send by email functionality. The issue is that if I include multiple emails on the send by email ...
0
votes
1answer
36 views

Add PHP code to block's content [closed]

Is there a module that allows a php text filter in drupal 8? This was a possibility in drupal-7 but I can not find something similar to 8.
0
votes
0answers
10 views

Module ctools error - Call to undefined method stdClass::get_human_name()

After than i migrate a drupal site, my site shows a white screen. When i saw the httpd log error with the following: PHP Fatal error: Call to undefined method stdClass::get_human_name() ...
1
vote
2answers
29 views

Trouble passing PHP variables to JS using “attach”

Module-noob here. I've seen plenty of threads on this topic in general but haven't found any concerning use of "attach." I'm working on a fairly simple module that applies some JavaScript to every ...
1
vote
2answers
17 views

How can i give link in block for only listed paths based on user id?

I have created block and i want to give the only listed paths i.e user/user_id ex: user/123 i have given user/* but it displays all pages where users pages are there. i tried below ways and ...