Tagged Questions

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

how to set parent div to get responsive multilevel menu

i am newbie to drupal, now I am trying to get responsive menu style through this module ResponsiveMultiLevelMenu(codrobs)(http://tympanus.net/Development/ResponsiveMultiLevelMenu/), but i dont know ...
0
votes
1answer
6 views

Mutliply order status in Ubercart

Is it possible to create few order statuses? I.e. order can be "In checkout" and "Paid" (I have a list with few parameters which may be setted true or false). My software: Drupal 7.24, Ubercart 3.6
3
votes
2answers
518 views

SQL injection Drupal Core - Highly Critical - Public Service announcement - PSA-2014-003 issue

I got this news today about SA-CORE-2014-005 - Drupal core - SQL injection. We are not using drupal in build authentication. We have a custom authentication, which resides behind SSO and gateway. A ...
0
votes
0answers
8 views

Media module browser iframe opens with wrong domain

I have a site that is accessible from a subdomain and www. and when accessing from the subdomain the media module's file browser for file uploads/library opens using the wrong domain and so it fails ...
0
votes
0answers
8 views

Node - Refererence Syntax for 'All Users'

I am building a SEO Function in Drupal 7 which is located in the template.php file. Currently, I require the syntax to reference all users in the conditional statement I have coded. Please provide ...
-2
votes
1answer
28 views

How to expand TB Megamenu in opposite direction so it won't go outside of the site?

I am using TB Mega Menu for my drop down menu that has three columns with width: 665px and height: 335px. I want to do something like this: There are total 8 menu tabs. When I click on first 6 menu ...
-2
votes
0answers
24 views

how to create depented states, cities for all countries in D7 [on hold]

please help anyone.. i am now creating simple web form for registration in drupal 7. in this form i am already create country, state, city drop down field. It works smoothly for default country. ...
2
votes
1answer
41 views

How to add custom fields to menu items

I've been looking at using menu attributes module for Drupal 7 to add an extra field to the menu navigation system. However this adds a new attribute to the attribute array and thus prints it out in ...
2
votes
1answer
30 views

How to broadcast a message to several Drupal web sites?

I have several Drupal installations and I want somehow, to send a message that would be displayed in all of them at the same time, in a block for example. The scenario could be that the server will ...
0
votes
0answers
17 views

Notice: Undefined index: #field_name in file_managed_file_save_upload()

$form['logo'] = array( '#title' => t('Logo'), '#type' => 'managed_file', '#description' => t('Upload logo'), '#default_value' => variable_get('logo', NULL), '#upload_location' => ...
0
votes
1answer
17 views

Create online/offline web application using drupal

My project requirement is about to create an online/offline web application . Example: If has no internet connection user can input data and when has internet connection the data will sync to ...
0
votes
1answer
9 views

create menu filter price product

salute you. I have one problem need your help. I want to create 2 menu list of product categories and product prices. there should be a link between two product categories menu to the product menu to ...
0
votes
1answer
14 views

How do I check which of my installed modules is unsupported?

When I go to admin/modules, I get this scary warning: The installed version of at least one of your modules or themes is no longer supported. Upgrading or disabling is strongly recommended. See ...
0
votes
1answer
26 views

Update drupal modules without updating core in one drush command

Is there a way to update all contrib modules without updating core in one drush command. For example: drush up updates all modules and core. Is there a way to ignore core and just update the ...
0
votes
1answer
29 views

Access denied error after login

When i log in to drupal doesn't matter with any account either admin or normal user. I get error Access Denied. I then again try to login and it works fine. What is that problem? My theme was shipped ...
0
votes
0answers
10 views

Drupal Commerce Payment Method

I have a website using Drupal Commerce in which i don't user the normal Payment Method but, i send the information for my order and billing info into a custom bank application. I have to construct a ...
0
votes
0answers
7 views

base and custom paramters when creating content type

I want to know the purpose of base and custom parameters when creating content type via code. Also what are types of base are available as in my code i am using node_content. // Create content type ...
0
votes
1answer
21 views

Programatically create new user role in drupal 7

I am trying to create a module which will easily allow me to set up basic sites with specific settings on the fly for a project I'm working on. I am having trouble creating a new user role. I have ...
-2
votes
0answers
15 views

How to do serverside computations with drupal? [on hold]

I want to achieve following thing using drupal User logs in into his account A form with many input fields(textboxes, dropdowns etc) is available to him He fills the form and clicks submit (I know ...
0
votes
0answers
11 views

inline entity form(commerce product) with multistep node form not saving fields only saving product id

I am Using inline entity form(commerce product) with multistep node form. The problem is when I save the whole form in single step it works fine but my form form has 5 steps and ief is on 2nd step so ...
0
votes
1answer
32 views

How to create a module shows image in specific time in a block? SOLVED!

I am currently creating a custom module with a task to show an image only in a specific time in a block. Then another image will be shown after that specific time.
-3
votes
0answers
30 views

How to filter Content page based on the category? [on hold]

I want to filter categories in Content to search for articles within specific category. How you can guide me to find particular?
-1
votes
0answers
21 views

How to retrieve Value fron db [closed]

Here table & paging values are displaying without foreachloop. i need to display values using foreach loop $select ->fields('c',array('entity_id')) ...
0
votes
1answer
12 views

Duration between From and To Date in Views

I have a view, listing date START and END. I want to list DURATION in HOURS between START and END date. How can I do that?
0
votes
0answers
10 views

Even test mail is not sending [duplicate]

Following error message getting displayed "Unable to send e-mail. Contact the site administrator if the problem persists." while configuring SMTP module to send test mail.
0
votes
0answers
9 views

AJAX Form Not Inserting Default Values Based on Variables

I'm creating a content creation form for a custom node type that will be updated with AJAX. The basic idea is that this is for processing media mentions, and the AJAX will call a function that will ...
0
votes
0answers
13 views

“Unable to send e-mail. Contact the site administrator if the problem persists.” [duplicate]

While sending a test mail the following error is displaying "Unable to send e-mail. Contact the site administrator if the problem persists."
0
votes
0answers
20 views

Drupal 7 - Multiple choice question creation change checkbox to radio

Using quiz module, I am creating Multiple Choice question. In that there is a check box to select the correct answer. Check box enables users to select multiple answers for a single question, but I ...
0
votes
1answer
12 views

Restrict operations to Specific user

I constructed my admin/content page using my custom module Steps i follow 1. retrieve data from multiple tables and displayed it in table 2. I gave edit and Delete options From admin/user edit and ...
0
votes
1answer
30 views

Get ID from a URL in drupal? [duplicate]

I have cretad a menu for edit a form in drupal... Code: function pricepackages_menu() { $items = array(); $items['membership/packages'] = array( 'title' => t('Add Membership ...
0
votes
1answer
17 views

Rate widget not working in views

I have an image gallery which I've made using views and each image has a yes/no rate widget. When the image is clicked a popup box is shown with the image in it which I have made using colorbox. I ...
0
votes
2answers
14 views

MedialEment.js module not seeing the installed library

I've just installed the MediaElement.js module and downloaded the corresponding library but in the modules page it won't turn on because it's not finding the library. i have other libraries running ...
0
votes
0answers
10 views

Drupal form placeholder [duplicate]

I made a form using the custom module "homepage_userlogin". I want a placeholder in my form. The code of the custom module is: <?php function homepage_userlogin_form($form_state){ $form = ...
0
votes
2answers
15 views

Form is not submit handler is not called

I have this code for calling a form and than submit it.. <?php // hook_menu function pricepackages_menu() { $items = array(); $items['membership/packages'] = array( 'title' => ...
0
votes
0answers
20 views

insert field add to cart form

I installed the Ubercart module and created a custom content type, "product". I go to store => products => manage classes and add a class for content type "product". Then I display field add to cart ...
0
votes
1answer
18 views

Why won't my module table populate

I have a page that is supposed to output a table of values from my database. I am logged in as an admin and another page I created works just fine, outputting a form for data to be entered into the ...
0
votes
1answer
9 views

Add a Module Form to a front page region

As the title reads, I'm attempting to add a custom made module (simple contact form) into a region on my front page (this may be used other places as well, but for not just the front page). Could some ...
0
votes
1answer
34 views

Module that allows visitors to suggest modifications on a node [on hold]

I'm looking for a module (or some other way) that allows users to send suggestions about how to edit a certain node. I'll explain: There is a node type with the following fields: name, description ...
2
votes
2answers
27 views

Redirect comment permalink to their corresponding node paths

Is there any way in drupal to redirect comment permalink to their corresponding node paths or url alias? I want to redirect all comment/x paths to their corresponding node-path. And it should handle ...
-1
votes
2answers
32 views

Enable menu item when user has added a node

In my website the user can create a node. I want a menu link to appear only after the authenticated user has created the node and not before that. Is it possible to enable a menu link only when the ...
0
votes
2answers
15 views

Single sign on for multiple domains and automatic redirection

A company have 7 drupal websites . suppose these are the website urls. www.domain1.com, domain2.com,... ,domain7.com Instead of giving separate logins for each websites , they want a common login for ...
0
votes
0answers
18 views

Drupal7 managed_file form permissions

$form['search_results']['file_upload'] = array( '#type' => 'managed_file', '#title' => t('Thumbnail'), '#default_value' => variable_get('file_upload'), '#upload_location' => ...
0
votes
0answers
27 views

How to include a PHP web file into the content region. from a module

I am new to Drupal and PHP. I am trying to create a module that when activated creates a page, then creates a block, configures block to only show on the created page, and then display an included PHP ...
0
votes
2answers
49 views

Enabling a module leads to memory exhaution. Where to look for?

I have developed my little module for Drupal 7 and it has been working fine. But suddenly it started to cause a memory crush. Now I can't even enable it (drush en ModuleName) with the error message ...
-2
votes
1answer
20 views

Travel listings module for Drupal

I'm using Drupal 7 and can't find a suitable module to add travel listings content type. It would be great if that module would just work by having specific fields, like location and address, as well ...
0
votes
1answer
18 views

Drupal mkdir folder permission

When creating directory using function drupal_mkdir in custom module, how to set folder permission access to "Create and delete files"? drupal_mkdir('public://myfolder/');
0
votes
0answers
11 views

Social Field Module: Icons not showing up in options

Trying to use Social Field Module for general user Profile. Followed through module text but no icons appear to show up for the module in either the Field itself or from an End-user logged in ...
0
votes
1answer
24 views

How do you render a table within a custom module in drupal?

I have a page on my Drupal module that is responsible for the input of goals to be completed by an admin. What I would like to happen is have all of the goals within the database table render below ...
0
votes
1answer
24 views

How to modify the header <ul> in superfish menu?

I am trying to convert a html theme into drupal theme using superfish module. I can't figure out what to edit so that my menu has a different ID. So, instead of < ul id="supermenu-1">I'd like to ...
0
votes
1answer
20 views

Menu is not creating in admin/settings page?

I am adding a custom module, and wants when someone install the module, menu will be added to add data in the admin/settings page... But i am getting nothing: Below is the code i wrote.. ...