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
1answer
7 views

Drupal 7 - More Stories appears when a user scrolls on a half page

More Article Box (More Stories) appears when a user scrolls on a single post at least 400px. The box appears in the right bottom corner and it can show one or more posts related with the current one. ...
0
votes
1answer
16 views

apply css for particular node and do not apply for particular node

i used css injector module to replace default css.applied that css for below paths (node/*).how to exclude below node from that css.(Example.www.example.com/node/add)
0
votes
0answers
7 views

how to load custom Field into a custom Module (form Controller)

if i have: <?php /** * @file * Contains \Drupal\arm_main\Plugin\Field\FieldType\myField. */ namespace Drupal\arm_main\Plugin\Field\FieldType; use Drupal\Core\Field\FieldItemBase; use Drupal\...
0
votes
0answers
7 views

how to apply twig template / theme in field formatter

i have field formatter like: class myNameDefaultFormatter extends FormatterBase { public function viewElements(FieldItemListInterface $items, $langcode) { $elements = []; foreach ($items as ...
0
votes
0answers
6 views

Having trouble getting Reference field option limit and Entity reference autofill to work together

I am working on an inventory system that would take a shipment and autofill the customer name which would then limit the commodity type. I am able to get the autofill and the limit to work separately ...
0
votes
0answers
32 views

Adding jQuery plugin

I'm trying to use a jQuery plugin on a page to turn a table written in HTML into a bar graph. When I wrote the HTML and tested it from my computer, it works fine, but integrating it into the Drupal ...
2
votes
1answer
28 views

How to set a checkbox using POST request with Services Module?

I am trying to set a checkbox in a display using a post request by setting the value of the mark field to 1, specifically field_mark_as_discounted. But I can't seem to be able to achieve that. Note: ...
0
votes
0answers
14 views

Register New User Using RestAPI in Drupal8

How to register new user using Rest API in Drupal8? I spend couple of hour but however no documentation/help found for this. This is the e.g of creating node: curl --include \ --request POST \ --...
0
votes
2answers
10 views

Displaying parse errors in module development on the browser

I am currently trying to learn Drupal Module development. As one might guess, many errors get created in the process. But, all i can see is WSOD on the browser. For the same errors, most of the ...
0
votes
0answers
15 views

Heartbeat module crashes the site

I tried enabling the heartbeat module on drupal 7 and as soon as I try to enable it from module page the site returns a blank page. Is anyone facing the same issue with this module or an alternative/...
0
votes
0answers
9 views

Targeting values within an stdClass variable

I'm trying to target a value in an object in my form, but Drupal throws an error when I try. The object I'm trying to target is the 'amount'. However, when I try to dpm the variable in question, '...
0
votes
0answers
16 views

PayPal Recurring Payment - Drupal commerce [on hold]

I am using Drupal Commerce and the payment gateway needs to be in paypal recurring method for the user subscription. I have tried with both the Commerce SP PayPal and the Commerce PayPal modules. But ...
1
vote
0answers
14 views

View not working for taxonomy pages

I am using the Views module for multiple sections of my site. I have added a custom view for displaying results of a taxonomy term. The taxonomy term is 'resource-topics'. The view is set up with a ...
0
votes
0answers
12 views

PDOException : SQLSTATE[42000]: Syntax error or access violation: 1142 [duplicate]

I meet a error when I cleaned the cache or I run an update. It blocks my website, do you have a solution ? thank you
0
votes
0answers
21 views

module to send calender invite [on hold]

Is there any module to send calendar invite to particular user group? Please help me out to achieve the same
1
vote
1answer
29 views

How Can Create Node Info Bar (or Node Info Block)?

I want to create a teaser with belove sections: 1- Title Section. 2- Information Section (Info Bar): When this Node Writed? (Date & Time). Whom is writed this Node: (Author of Node). What ...
0
votes
1answer
8 views

Ahah helper alwas getting error, but on other page no error

I have forms with Ahah helper. When I tried to fill the form, it always getting this error: warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'A' not found or ...
0
votes
0answers
26 views

TB-Mega menu close open by click problem [on hold]

I have a problem about TB-MegaMenu navigation bar. I use this script for get an open/close by click system : tb-megamenu how to click to open/close sub menu in mobile It works well but when i show ...
1
vote
2answers
30 views

Get content of selected option after user select any option from select field

I have created a content type, This content type form having a select box. I need to develop a functionality like once the user select any option from select field the following textbox should having ...
0
votes
1answer
14 views

file_directory_path() in Drupal 8

I have a function file_directory_path() in Drupal 6. $id=fileowner(file_directory_path()) I need to convert this to Drupal 8 as file_directory_path() is deprecated in Drupal 8.
3
votes
1answer
65 views

Block Plugin Derivatives Discovery

I need some help with my code. I am creating blocks dynamically using the plugin derivatives. I store some form data in a database table, then I display it in each block separately, depending on it's ...
0
votes
0answers
9 views

Display more than one pop up box upon click [closed]

I want to open popup message more than one. (e.g if I click front page, page show three popup message) I try to use 'popup module'. but this module can open only one popup message.
-3
votes
0answers
12 views

How to get dynamic elements value in form api drupal

I have written code to display fields in dynamic text-field, but I cant able to get all values what I have entered function payroll_emp_form($form,&$form_submit) { for($i=1; $i<=2;$i++) ...
0
votes
0answers
11 views

Drupal theme responsive problem in mobile devices/toggle

I found a nice drupal theme called 'Flat Zymphonies Theme’ but is one problem with them, it is impossible to switch to mobile reposnive in mobile devices/view. Responsive works good when you change a ...
0
votes
1answer
25 views

What causes the error in my custom module for OpenLayers 3?

This error gives me a whitescreen with just this message: Drupal\Component\Plugin\Exception\PluginException: Plugin (ifplabel) instance class "Drupal\ifplabel\Plugin\Style\ifplabel\ifplabel" does ...
1
vote
1answer
17 views

Active menu trail for multiple menu item with the same path

It is possible to have menu items that point to the same node and have the active state dynamic? If I click the link 'List item A1' I would like to become active the link 'List item A'. If I click ...
0
votes
1answer
38 views

How to access field values from a custom block

How do you give a custom block (in a custom module) access to field values produced by the context of page? eg: If the page has a field, say 'field_my_custom_id' and I want to use it for some purpose ...
-1
votes
0answers
25 views

Automatically scroll/cycle in Quicktabs

In my one of the project, I am using quicktabs module. if the tabs exceed then arrow must come in tabs which on click will give me next renaming tabs, like slide. In current case, tabs comes in next ...
1
vote
1answer
35 views

How to use the Save Draft module for a particular content type only?

I Want to use the Save Draft module for a particular Content type. When i install this module by default it will be applied for all content type.Please let me know how to avoid this. Note: I'm using ...
0
votes
1answer
15 views

Schedule a push notification

I need to schedule a Push Notification, as in the push notifications module, every predefined set of time (e.g. every week). Looked into the Rules module, but could not find a way to program a rule ...
1
vote
2answers
22 views

How can I embed the YouTube field module in a specific page?

Shifting from Wordpress, I'm quite a newbie at Drupal. So I want to embed the YouTube field module in a specific page, not just on the landing page (as it is shown in the setup video https://www....
0
votes
0answers
33 views

Ctools - How to Add a confirm dialog before closing the modal?

I am using ctools modal window to display a form. How can I add a confirm dialog, when the user tries to close the modal?` function my_module_menu() { $items = array(); $items['my_module/page'] = ...
0
votes
0answers
19 views

Call multiple function after dynamic time distance using corn

I have one problems, but i can't understand how to describe you for solve my problems. I m tying to understand you. I have create a custom module that create a form and has some fields like id,url,...
0
votes
1answer
28 views

Drupal 8 defining functions in module and calling form controller

I want to use a function in both controller and module, where I should define that function. Can I call a function in module from a controller. How I can do that?
3
votes
1answer
32 views

Override base url when creating links to public files

I need storage the upload into drupal file in another server and I need change public path to files to example http://server_with_image/image How I can do this?
3
votes
2answers
50 views

How to facilitate meetings / events with participant registration, agenda and documents? [closed]

How to manage meetings in Drupal? I would like to do the following: Participants can register for an event or be added by the admin. The meeting has an agenda, consisting of a number of agenda ...
0
votes
2answers
48 views

How to improve performance in drupal7 [closed]

I have custom module where in involves queries from db using this we are generating reports based on our requirement now big problem is whenever i am creating report with more data its throwing proxy ...
0
votes
0answers
14 views

Share Content over multiple drupal instances [duplicate]

I have 4 Drupal 7 instances, and I need to share Content of some specific content types over the 4 different instances. I also need to share some users, so for example an administrator can have access ...
1
vote
1answer
21 views

Module for Sponsorship or Partnership with logos [closed]

Is there a module which put together the logos of a company in a defined way, and create link to the logos as well? I would like to add a page to my site with the partners.
0
votes
1answer
238 views

How to show the slide dots using the Slick Carousel module?

I'm using the Slick Carousel module and I can't see where / how to add the paging dots below the carousel images. The module boasts that it has this feature. I've tried altering the .js file (and the ...
1
vote
0answers
35 views

SMS Drupal module [closed]

I am currently in the process of developing a website in Drupal for a football club. However, they have a requirement: to create a module, from a database of players and their phone numbers, send a ...
-1
votes
2answers
35 views

Is there any possibility to create services to achievement module in Drupal? [closed]

I have using the Achievements module in my site, it's working fine. I have one doubt, I'm using the Services module to consuming user nodes and user details. But is there any possibility to ...
1
vote
1answer
68 views

Am I able to populate an entity form text field with a value from a URL link on an external site

I am trying to pass a url variable from an external 3rd party site and have that variable populate an entity form text field that I have on an entity form on my company's website. Basically we have a ...
2
votes
1answer
84 views

How can I return literal JSON from a node as a JSON object in views json?

I have a content type with a field called output. This field will contain JSON. I want to output this field as JSON using Views JSON (in Views Datasource). The problem I'm encountering is views ...
1
vote
0answers
13 views

Restrict the tagged content based on user

Since I'm using drupal 7.39, I don't know how to restrict the user to access some content. First let me tell what I done now. I have created a content type called person, then I have created 5 nodes. ...
0
votes
3answers
43 views

Restrict the user based on the taxonomy term [closed]

I'm using drupal 7.39, having a content type called customer, the nodes belongs to the customer is tagged with different taxonomy terms. I want to restrict the users to view the nodes based on the ...
0
votes
1answer
47 views

Taxonomy term replace with description

In drupal 7.39 I have created a taxonomy vocabulary called TYPE inside this vocabulary I have added list of terms called CLOSE, END, INITIAL. By default, when I view the node page it will shows ...
0
votes
3answers
97 views

“Save for later” button to read content later

I want to add one new feature to my website , "Save for later" button to content pages, to let user read anything later. If user click "Save for Later" we will save content in user’s Save for Later ...
1
vote
0answers
33 views

how to configure Multilevel Binary Affiliate Tree module

There is no configure option for Multilevel Binary Affiliate Tree module. I want to change it in my own way how can I do it.
0
votes
0answers
38 views

Views Filters and logical operator

In my View (using v 3.11), I have a grouped filter exposed. It should show one label for values containing one string OR another, for example: label -> fruit operator -> contains value -> ...