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 (3)

0
votes
1answer
3 views

New content pane (in view) not showing up for adding to panel

Added new content pane as part of my view. Even after saving, and clearing the cache, this pane is not showing up on the available panes list when adding content to Geary type panel/column in Drupal 7....
0
votes
0answers
7 views

Copying field values from one EntityForm to another on submit

I'm using Drupal 7 and the Entityform module to build a form for people to fill in on my website. This form will be filled in by a parent and contains some data about his child. There will be 2 ...
0
votes
0answers
8 views

How use highchart with filter?

I'm new to Drupal and I'm following this tutorial, I have a filter that checks a status of valid or notReadyValid. This filter can be taxonomies. But to my chart I have data like this: if( $...
0
votes
0answers
18 views

Why are my nodes not showing up in a Panel?

I am experiencing something strange: the nodes in my Panels are not showing up anymore. When adding content to my Panels, I can select Existing node, pick the right node title (e.g. Test article) and ...
0
votes
0answers
11 views

Add location to to profile2 just after the user registers

I am trying to force add a location to a user's profile2 just after the user register's an account. The user's are able to add locations to their profile by using flags, but since there are no ...
0
votes
1answer
16 views

How to implement a main menu with submenus that show more details after hovering over them?

I want to implement a main menu, so that by hovering over any of its submenu items it shows more detailed items on the right. Any suggestions about how to do so?
1
vote
2answers
35 views

A specific menu for specific user

I'd like to know how can I create a Menu X that appears when a Member X login for example when a simple user login, a Menu with 4 sections appears but when a Member Y for example a user as manager ...
0
votes
1answer
7 views

How can I add a save button in my page variant?

I have created two variants of user edit page, one displays the entire form and other displays only a couple of fields of that form. I have created a selection rule so that one triggers when is ...
0
votes
0answers
23 views

What is more performant entityreference: nodes or fielded vocabulary? [duplicate]

I've got a D6 site wherein everything is a node, and linked using noderereferences in place of taxonomy. Authors are nodes with names and urls. Article Issues are nodes with dates and volume ...
0
votes
0answers
8 views

Offline Application [on hold]

Hi does anyone have a tutorial on how to apply the offline application module https://www.drupal.org/project/offline_app
0
votes
0answers
16 views

How to make entity revisions remember the old bundle, if it is changed?

There are some tools in Drupal that allow you to change the bundle of an entity (e.g. the node type): The Node Convert module The migrate module, if you update an entity and change the bundle. Any ...
0
votes
2answers
15 views

Notice Undefined variables [on hold]

I have many notices in my site. Notice: Undefined variable: item in include() (line 79 of templates/page.tpl.php). Notice: Trying to get property of non-object in include() (line 79 of templates/...
1
vote
2answers
15 views

Send mail to the admin when user fails to login

I need to implement the functionality to notify the admin user via email whenever someone fails to login entering wrong password. Basically simple email format containing the username for failed ...
0
votes
1answer
15 views

Discard views filter on field from referenced taxonomy term when relationship isn't present

I want to show two content types (A and B) in one view. 'A' has a relationship with a taxonomy term 'foo', 'B' doesn't have this relationship. So the relationship isn't required. However when I use a ...
1
vote
1answer
25 views

How to update a biblio field with Entity Metadata Wrapper

I was able to update a field using Entity Metadata Wrapper (EMW). Here is how I could accomplish this. $node_wrapper = entity_metadata_wrapper('node', $nid); $node_wrapper->field_custom_field='new ...
0
votes
1answer
20 views

import local drupal site with database already exist

i create a local website in my laptop and now i want to work on the project from an other laptop, after installing the module backup and migrate and active it , i download the public files settings ...
1
vote
0answers
17 views

How to replace Views PHP field and sorting by custom Views handler?

In order to address some Views performance issues and respect best practices, I'd like to replace some Views PHP I configured some time ago by my own custom handlers. For instance I've got a Views ...
0
votes
0answers
8 views

Create a subtype of Panel & style it with a template

So I'm trying to build a independent Landing Page for an event on our drupal 7 site. I would like to have the page contain a different main navigation menu then our site and also has the functionality ...
0
votes
0answers
9 views

How to show referenced node for embeded entityforms in views?

I have embeded a Entity Form (job application) on a 'Job' node type, when a user completes the form I would like to show the entity form submissions in Views highlighting which 'Job' node type they ...
2
votes
1answer
30 views

How to use fields of a flag instead of only toggling the flag?

I have created a flag (using the Flag module) called status and a field to it and named it remarks. Now, how do I let users to flag other users and fill in the remarks field for that particular flag. ...
2
votes
1answer
36 views

Views contexual filter based on nid (not from URL)

I am using Viewfield module to display taxonomy terms of a node is referencing to. I am not using the default taxonomy field available in views because I want more freedom on manipulating the rendered ...
1
vote
0answers
16 views

CAPTCHA fails every time on some forms

I'm using/running the Captcha module 7.x-1.x-dev the latest version for D7 but on some forms I am still getting captcha session reuse attack detected I have tried 9 patches and it is STILL not ...
0
votes
1answer
11 views

Why a successful migration is showing (0 created, 0 updated, 0 failed, 0 ignored)?

I have written a custom Migration tp import redirects (D7 -> D7). Everything is working fine. Imports were successful, rollbacks are working fine etc. However, I am getting Processed XXXX (0 created,...
1
vote
0answers
27 views

Data comparison for field collections

I am using Drupal 7 and I want to add a rule for printing a message after changing a field in a field collection. The field collection consists of the following three fields: Reference to Version (...
1
vote
2answers
41 views

How to wrap a fields or other elements in div block?

I want to wrap these elements in one div (this div should be before div class = row) but I don't know where to add this div Example: <div class="col col-lg-4 col-md-4 col-sm-4 col-xs-6 "> ...
0
votes
0answers
12 views

How to display a view modes from display suite in a form by custom module?

I work in D7 and I have 20 content types. For 10 content I would like to have a preview of the node on the same page where the node is deleted. Therefore I create a custom view modes in display ...
0
votes
1answer
19 views

When to use different vocabularies vs. one big hierarchical vocabulary with parent terms

Context: I'm developing a website (a directory of things) with a content type "product" that relies on an extensive list with actually two levels: say "productname" and "productvariation". In real ...
2
votes
1answer
82 views

Having issue with multiple calls of same view

I am using the function views_get_view and it's working fine if am using this once in a function. But when I am calling this function multiple times with different arguments in the same function the ...
0
votes
1answer
17 views

Converting UTF8 Data to SQL_ASCII

I want to convert my query results from a database, which is SQL_ASCII database encoded, to UTF-8. $result = $query->execute; $converted_data = array(); foreach($result as $record){ $...
1
vote
1answer
31 views

How to change the value of entity reference’s field by using the Rule module?

I have two content types: Inventory Sales In Sales content type I referenced “Inventory Content type” through entity reference module. In Inventory content type, I had a field: “stock_available” ...
1
vote
1answer
30 views

How to only define hook_menu path to certain URL [duplicate]

Consider this simple implementation of hook_menu() /** * Implements hook_menu(). */ function helloworld_menu() { $items['hello'] = array( 'title' => 'Hello world!', 'page callback' =&...
1
vote
1answer
8 views

How to Create Membership Groups for Products?

I'm exploring if the latest release of Drupal Commerce (using Commerce Kickstart 7x-2.38) will work for my Apparel eCommerce requirements. We need membership to groups (which will be corporate ...
0
votes
2answers
26 views

Custom module administration page template not working

I've been trying to load a custom template for a custom module page in the administration section, but the template isn't being loaded. This is the code so far: custom_theme.module /** * Implements ...
0
votes
1answer
30 views

How to make the radio field checked by default?

I have a field group which consists of a radio box and other fields. This field group can have multiple values. My radio box field have two options and the first is checked by default. But when I add ...
-3
votes
0answers
12 views

add a form before drupal installation [on hold]

I want to add a form where user can select the version of drupal before installing it in localhost. Need a drop-down list where several versions of drupal are displayed and user can select the desired ...
2
votes
1answer
38 views

How is the node revision ID getting updated?

I have a question related to _node_save_revision function in drupal 7. I just want to know how I can get the new revision ID after saving a revision using this function It is mentioned in the ...
0
votes
0answers
25 views

How to set manual crop to be compulsory for image?

I searched a lot for this problem but not getting any solution. Any help is very appreciate. I am using Manual Crop (7.x-1.5) module for cropping the images. But problem is that I want to set ...
0
votes
1answer
15 views

feeds_ex module tests returns me fatal error

When I am running feeds_ex test i got an error that says: PHP Fatal error: Class 'TUnit' not found in /sites/all/modules/contrib/feeds_ex/src/Tests/FeedsExUnitTests.test on line 11 I am looking ...
0
votes
1answer
32 views

Exposed Taxonomy field in views filters

I have a taxonomy field in my view in filters and I have made it exposed to the users with selection type "dropdown" along with "Show hierarchy in dropdown" as checked. I'm also using Better Exposed ...
-1
votes
0answers
11 views

How to print or debug a EntityFieldQuery [duplicate]

I want to print the sql statement of entityfieldquery. How to achieve this?
1
vote
1answer
22 views

Bulk operations

How to change confirmation page in bulk operations? Currently it is printing "You selected the following 4 items:". I want to list titles of all items included in the bulk operation.
2
votes
1answer
21 views

Recaptcha not working in user register form

I am using google recaptcha in drupal 7 for user registration. The captcha works fine in the normal user register page but doesn't appear in the pop up dialog box for user registration? some more ...
0
votes
0answers
23 views

Rules condition that checks average vote tag results

I use Fivestar and Rate modules separately on a site therefore I have separate voting api tags. But I can't create the condition to check if the average vote of a specific tag on a user's authored ...
0
votes
0answers
11 views

How to handle translations for menu items?

Need to know what is the best way to translate menu items. Do I provide the translated menu link at the node level, when it's as to Provide Menu Item, or do I translate the menu item at the Menu ...
0
votes
2answers
27 views

Add Bootstrap into Zen sub-theme

Right now, I am using Zen theme as basic theme for my website. I want to add Bootstrap into my theme because I don't want to use new theme and setup everything. Does anyone know if I can only add ...
0
votes
0answers
32 views

How do I create a content type and assign fields to it, programmatically?

I have function which must create content type based on $data in ['base'] basic information about content type. Almost everything works well: The content type is created, but the fields aren't ...
1
vote
1answer
15 views

How to send monthly newsletter if the site is complex and has a lot of content types?

I want to send monthly newsletter to subscribers via Drupal. The website has lots of content types (news, events, books, courses, blog posts etc.). If the site has only one content type it would be ...
1
vote
1answer
15 views

IMCE browse server image upload button not displaying on ckeditor toolbar

I just installed and enabled IMCE for drupal 7 and assigned the IMCE icon in the full html input format page, but the icon is not appearing in the ckeditor toolbar. I even set the permissions for the ...
0
votes
1answer
35 views

Term reference field won't display

I'm trying to add tags to my blog posts on my Drupal 7 site. I've added the Term Reference field to the content type and when I add a blog post it is letting me add tags without a problem, however ...
0
votes
0answers
14 views

How to pass views exposed filter values to URL as parameters? [duplicate]

I have a view to display nodes based on taxonomy term, here I have added a views exposed filter based on the node's status field. Is there a way to pass the views exposed filters to URL as when the ...