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
11 views

How to do avoid submitting and reloading the entire form during “Add more item” in the drupal admin system?

In my drupal admin, I have a custom content type input form. Basically we enter some project details and each projects has multiple credits associated. Each credit items are then added via "Add more ...
0
votes
2answers
32 views

What is the name of the template to theme a reset password mail?

I want to theme the mail which is used to sent a link to user when the user forgot the password. I want to know what I need to name the template file so that Drupal will take my email template file. ...
0
votes
1answer
12 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
16 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
0answers
16 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
5 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
11 views

Content lock module [closed]

Is anyone working on a content locking module for drupal 8 ? If so where can I find the information of what is done so far? the dev version on the module page is practically empty. thanks
-1
votes
0answers
15 views

Auto fill input boxes from an other website?

Hey guys any idea how should I do this. Lets say I have 2 different websites, so on the first one I have u input types 1 - Username 2-Password and a button register, so when i fill out that ...
-1
votes
0answers
12 views

Display data in a textfield from a table found in the database when the webform load

I have a table named customer with only one field called Company_Name. I want it to display a value from the table when the webform is loaded. Query to retrieve the data: $result = ...
0
votes
0answers
17 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
2 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
8 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
16 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[] = ...
-1
votes
0answers
15 views

Drupal Ajax event not work

just why this not work ? I've done something more complex but suddenly everything won't work... It's a simple button with his text update when we click on it <?php /** * @file * Food Truck ...
0
votes
1answer
18 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
17 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
18 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
14 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
12 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
12 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 ...
0
votes
0answers
7 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
19 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
31 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
34 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
23 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
37 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
59 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
29 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
28 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
34 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
8 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() ...
-2
votes
0answers
13 views

get slogan site for contents

i have created this module : display nodes with her : title , type, and site name, but i want that display site_name for each node Example : Node 1 : Type1, Site name 1 Node 2 : Type2, Site name ...
1
vote
2answers
25 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 ...
0
votes
0answers
15 views

how i get domain sitename from database

i have created new column in the {domain} table called : sitename_ar and i created a Rules : after saving new content : set data value and the data is : <?php $domainGet = ...
0
votes
0answers
22 views

Search module is not working in blog post

I have a question. I am using drupal 7 right now. In my site, i am using search module. But some content are not shown in the search. For example blog post. I want to search something that i wrote in ...
0
votes
1answer
25 views

Drupal Search API Solr 5 incompatible schema.xml

An error kept showing after installing Search API for solr and after creating a server on drupal. (Solr 5.x) You are using an incompatible schema.xml configuration file. Please follow the ...
0
votes
1answer
31 views

how to get row field for each node

i created a field called : (sitename_ar) and i have two rows (two domains) in {domain} field : and i have in my database these two fields {node} and {domain_access} : and i want display in ...
0
votes
0answers
18 views

Upload Image to Akamai CDN

I am supposed to upload images to Akamai using drupal. I have Akamai FTP credentials and I have used STORAGE API module to upload the images. I have already created container, classes for the images. ...
4
votes
2answers
50 views

How can I add a tab to the admin/content page

I'm new to drupal, so sorry if this is a stupid question. While developing a module, is it possible to add a tab to the /admin/content page (where by default there is content, comments, files) ...
0
votes
1answer
36 views

Custom Module not showing up

Playing around with Drupal 8 and trying to create a custom module with a custom block: I have a module.info.yaml file: name: Custom Module description: Description Here package: Custom Module type: ...