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)

-2
votes
0answers
6 views

Simple Hierarchial Select does not work after adding new terms [on hold]

Modules used : Simple hierarchical select (shs) 7.x-1.6 I have created a Simple hierarchial select widget with following settings Allow creating new terms Allow creating new levels Force selection ...
-1
votes
0answers
11 views

How to Change the image based on the attribute selection drupal

Hello I have drupal site (not using DrupalCommerce) using create content types with image and attribute fields.In this content type same product with different attributes. For Example Product X is a ...
0
votes
1answer
16 views

How to ignore specific Drupal release in update notifications?

I'm using Drupal 7.28 and getting this message: There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the ...
0
votes
0answers
10 views

Redirect user with custom POST data to external website [on hold]

I would like to redirect user to external website (payment website), after user will send a webform. The problem is that, I need to, at the same time I'm redirecting him - to send POST data to it ...
0
votes
1answer
6 views

Problem assigning group members membership types other than default

core 7.29 og 7.x-2.x-dev, also tested 7x-2.7 So, I'm going a little crazy trying to get users assigned a membership type other than default in an og. I can create a new membership type no problem, ...
0
votes
1answer
12 views

Drupal 7 Node Revisions per Role

I have created a new role 'news contributor'. I have created a new content type 'news'. The 'news contributor' role has permissions enabled to view, revert, delete revisions. However, this setting ...
0
votes
0answers
15 views

Uploaded images in theme settings is going to be lost

I have a flexslider and I make its images customizable through the theme settings. I added a caption property for the the slide to meet multiple languages websites as follows in theme-settings.php: ...
0
votes
2answers
14 views

How to move D7 from /sites/sitename to /site/default?

I was successful at this once and now I forgot how I did it. I'm copying a site's files from my local computer to a host GoDaddy. What I'm doing is installing D7 at the host's control panel, ...
0
votes
1answer
18 views

Expand content if sidebar isn't used

I've been learning Drupal myself for over a year now. I've mainly used templates all the time and changed the css. This time I made my own template and put php in it for the first time. Everything ...
0
votes
0answers
16 views

Images style stopped working out of the sudden - D7

The image style decided to fail on me today. It was working fine for the past weeks. I can add my own customised style etc. Basically it behaves the way it should be. But today, when I tried ...
0
votes
0answers
12 views

Metro layout for views

Any way to achieve metro style layout for Views items? E.g.: I was thinking maybe there are modules or something. Was searching for something like Masonry, but didn't find any.
0
votes
1answer
10 views

User select filtered by taxonomy on node forms

