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

Why do only some of my hooks get called?

I made a test module and only a few of my hooks seem to get called. I get the Javascript console messages for the block_view, form_alter and form_user_login_alter hook functions when I do the ...
0
votes
2answers
19 views

How to get alternative text on image hover

How to display image's alternative text when an user hovers on that image. I have come across few posts that displays popups and views, but not the alternative text of the corresponding images. Some ...
1
vote
3answers
27 views

Upgrading Drupal 7 version from DEV to PROD

I've updated from Drupal 7.22 to 7.34 on my Development Machine along with some Module updates. Now I am going to update my Production environment. Question: Do I have to upload the entire root ...
0
votes
0answers
6 views

Drupal 7 Custom Module - Creating a Block with Visibility set to “Only the listed pages”

I have the following code. It does create the block but I still cannot figure out why it is not adding that block to the desired region and also pages visibility settings are not working. What am I ...
0
votes
1answer
20 views

How to create a email notification to subscribers and the author who posted a comment programmatically in drupal 7?

I want that if a user subscribe to a comments & post that has been posted by an author, so how i can send mail notification to both the author and the subscriber at the same time. I want that ...
0
votes
0answers
13 views

Fatal error: Unsupported operand types in \core\lib\Drupal\Core\Routing\RouteBuilder.php on line 174

I'm working on hover_card module for its D7 to D8 upgrade. While working around I've got the following issue which is a blockage in the further development! Fatal error: Unsupported operand types ...
0
votes
0answers
19 views

Module and theme in one directory?

For my project, I have a custom module, a features module and a custom theme. I want to keep all in a single Git-Repository. The problem is: modules need to be in sites/all/modules, themes in ...
-1
votes
1answer
11 views

Basic template - new drupal project

I would like to hear how other Drupal developers / companies are dealing with the following issues: Suppose that as a company you often have to make small Drupal websites with minor changes ...
0
votes
1answer
13 views

Appending multiple tables in drupal 7 module

I am appending three new tables in my custom module using hook_update, but it is throwing below error when I try to run update.php file PDOException: SQLSTATE[22003]: Numeric value out of range: ...
0
votes
0answers
3 views

Why is Backup Migrate advanced options link going to content page?

See video: http://screencast.com/t/PqKnaYbB5 I am using backup/migrate and when I click advanced options it just takes me to the content page. Also having a issue with clicking the configuration link ...
0
votes
0answers
5 views

How to avoid duplicate email addresses with Mailchimp Drupal module

Was wondering how we can check on the fly for a duplicate entry when a user enters their email address more than once. Since Mailchimp does the check on their end we don't have to worry about dups ...
0
votes
1answer
10 views

Where do pending drush database updates live?

I'm using drush to update the modules on our drupal site. I updated the video_embed_field module to the latest version. This update required 3 database updates to occur, 7006, 7007, and 7008. For ...
0
votes
0answers
9 views

Maxlength Module not working

I am using D7, ckeditor and ckfinder. I recently installed Maxlength module and could not seem to get it working. I enabled it and flushed all caches. I can see the Maxlength option on the field ...
0
votes
1answer
15 views

Create new table in existing module without affecting existing table data

I have my custom module myCustomModule in drupal 7 website along with installation file to create table. I Have already saved lot of content in table but I need to create a new table in same module ...
0
votes
1answer
20 views

Reduce the length of the title

Am using custom breadcrumb module for breadcrumbs in drupal .Is there any option to reduce the length of my active title?
0
votes
2answers
17 views

Is there a module that helps link similar articles together and insert them into each other?

I'm looking for the module that would allow me to manually link related articles together and to then set them to appear within the body of content - as links. What would be your recommendation? I ...
0
votes
2answers
33 views
+100

Download file field dependent on user role vs role field values

I have a type downloadable_item which has a field field_roles_allowed that is based on the Role Field Module. My goal is to have a field_download of file type that will show the file for download if ...
0
votes
3answers
35 views

How to store css & js in separate file & call in custom 'tpl' files through variable in drupal 7?

I have created a custom module where I have define my page url's & contents are created through my custom tpl files. I am applying some css & js on those custom contents/pages/tpl files. ...
0
votes
0answers
15 views

Document management system with version control and access rights control in Drupal 7

I need to create document management system and for that I have a set of requirements (not well fleshed out) that cover a system to manage documents (word docs, designs, etc.) for both internal and ...
0
votes
0answers
28 views

upload image by user and display images in her/his profile if admin accept uploaded image to display

I want the users to add their images; the administrator should be able to accept the images, which would then be visible on the user profiles. I create the gallery using the help from ...
0
votes
3answers
23 views

Why does this rule not appear in the UI and how can I clone it?

I need to clone and modify the following rule: commerce_checkout_order_email However, it does not appear in the UI. I have checked the following paths with no success: admin/config/workflow/rules ...
-1
votes
0answers
10 views

How to play videos from different video providers like youtube, vimeo, dailymotion as a playlist in drupal 7?

Suppose I have 3 URLs of videos, First video url is of/from vimeo, second is from youtube and third is from dailymotion etc etc. How can I use these links as a playlist ? Like when first video from ...
0
votes
0answers
4 views

Add product using Drupal 7 / Ubercart 3 Api

I'm writting my stupid import module and need to programaticaly add products to db. I need to add title, price and link product to existing group; I'v made some research of ubercart api and found ...
0
votes
0answers
11 views

Best module to detect site based on ip address in drupal 7 for multilingual site [closed]

Will you please suggest best module or best way to detect site based on ip address and swtich it accordingly using Drupal 7. I need module or way in which we need to consider about drupal future ...
0
votes
1answer
19 views

How to show thumbnail images on product pages using ubercart module?

