This tag is for questions regarding Drupal 7 specifically. Version tags should be used only when strictly necessary, for questions that apply to Drupal 7 only, and not to merely say "I am using Drupal 7 in my site."

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Add a print button on “review order” page of commerce

Okay I'd like to know if there's a way to edit the "Order Review" page of a Commerce order and add a print button to it?
0
votes
0answers
18 views

problems adding a new user

When I add a new user (create a new account) I want to notify the user of the new account, and tick this on the form, but the user does not receive any e-mail with the confirmation and instructions ...
1
vote
1answer
11 views

How to add a path filter to views 3 in Drupal 7?

This doesn't have to do with contextual filters but is it possible to add a filter criterion to views so that it filters the aliased path to a node? Content:Path is available as a display field but ...
0
votes
1answer
3 views

FeedsHTTPFetcher: how to parse object to get source url?

I've got several content-types based on imported RSS feeds (Feeds import, Simple Pie library). In a Views pre render, I try to display an information stored in ...
1
vote
1answer
15 views

List of images with checkbox (user registration)

This is what I would like to do: When a user registers on the website they have to give in if some options like for example if they are politically engaged, professionally engaged, an expert, ... . ...
0
votes
1answer
20 views

How to add condition in between fields in Profile2 module in drupal 7?

I am using the Profile2 module. Two fields are there in the Registration Form i.e. I am : [Baby Male, Baby Female, Daddy, Mummy] & Looking For : [Baby Male, Baby Female, Daddy, Mummy]. if ...
0
votes
1answer
15 views

Not validating required validation

drupal_validate_form is not validating required validation when i was creating a node programatically . Can any one say, it is design like that or am i doing something wrong . $node_form = ...
0
votes
1answer
20 views

prevent script to run twice after 2 ajax loads

I use colorbox node, which loads a node inside colorbox overlay. Inside colorbox I load a jquery script to add some parameters to all links inside. However, the loading is done by 2 ajax calls and I ...
0
votes
0answers
12 views

drupal 7 inner join with equality condition across table columns

I'm working on a contributed (sandbox) module for Drupal Commerce: https://www.drupal.org/sandbox/signalpoint/2330071 I have a query where I need to inner join across two tables, and would like a ...
0
votes
1answer
26 views

Unable to install drush on mac 10.9.2

Lately I was trying to install drush for the first time. This is what I did.. Installed the drush tool manually Extracted and renamed the tool to /Library/Drush Gave the /Library/Drush/drush tool ...
5
votes
1answer
182 views

Maintain in-house repository of custom modules?

Whenever a contributed module has a new version, Drupal's update manager will show a notification and allow automatic downloading of the updates. After that, the user is guided through "update.php". ...
-2
votes
1answer
26 views

Create Feedback page in drupal 7 [on hold]

How can I create a Feedback page in Drupal 7 and I want feedback should reflect on the same page below the form
0
votes
0answers
17 views

Sorry, unrecognized username or password error even after login

In user_login block form alter I'm attaching a validator : res_auth_authenticate ( the last one in the dsm output below) and logging in a user using this code: user_login_submit(array(), ...
1
vote
2answers
27 views

How to use a field other than node id or term id as contextual filter?

I have a content type "Person" which has a field called "state". On the node page of any "person", I want to display other nodes of "Person" which has the same value for the "state" field. For e.g. If ...
2
votes
1answer
26 views

Multi-site installation with shared database but different user table

I need to install drupal multi-site with shared database but just need to create some tables specific to that site like, users table should be different for sub-sites. I know about full sharing or ...
4
votes
1answer
119 views

How to pass on the user id(block user) after registration

I am working on a project where users need to pay to use site.Site have a registration form where user can register and redirected to the payment page.All the resisted users are blocked until they ...
0
votes
1answer
9 views

Drush hangs when trying to bootstrap Drupal

Running Ubuntu 12.04 with the 14.04 backports for Drush (meaning we are running Drush 5.10.0) After importing the database (with drush sqlc < dump.sql), Drupal is no longer able to be bootstrapped ...
0
votes
0answers
21 views

Wildcard links in normal menu

Im trying to to generate some links from my custom module that behave like they were a MENU_LOCAL_TASK, but are actually a MENU_NORMAL_ITEM, which reside in a normal menu instead of tabs. The Problem ...
0
votes
1answer
10 views

open node-reference links title in popup

I want in my node view pages, node reference links open in popup window or lightbox window. Does anyone have a solution?
1
vote
2answers
69 views

Print current base language in tpl.php

I statically linked an anchor to my /cart page on page.tpl.php, but since it's a multi language website, when I'm on http://localhost/fr it still goes to http://localhost/cart instead of ...
1
vote
1answer
30 views

Password may contain illegal characters

Is it possible to change an option or overwrite the password validation so that a user can add characters like é to their password?
0
votes
0answers
19 views

Sessions / Cookies not working for user login, registration or shopping cart

The Problem One of our sites has recently broken. Users can't login or register, and the shopping cart isn't working either. Drupal does not display any errors. Upon clicking the submit button for ...
0
votes
1answer
32 views

ajaxify content via a callback function

I am trying to ajaxify my site. I want the "Main page content" to be passed via an ajax-command to a custom js-function. To accomplish this I would do the following: I need to register a path for ...
0
votes
1answer
21 views

Add block to form (before submit button)

I'm having problems placing a block in my form. This is what I have now: I have a register form and a fb button block. I say the block must be visible only when page is equal to user register page. ...
0
votes
1answer
22 views

How to limit a user to one vote when using Rate module?

In Drupal 7, I have installed the Rate module for voting. But here, the user can change his vote anytime he wants. If I want to restrict an user to vote for a particular node only once, what I have ...
-2
votes
0answers
26 views