I’m looking for something like Hierarchical select (https://www.drupal.org/project/hierarchical_select) based on the user selection filter by term (taxonomy). In a node forms, I would like a list ...
0
votes
0answers
9 views

With a Two-Tier Drupal Architecture, Should you Put More RAM into the MySQL or the Apache Box? [on hold]

If you're spinning up a two-tier Drupal 7 environment (Apache on one server, MySQL on another), how would you allocate RAM? If there's a ratio to stick to, that would be handy, too (e.g. 2:1, MySQL to ...
0
votes
1answer
13 views

Superfish - how to integrate main & user menu together

I am using superfish module to decorate the menu system but found one issue. i need to show my "main menu" & "user menu" blocks on header region. so that if user is logged in, they can see all the ...
0
votes
1answer
16 views

I want feedback tab with popup window? [on hold]

I installed feedback module in Drupal 7. But I clicked means it will go to contact page. I want to load the content in popup window? Look this Image
0
votes
2answers
22 views

How to override VBO redirect after performed action?

My problem is that I can't override the URL where VBO redirects me to after I performed a default action. When I write my own actions I simply put $_GET['destination'] = 'my/target'; inside my custom ...
0
votes
0answers
16 views

Implementation of Google Picker for Drupal?

Does anyone know of a successful implementation of Google Picker API for Drupal? The project on d.o. is now 3 years old and without working code; I am looking for a working solution.
0
votes
2answers
45 views

how to output image file from database drupal 7?

I have created testing module that will upload image and outputting it to my page. but, I can't seem to output my image file from my database. here's my code function database_ex_menu() { $items = ...
0
votes
1answer
12 views

Clearing a Date Field value in the Edit Node form

I have a content type with a date field (field_acquisition_date) and I'm using the Popup Calendar widget in the form UI. If a user... puts a value into that field and save the node then edits the ...
0
votes
0answers
7 views

loop over certain number of items of a list in rules

I have a list and need to loop only over the 3 first elements of that list in rules, but I cannot find the option of do this, it seems to be more comples that what I had thought.
0
votes
0answers
31 views

Using a custom module in D7, how can I programmatically change a theme's logo?

I'm writing a custom module. The module's only purposes is to programmatically change a theme's header logo on page load which randomly is selected from a group of 5. The popular answer here suggest ...
0
votes
2answers
17 views

How to show only user assigned contents in his dashboard

I have more than 270 pages in my website. There are some Content Creators, Content Editors, Reviewers and Publisher. I have assigned each user a different role. Each user can view, edit and publish ...
0
votes
0answers
9 views

Drupal commerce: Custom coupon rule

Hello I have Commerce Coupon 7.x-1.0-beta7 I need to create a custom rule for a coupon: For example: User want to buy 4 products I want a coupon that apply 50% of discount for only the 3 first ...
-1
votes
1answer
25 views

php - get value from custom field [on hold]

I try to get a value of a text field inside rules php like this: <?php $glo = $node->field_email['und'][0]['value']; print $glo; ?> But getting error: Notice: Undefined index: value in ...
0
votes
1answer
25 views

rules - check if email is in use

I would like to create user account using rules, after anonymous user creates a node and inputs his email to a email field. Before that I need to run a condition if the email is already in use. What ...
0
votes
1answer
10 views

Change text displayed when cart is empty

I'm using Drupal 7 with Commerce and I'd like to change the text shown when the user visits /cart and they have not added any items, from the default "Your shopping cart is empty." to a custom ...
0
votes
1answer
12 views

Migrate is putting map tables in legacy database

I'm getting some really strange behavior with my custom migration class where the map tables are all being put into the legacy (6) database rather than the destination (7) database. This happens for ...
0
votes
0answers
12 views

Change node path token to URL to file

In content type I have field called field_pdf. How to change node token [path] to URL to file which is uploaded to field_pdf? I need this to use [path] token in Views.
0
votes
0answers
10 views

Exporting table tp CSV in causing <?php to be at the start of the file [on hold]

I have some data stored in Drupal. When hitting a URL I want a CSV file to be created on the fly and returned to use user. The problem is the file is starting with function mymodule_menu() { ...
1
vote
0answers
8 views

How to get Views Bulk Operations to work when showing a view programmatically?

I have shown a view programmatically using the code: $view = views_get_view('my_view'); $view->set_display('panel_pane_2'); $view->set_arguments( array('node', '241+254') ); ...
0
votes
1answer
23 views

Views Output field as a link - Two tokens, use only one of them

I have content type which has field_pdf. I have made view to show content and there is a field which has set: Output field as a link. In link path settings I have two tokens: [field_pdf][path]. Idea ...
0
votes
1answer
11 views

Buttons get longer when pressed if using AJAX

I'm using Ajax Commerce Cart Cart with a custom Drupal 7 theme that I made with Artisteer, but the issue does not seem to just be related to the one module. Whenever AJAX is attached to a button, when ...
2
votes
2answers
27 views

Create a form that will allow the user to select files from server

I have a custom module and I'm creating an administrator interface for this module. I need to give a "Select File" button to the moderator that will allow him to browse a specific folder in the server ...
0
votes
1answer
11 views

Save user selection after search in views

I am facing a problem with views. Is it possible somehow to save the user selection when a user is doing a search? To get it clearer, I'm having a list of users. Let's say, I am searching for ...
0
votes
1answer
27 views

Facebook Auto Post not working?

I configure the facebook modules. I created facebook Apps and I gave facebook auth id and secret key and all. But I couldn't connect with facebook. I got this type of Error?
0
votes
0answers
8 views

How to use Exposed Filter criteria form for Advanced forum

I'm trying to modify my Advanced forum topic list Master view to have an exposed filter so that my users can search for topics. However, after even a clean install with simplytest.me gives me the ...
1
vote
1answer
33 views

Views caching dont show changes

I'm having a problem with views and caching. Within a custom module, i do changes on my database, which is working fine, but my view won't show that changes until I clear all caches. I tried to ...
0
votes
1answer
20 views

Is it possible to change the form submit handler from within a validate handler (need to redirect to another form depending on values entered)

I have an initial webform (based on 3.x of webform module/Drupal 7) that needs to redirect to a second form if yes is specified in a yes/no choice. Otherwise if No, the first form should submit ...
0
votes
0answers
16 views

How to replace a Token in Rules' PHP?

I'm trying to grant Userpoints to users with a Rule. The Rule first calculates two integer values 'New value' and 'Old value'. Debugging this numbers shows that there's no problem with them. ...
0
votes
0answers
20 views

Put two content blocks in one slide

I would like to show two news items (item 1 and item 2) in one slide in Royal Slider. When you navigate to the next slide news item 3 and item 4 become visible. I have built a view but I can only get ...
0
votes
0answers
25 views

Some theme settings data could not be retrieved in the tpl

I added extra settings values set to the theme that I use in 7. The extra settings set is uploading a defined number of images, in-order to be used in a slideshow. It has been done as the following, ...
1
vote
1answer
13 views

How to filter a view by the value of a global variable (as with the variable module)?

I have a global variable, which is the id of a node representing a current organic group that changes every year. I'd like to have a rules view that filters on members of that group. I've added the ...
0
votes
1answer
13 views

Subscription to User-saved searches

Required functionality: User can filter nodes based on certain relevant custom fields. User can save filter criteria as a named set. User can view and edit these sets of filter criteria. User can ...
0
votes
1answer
22 views

Is there a way to upload files to the theme directory

I use the following code to upload images should be used in slideshow of the theme settings theme-settings.php: for ($i = 0; $i < 7; $i++){ ...
0
votes
2answers
22 views

Received “An illegal choice has been detected. Please contact the site administrator” while creating node with taxonomy field via service3 drupal7

I am having an error: {"form_errors":{"field_category][und":"An illegal choice has been detected. Please contact the site administrator."}} Field category is a taxonomy field attached to a node. ...
0
votes
1answer
14 views

Domain relationship module for drupal 7?

I want to create parent/child relationship in domain access module. My use case is: Parent Domain: ->child Domain When I add a node to the child Domain it should also be automatically created on the ...
0
votes
0answers
14 views

Views contextual filter sorting

I have a view setup with contextual filters to display articles on a block based on node tags. The contextual filter is based on 3 taxonomy vocabularies (ex. A, B, C), each with multiple terms. The ...
1
vote
2answers
34 views

How to style the default upload button?

Problem I want to style the default upload buttons. How should I go about doing this?
0
votes
0answers
13 views

Trigger Rules when Ubercart order is edited

I am trying to figure out how to trigger a rule when an Ubercart order is edited (for example, when an admin user views the order, clicks the edit tab, changes some info on that page, and then clicks ...
-1
votes
1answer
20 views

Image files saving as www-data instead of root

I can't remember what exactly I did but now my image files instead of saving as "root" now save as "www-data" So images don't display How do I change the images to "root" many thanks for your help ...