I recently installed a test of Drupal/Ubercart on one of my test servers. I added a test product and uploaded 3 pictures for the product. My problem is that the 3 pictures are displayed in Full Size ...
0
votes
2answers
30 views

Don't show blocks on some pages

I don't want to show blocks inside some pages, and I can't touch the theme files. Is there any way to do this programmatically inside a module?
0
votes
0answers
7 views

token does not work in upload directory of webform

i'm using service modules for generate json data , ve it's done in json data image data is inserted but i want to insert image url in json , how can i do this ? thanks for your helping
0
votes
0answers
5 views

Stockk Market block

We are looking to add a Stock Market block to our web site. Our developer is using a Drupal module stock api but apparently it does not collect the correct name (see link). Yahoo has the correct ...
0
votes
1answer
8 views

Sheetnode Multisite Javascript error message: 'Unknow line type '' '

I'm using sheetnode in a multisite configuration and I'm trying to refer data from an other sheetnode into the current sheetnode. My issue is very similar to this one ...
-3
votes
1answer
30 views

Drupal Global Redirect Module

After running Moz Report I found lots of duplicate pages in the form of /blog/wp-content/uploads/2013/09/ Installing and enabling the Global Redirect Module does not seem to help. I have enabled ...
-1
votes
1answer
11 views

ajax update block on click to link

I am using jQuery Ajax Load module in my site to load some contents from url to show on specific div which has a required class. With this module I am able to fetch the Page content from URL through ...
0
votes
0answers
12 views

Panels not appearing in Structure

This may be a fairly basic question, but I'm having a hard time getting the Panels module to show up in Structure after enabling it. CTools is enabled and I also tried enabling the Panels node module ...
0
votes
1answer
6 views

1062 Duplicate entry 'flickr_tags'

I get this error when I try to run the update script. I user Drupal 7.34. I know there are several questions out here that have an error similar to this, but the other ones are for the entry user_id ...
4
votes
3answers
77 views

What are the major differences between solr modules

I am looking into Solr search for my site and am seeing two equally well-used modules. Apache Solr Search (lots of contrib around this) Search API Solr Search, built on Search API Why would I pick ...
0
votes
0answers
7 views

Entity Reference Sub Path Panels

I use following URL Path Schema with Drupal Pathauto Module: Node types: Country City both assigned with Entity Reference and i use the tokens for Pathauto for generate URL. It works all fine. My ...
0
votes
0answers
18 views

After indexing items are not visible, solr server

After indexing the items aren't visible on the page. The index does work, but after refreshing the page, the indexed items aren't shown on the page. View index > Queue all items for reindexing > ...
1
vote
1answer
31 views

handling file upload for drupal 6

I have a question about handling file uploads. I am trying to implement a form that will allow the user to upload a file. I do not need to store the file, though. I just need to take the uploaded ...
1
vote
3answers
49 views

CSS file is not attached

I set at the .info module file the parameter to add a css file, stylesheets[all][] = css/style.css but it is not attached even if I clear the cache. I have look for the web to get the reason but ...
0
votes
1answer
9 views

Form Permissions not working in Module with Multiple Forms

This works great in a module with a single form, however in a module with multiple forms the form does not show up in the permissions list. Is there something that I need to do differently for modules ...
1
vote
2answers
49 views

Using “Rabbit Hole nodes” and “Facebook Like Button”

I am busy developing a Drupal 7 website. All nodes of content type "X" are displayed on my front page as well as on (possibly) multiple taxonomy term pages. But that is it, users are not allowed to ...
0
votes
0answers
19 views

Creating a custom token that gets value of node fields

new to Drupal / PHP. What I'd like to do is get the value of a couple fields from a node. Then create a custom token from them so I can use them in the meta tag module. Or just get the value of a ...
0
votes
1answer
23 views

how do I disable modules in commerce kickstart

I thought I needed dashboard and block languages modules for blocks. I enabled them and now want to disable them again but the update button has been replaced with an install button on the site ...
4
votes
1answer
39 views

How to avoid invoking the same module every time when I have to call a function of that module in Drupal 7?

When there is a need to call a function inside a module, some of you say- it is good to use module_invoke() inside the template pages to call the function(it looks great-since I can pass arguments ...
0
votes
1answer
50 views

Displaying Database Data Within the Flow the Site

I have a multi-page form that works fine in and of itself (pathfindertool.module). However, once a user clicks submit I want the page to display some records on the page. And it DOES display the ...
0
votes
2answers
14 views

How to define multiple blocks in a module?

Thanks to this tutorial, I cam up with this block-generating module: function myblockmodule_block_info(){ $block['myadblocks'] = array( 'info' => t('My first ad blcoks'), ...
0
votes
0answers
8 views

How to setup modules Breakpoints, Media and Print? Need special image style for printed images

I can't be the only one creating responsive websites that need some image tweaking for printout. My client wants the webpage printout completely in greyscale. These images are inserted inline via ...
0
votes
0answers
34 views

How to access the unique id from one tpl file to another file in drupal 7?

I have created a custom CRM module & links are defined inside my module file. I have a template file named shop_accessories.tpl.php where all products are shown with some information like Product ...
0
votes
0answers
8 views

Getting Error in mailhandler configuration using imap

I am using mailhandler module(version: 7.x-2.10) and I am facing problem in configuring it. I've tried every configuration however I cannot get it to work. I had followed these links: ...
0
votes
1answer
13 views

Priority of execution of hooks in different modules

Let's say that there is a contributed module installed in Drupal 7. It alters a SQL statement from the core. Now I have a custom module of my own which alters the same SQL statement in a different ...
-1
votes
0answers
8 views

How to use Drupal as oauth2 provider? [duplicate]

Anyone got success in implementing Drupal as oauth2.0 provider. 3rd party site's user can authenticate themselves with Drupal Site.