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

call specific name of views from module

Below code changes the all quantity label to none. i am trying to change quantity field label for specific views block for ubercart3. (so in product node, quantity labeled as quantity and in product ...
1
vote
1answer
13 views

Customize user registration form by adding/modifying fields in the form and handling submit function

I am new to drupal. I need to customize a registration form by adding fields like id,mobile etc. Can I accomplish this by creating a custom module? If yes could anyone please help me with a brief ...
0
votes
1answer
12 views

Gmap Module open info window(bubble) from external link

Not even sure where to start. Would like to have a menu in the sidebar that when clicking on a link will open an info window (bubble) in the Google map. Any ideas on a jumping off point?
2
votes
1answer
17 views

how to add template functionality on ckeditor in drupal 7?

I am using ckedior for adding content in body part for filtered html. I want to add select template option in ckeditor options.
0
votes
1answer
27 views

Load Javascript when a particular form is loaded

I have the code below in my own drupal module(myid): myid.module file: function myid_init() { drupal_add_js(drupal_get_path("module", "myid") . "/js/myid.js"); } function myid_menu() { ...
0
votes
1answer
7 views

Website encountered unexpected error - how to avoid?

I'm having that typical problem of Website encountered unexpected error popping up sometimes and then after repairing watchdog MySQL table it all works find again. My question is if there is a module ...
0
votes
1answer
22 views

Colapse even rows of table

I have a table in my site that I build in my own module with theme table. I want to be able to have a sort of link in each even row (the ones with the color buttons) that allows me to collapse those ...
0
votes
1answer
9 views

Enabling Views module causing cron to fail

Quite simply, I enable the super common "Views" module, and on Save nothing but a white page happens. On a refresh (Where I agree to the form resubmission) the modules page comes back just fine. ...
0
votes
0answers
16 views

Returning multiple images in SQL query

I have two images I need to return in my custom module's SQL. It works with returning just 1, but when I add another it shows both as blank and dpm($row) shows the field as NULL. I've double checked ...
1
vote
0answers
7 views

Changing from a Profile to Standard profile after the installation

Its possible from moving from a custom profile or a Distro and move to a the Standards profile ? The reason, I'm asking this is because I build a website with the Recruiter distro. At first everybody ...
0
votes
0answers
15 views

biblio author initials two character

I have Drupal 7 with biblio 7.x-1.0-rc7 module. How can I set up the biblio module that the initial of an author to be more then one character. I know it is a strange request, but e.g. in Hungarian ...
0
votes
1answer
11 views

Drupal calendar popup - Year dropdown not showing in colorbox - Screenshot added

I am using drupal calendar pop up in colorbox.when i clicked on year its not showing year dropdown but giving js error of TypeError: m.replace is not a function Above issue is coming in Firefox only. ...
0
votes
1answer
9 views

save configuration button on module page disabled [on hold]

On a drupal 7 site we have inherited, the save configuration button on module page does not show up. Does anyone know where that is configured?
0
votes
2answers
19 views

Can't get ajax data sent to my php function

I recently took over an existing Drupal project and I tried to add a new php function (which works regularly) and link it with an ajax query. There were already some in place that worked, and I wanted ...
1
vote
2answers
27 views

How do I trigger an event when a button is clicked on a user profile?

Let's say I want to make a bunch of nodes based on what's in a specific field when someone clicks a button on their user profile. Is this possible with a custom built module? And if so what hook ...
-5
votes
0answers
26 views

I want support for drupal 7 [closed]

I want to create filters for the node. I use the module "search api", "facet api" to create "search server" and "search index" then I create a "view index" to show the same node filters. I do not want ...
0
votes
1answer
22 views

Install a custom empty module break my custom style

On Drupal 8, I have a style and a empty module : /modules/kyna/nature/ /modules/kyna/nature/nature.info.yml name: 'Nature Theme Structure and configuration' type: module description: 'Example ...
0
votes
0answers
39 views

Restws module exposing custom module content

I'm using RESTws module and access content via /node/id.json. I've written a custom module and use the "hook_entity_property_info" which exposes these fields: { "entity_id": 6655, "cloudinary": { ...
1
vote
1answer
28 views

How to implement a custom hook

I have implemented a custom login module and I want to keep it on general purpose state. This module have been developed because users can be authenticate against an internal LDAP Server (Sun ...
2
votes
2answers
31 views

Drush doesn't download module version specified as dependency

My module has a dependency to specific version of Media module (7.x-2.0-alpha4) and I have specified that in my info file as documented in Writing module .info files (Drupal 7.x) documentation, just ...
0
votes
0answers
4 views

VAT price will be 25% of product 'subtotal price and shipping price' instead of only 'subtotal price'

I am working on a Drupal commerce site. Everything is working fine as per my requirement. But I have to modify some setting for checkout preview page (price detail table). Currently into the product ...
0
votes
0answers
44 views

Get header HTML content within a custom module

I have a custom module where I need to serve the content from the header and the footer into a blank webpage. This functionality is required by a 3rd party service and is not served to users, I have a ...
0
votes
3answers
31 views

Redirect to page before login

Now i know there are some ways that a redirect on login can be setup, ie using views etc, but i think my issue maybe a bit more complicated. When a user accesses a node for example where they are ...
0
votes
0answers
14 views

My code do not run with this 'join' [closed]

I have an empty table which is called 'distinct'. Thiw table have some columns with name 'wid', 'variables' and 'timestamp'... I have the following code : // Begin building the query. $query = ...
1
vote
0answers
12 views

Adding a Pager to 3 Queries on a Custom Module

I have a multi-page form module that, when submitted, queries the database with some complex logic. Overall it's working fine. However, all the results are displayed on ONE giant page. I'd like the ...
1
vote
2answers
33 views

What to do when you can't upgrade modules?

I have some old sites running "dead" versions of modules in my drupal (I made the upgrade to the last current Drupal core version). But some of the modules used in this site are not longer supported ...
0
votes
2answers
14 views

Modules appear to install, but don't show up

I'm trying to install new modules via the url installer and uploader. I supply my sftp credentials. It says everything is fine. Then it says my module was installed successfully. However the new ...
0
votes
0answers
12 views

Create A Ptc Site With Drupal [closed]

Hello I Want To Create A PTC Website Using Drupal(Example Site Neobux.com) But I Can't Able To Find Any Module Or Way Can Anyone Help Me Out A Suggestion What To Do It Is Possible Or Not. Thanks In ...
0
votes
1answer
20 views

Force access denied on 'admin/structure/menu' for everyone except admin

I need to write a "simple" feature in custom module which returns access denied for all the users except admin who tries to rich 'admin/structure/menu'. I've tried with hook_page_alter, ...
0
votes
2answers
40 views

Convert a drupal website to standalone exe file

I'm trying to convert my Drupal website to a standalone .exe file. I tried some popular applications like ZZEE PHPExe or ExeOutputPHP, ZZEE PHPExe returns the error that /includes/boostrap.inc is not ...
0
votes
0answers
12 views

Unwantted script cames into my drupal 7 website [duplicate]

My drupal website got hacked. somehow i am able to recover it now on my home page <div typeof="foaf:Document" about="/front" class="node node-page clearfix" id="node-1"> <span ...
1
vote
1answer
97 views

Drupal site is compormised by backdoor [duplicate]

My drupal site is compromised. But i did I applied all modules updates and update my drupal core drupal 7.35 version It is still compormised. What should i do next ? Thanks
1
vote
1answer
25 views

Data not being visible in CSV file

I am trying to open .csv file but when I open it Iam not getting any data but only getting headers. The below is the module file for that particular csv file.The file getting downloaded but when I ...
2
votes
1answer
153 views

Google Drive Integration with Drupal

I need to Integrate my Drupal site file field with Google Drive. Public User(Annonymous user in drupal) will be selecting a file from their Google Drive which should be attached automatically to ...
0
votes
1answer
24 views

What does -> mean in the context of Drupal [closed]

I see a lot of variable declarations that go something like this: $variables['classes_array'][] = drupal_html_class('node-', $node->type); What does '->' mean in $node->type and why can't we just ...
0
votes
0answers
16 views

Drupal as a document managemet system?

I've got a requirement to build out an enterprise document managemet system on Drupal. I'm in the early prototype phase, exploring distros and modules (FileDepot module for example). So I'm eager to ...
-1
votes
1answer
21 views

Recommended Web Conferencing Tool

Anyone have recommendations for a web conferencing tool that works well with Drupal 7? It seems DimDim is no longer supported. Preferable criteria would include AT LEAST the following: VOIP ...
0
votes
0answers
19 views

How to export (send) image from website to Instagram?

I'm working on a social network website based on Drupal7, This social network is based on photos and users may upload photos and they are accessible in their profile. I need to equip the site to ...
1
vote
0answers
22 views

Drupal Restaurant Reservation. How do I install it? [closed]

I'm very new to web dev as well as Drupal. I've made a simple site using Commerce and Ubercart modules for food order and delivery functions. I wanted to include an option to reserve tables, and ...
0
votes
0answers
22 views

Drupal.settings.mymodule is undefined

I've found about a dozen other people who have experienced this problem, but none of those fixes have helped me. I have written a module that simply loads a Javascript file into the page. This part ...
-1
votes
0answers
6 views

without join i take the values that i want, with join i take not one value

// Begin building the query. $query = db_select('watchdog', 'wa'); $query->join('blabla', 'b','wa.wid==b.wid'); $query->orderBy('wid') ->fields('wa', array('variables', 'type', ...
0
votes
0answers
37 views

how to write a db_select query in drupal? [closed]

i want to write a db_select query in drupal, but still its not working. $sql=db_query('SELECT * FROM `file_managed` WHERE `filename`LIKE '%.pdf' OR `filename`LIKE '%.doc' OR `filename` LIKE '%.doc' ...
0
votes
0answers
25 views

Clean URLs not working with localhost on drupal 7.34 install with nginx 1.4.6

I have installed nginx 1.4.6 and php-fpm on ubuntu 14.04 with drupal 7.34. The web root is /usr/share/nginx/html and my drupal install is in a subdirectory of this at /usr/share/nginx/html/drupal. I ...
0
votes
1answer
35 views

where is the fault in my join?

$query = db_select('watchdog', 'wa'); $query->join('distinct', 'di', 'di.wid == wa.wid') ->orderBy('wid') ->fields('wa', array('variables', 'type', 'severity', 'message', 'wid', ...
0
votes
1answer
14 views

How to use $language array in region--header.tpl.php

I am using Language Switcher Dropdown module for language selection. Successfully implemented this module and also get $language array properly in page.tpl.php file based on language selection. But ...
2
votes
0answers
21 views

Why Can't Panels Select My Organic Groups?

I'm trying to create panels that are visible or show up on pages specific to certain groups. I'm using Organic Groups 7.x-2.7 on Drupal 7.34. So, our company's technicians would only see panels ...
0
votes
0answers
13 views

Mapping Drupal User to SalesForce User

What is the best approach to map Drupal Users to the same user profile that is in SalesForce? Essentially I would want to add the User UID to their corresponding SalesForce User profile. But if there ...
0
votes
0answers
6 views

join two tables and take 20 distinct values without the use of “distinct()”

how i can join 2 tables and keep the first 20 different values in the table?I create a table with no values on module installation: function distinct_schema() { $schema['distinct'] = array( ...
0
votes
0answers
18 views

Menu items Wildcards and Parameter Replacement

It is my module code: <?php function mymodule_menu(){ $items['mymodule/%f'] = array( 'title' => 'My account', 'page callback' => 'mymodule_hello', 'page ...
0
votes
1answer
21 views

Join a select form with the number of the database to check

I have this select form: $options = array( '20' => '20', '100' => '100', '500' => '500', '1000' => '1000', '5000' => '5000', '10000' => ...