The question about template [on hold]

I have a question about template. Did you used the template,and name is "evolve"? Thanks~
0
votes
2answers
20 views

How to trigger a rule when clicking on a link?

I am looking for a way to trigger a rule when clicking on a link. What I am actually trying to do, is fireing a VBO with a Button, instead of the Dropdown solution. For this, I created a ...
0
votes
1answer
26 views

How can I create latest_news archive block

I want to create a archive list for latest_news on my site. That is my path. I create two blocks to use contextual filters base path: Year list = /latest_news/Years Month list = ...
1
vote
1answer
14 views

allow users to continue the survey (webform) if closed by accident

I wonder if there is a way of let users continue with survey (webform) in case they close the browser or the tab. For example: I have a very long webform survey, it has like 30 questions, if Users ...
0
votes
0answers
27 views

Not seeing the “like it” button while it appears on localhost

In which used Wishlist module to create the "like it" button. On my localhost it is working fine, but not so on the production/testing server, where the button doesn't appear. The permissions on the ...
0
votes
0answers
5 views

colorbox node with enabled regions - help setup

I try to add some regions to content type abc displayed inside colorbox. I can not get it to work, please correct my steps if possible. What I did: Enable regions in colorbox settings (this enabled ...
0
votes
1answer
14 views

trigger event before content is parsed after ajax

I want to ajaxify my site. Everything, that is usally parsed as "Page Content" sould be opened in a lightbox. So the idea is to ajaxify every link and let #lightbox be filled with the result. but ...
2
votes
1answer
33 views

Customize search block in frontpage

I am using Zen3 theme , i created a subtheme ,i want have a big search box in front page , for doing this , i created a front page template page--front.tpl.php. also i added a custom css to my ...
0
votes
2answers
15 views

How to make a custom block listen to context module?

I've been creating my own module that consist an array of blocks. I plan to print them using context as oppose programatically as I already have the module on use (no need to reinvent the wheel). ...
1
vote
1answer
13 views

Merge production site's content into staging through database tables

I am working on a major upgrade on my website which includes several new modules being installed, various theme changes, updates on existing modules and a few modules that were uninstalled. All the ...
0
votes
1answer
14 views

Trying to render an array of items with the drupal_add_html_head function

I have a preprocess_html function that gets an array of google fonts and adds them as an html class. I have it partially working but if say I have three fonts, only the last one gets into <html ...
-1
votes
2answers
20 views

call views block with php

I make a page and enable php filter core module too. Now I want to call a views block with php. How can I do this? How can I call a views block with php?
0
votes
1answer
10 views

How to change the draggable icon of new theme

I am using draggable table in my new theme. Every thing is working properly but I want to show this icon like in Bartik theme for every draggable rows:- Currently it is showing as How to ...
0
votes
0answers
10 views

Error after upgrading drush from version 5 to version 7

I am using Centos and I performed the following steps: Downloaded drush, uncompress and copied to /usr/local/share/ or any directory you have installed already Downloaded composer curl -sS ...
0
votes
2answers
23 views

instant upload after select file in a file or image field (quit upload button) [duplicate]

In the normal fashion you have to select the file you want to upload in a file field or image field and then click "upload" button. this is not very "user friendly" How to upload the image or file ...
0
votes
3answers
33 views

Can we use Same URL in different hook menu?

I am just learning about hook_menu just the basic stuff about creating module and all. I came across this question in mind but could not find clear answer for this Are we allowed to use same URL in ...
0
votes
0answers
9 views

Duplicate Results in View with OG Relationship

I have a view that uses the OG Relationship "OG membership: Group Content (node) from OG membership", and this relationship is causing duplicates when a person has more than one group assigned to ...
0
votes
0answers
10 views

How to store a variable array at THEME_preprocess_page to use in a page.tpl? [on hold]

In use to have this menu code working well in page.tpl.php but I learned it is best practice to do the heavy lifting on the template.php or in the case of omega 4 sub theme, you place all your ...
0
votes
1answer
24 views

Display an image in menu generated from taxonomy terms

I am using Drupal 7 with Taxonomy and Taxonomy Field Menu to generate a menu based on taxonomy terms (Categories) - including node links (the terms themselves are not linked, just the nodes, in case ...
0
votes
0answers
8 views

How to add a new CSS class to a Link Badge if the value is 0?

I'm using the small module Link Badges to display a badge with the amount of flagged nodes next to a link to the View in question. It works great and I've styled the badge to my needs. This is the ...
0
votes
0answers
10 views

Share views arguments throught UI

I've got a view which list all user nodes. user/%/nodes And I want to show only the user favorite ones so if I add two arguments there is no problem. user/%/%/nodes I would like to share the ...
0
votes
0answers
5 views

Ajax Save with CKEditor module

Is it possible to add a button to CKEditor which would save content in the background, without leaving the editor and without reloading the page and then show a message to the user about the save ...
0
votes
0answers
16 views

Pagination not working in nested views

I have nested two views. Pagination is not working for a child view. I have tried giving each Pager ID in Pager options in VIEWS PAGER section. But no luck. Is it a bug or am I missing something in ...
0
votes
0answers
12 views

drupal 7 Custom form multiple file upload with different extension

I am working multi file upload functionality with different extensions(pdf,doc,png,jpg). Following code is working fine for multiple images upload. I would like to know how this code modify for ...
0
votes
0answers
14 views

Display Suite view mode is not rendering dynamic block in view

I have a view that creates two blocks for a D7 site, one using the slideshow format and the other display suite. The first block creates a slideshow of images from a single node. I made this block ...