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

Fuctioning of Views Relationship?

I am trying to understand the Views relationship. As I am searching the tutorials, it all described, "When you want to include data which is not directly available Views relationship lets you include ...
0
votes
0answers
23 views

Custom page callback gave 404 but the page content is correct

I have a page callback that shows users' related content and displays a custom login form if user is not logged in. The site worked in another server, but today I migrated it to this laptop, and the ...
0
votes
0answers
13 views

Alter element_info and troubleshoot changed elements

Ubercart defines the following uc_price type in uc_store_element_info: $types['uc_price'] = array( '#input' => TRUE, '#size' => 15, '#maxlength' => 15, '#autocomplete_path' => ...
0
votes
1answer
19 views

Play audio only, from Youtube video [on hold]

Is there a module or a simple way to just play audio from linked Youtube videos ? I would only use start,stop,replay options, and clicking on another song would stop the first one playing.
0
votes
2answers
27 views

How do I get a dashboard like the one drupal.org is using?

In search of making the dashboard for the user like drupal.org site I came to know there is a dashboard module in the drupal core. It is already enabled but I am not getting user interface like ...
0
votes
1answer
19 views

Exposed Filter Not working in Views Json Query

I am using Views Json Query to fetch JSON data from a URL and display result in a view. I added certain filter criteria to the view, and created multi valued select option, But it is not working - ...
0
votes
0answers
8 views

Integret LDAP with drupal and webform with an existing Active Directory

I need to start a project with drupal and LDAP. Requirements Integrate with LDAP The roles are populated from LDAP. The end user will submit a form a before it saves to the database, goes through ...
1
vote
1answer
7 views

Handle node save concurrency

Introduction I need to prevent node update when two or more users try to update node on almost same instance (simultaneously) and instead put the requests in a queue and process one by one. A live ...
0
votes
1answer
13 views

How to open various files(image,video,txt) as pop-up on the current browser page instead of opening in separate page?

I have seen on several sites, particularly news sites, If we click on video, the video does not open in the separate page, instead small window in the middle of the screen pops-up and video does play ...
0
votes
0answers
8 views

How is the image format handled in Panelizer?

Am beginning to work with Panelizer and still have low understanding of Panels. I have one Default Panel for Full Page Override for Content Type (Person). In Person I have an image field. In ...
1
vote
1answer
22 views

Can I store a computed field as a field of a Content Type?

In content type = Person, I have these fields: - First Name - Middle Name - Last Name - Suffix In views, I have successfully concatenated the full name by adding Global: Custom text and using ...
0
votes
0answers
23 views

Overriding custom templates in a theme

I am having trouble creating/registering custom templates in a module and overriding them in a theme. For example, I have this in my_module_theme(): $theme['contact-page'] = array( 'render ...
2
votes
2answers
21 views

How do I move a group of nodes to another Drupal instance? [on hold]

What: I'm breaking a part a huge D7 site into a D7 multi-site instance. Why: Marketing demands have changed. They different units still want to use the same theme but have different main menus and ...
0
votes
0answers
11 views

How to create a View block for list of node title created and node title commented by logged in User?

I want to create a View block for the logged in user which shown list of node he has created and list of node he has commented, only titles of both. Just wrote point-wise below for better ...
0
votes
0answers
12 views

View that displays both Media files and nodes

I have run into a problem where it seems like you can't display Media module Files alongside regular nodes. I have a filter that is set to show content of type Webform. I wanted to be able to have an ...
-3
votes
0answers
15 views

How do I place PDF Flip flipbooks?

I'm working with a PDF Flip drupal module export file. I've followed the instructions at the software provider's website. I've uploaded the module manually to the site, enabled the module, and from ...
0
votes
0answers
11 views

how to split mailsytem based on condition

I have a site for sending newsletters and I want to send through two mail system. I was using mandrill mail and PepiPost mail service. If I want to send a newsletter to 100 users, I need to use ...
1
vote
1answer
20 views

How to assign user ranks based on their userpoints?

I am using userpoints and userpoints_nc to calculate user points when they publish an articles or comment on a node. On these points I want to assign some rank to the user. Like for example Upto ...
0
votes
0answers
11 views

How to add multiple products to cart at the same time with attributes

I have different view blocks that displays multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
0
votes
0answers
25 views

Drupal Member suite [on hold]

I used the MoneySuite module by following this video. The video shows when he clicked create account, it will redirect to ms/checkout/paypal_wps. When I clicked create account it won't redirect ...
1
vote
0answers
19 views

How to use form ajax so a click on checkbox “A” posts the content of textfield “B”?

I'm trying to get the value of textfield "B" when checkbox "A" is toggled. Both fields are wrapped in a fieldset who's content is replaced by the callback output. So far I can get both fields to ...
3
votes
2answers
22 views

How to get link path in custom block for a view?

I created a view (unformatted) associated with a content type with two simple fields for a block. The view is called "phrases" have generated two .tpl: a) ...
1
vote
0answers
5 views

Linking to translated internal content in TinyMCE wysiwyg

What's the best way to allow editors to link to internal content using the TinyMCe wysiwyg editor in a way that provides the correct alias based on the end user language? For example, I would like ...
1
vote
1answer
9 views

User Folder Access Control

I work at a university that has switched to Drupal. We have several hundred departments making their own "sites" in our system. Most departments need to be able to upload and change ONLY their own pdf ...
0
votes
1answer
17 views

In panels, does the right region get its argument from the left?

I plan to have a panel page with two regions: - on left, a panel of one author - on right, a view of all the stories written by that author. I don't yet know how the user arrives at this page (my ...
-1
votes
1answer
18 views

Drupal mail send to multiple recipents [duplicate]

I want to send the mail to multiple recipents with varying body content each user will have different content . This is the code I used for sending, but I cannot send to multiple users. $to = ...
0
votes
4answers
35 views

Drupal 7 Views : Add custom HTML into .views-row-1

How can I add some HTML code inside a specific row in Views Now is: <div class="views-row views-row-1"><span class="views-field views-field-title"> .... Would be: <div ...
0
votes
1answer
20 views

Change quote to &laquo; &raquo;

I'm using Drupal 7. A lot of text are using quotes like "text" or «text». I want that for all older text on the site as well as for new text there will be one type of quotes used: «text». Can you ...
1
vote
2answers
22 views

How to separate 403 path per role?

On admin/config/system/site-information, one can specify "Error pages" for 403 (No access) and 404 (Page not found). It would make a lot of sense to specify different pages here, depending if you are ...
0
votes
1answer
31 views

Subscription Membership [on hold]

User will key in particular info such as Name, contact and email. User will choose membership package such as one month, 6 months or one year Activation email will send to the user. User will click on ...
1
vote
0answers
8 views

Modify code to use batch api?

I have a custom module written to import data from a Salesforce API and update organic group info by adding/updating/removing members from groups. I originally wrote it as a drush command for ease of ...
1
vote
1answer
15 views

Body field in colorbox

Is it possible to have body trimmed to lets say 150 chars with read more link, and when you click read more, full body field opens in colorbox ?
0
votes
1answer
18 views

Send email to webform submissions when new content is created

I have a webform on my site, which collects names and email addresses, for the purposes of receiving content updates. When a new piece of content of a specific content type is added, I want to be able ...
0
votes
1answer
14 views

Change image style during hook_node_view()

I'd like to programmatically change an image style during hook_node_view(), and I thought this would be relatively straightforward like so: /** * Implements hook_node_view() */ function ...
2
votes
1answer
21 views

What's the difference between enabling Node View (and adding a variant) and creating a new Panel page?

To learn more about Panels, I've been repeatedly traipsing through screencasts by Shane Thomas and Johann Falk. Right now I find myself confused about the distinction between: enabling a copy of ...
0
votes
0answers
12 views

Gallery with combination of in-place slider and modal / lightbox

I am trying to build a gallery with the following features: Image Slideshow, possibly with a thumbnail carousel below for nagivation. This should be embedded in the page layout, not in a modal ...
0
votes
0answers
16 views

Migrate files with directories and sub directories

I am having issues with migrating my files locally on my computer. Im using the migrate UI and my source_dir = /Users/cwahlfeldt/Sites/dev.urbanaillinois.us/sites/default/files/ which is a full path ...
0
votes
0answers
4 views

Allow Role to change only Moderation State of Content Type without possibility to edit content fields

The system we are building has a role Publisher. It's task is to change Moderation State of a content (news content_type) without having a possibility to edit an actual content. In short, the user ...
0
votes
1answer
14 views

IP-numbers not found in database table ip2country

I am trying to hide a certain field in the product nodes for all visitors from other countries. I have installed the ip2country module and I am using this code snippet to fetch the language code in my ...
0
votes
0answers
10 views

Private messaging to arbitrary group of users

I'd like to send private messages (with email notification) to groups of users. These groups can be either pre-defined or ad-hoc selected. Is there any module with this feature? I found Privatemsg ...
0
votes
1answer
12 views

multiple values of several fields grouped together

I am using drupal 7 as a backend, in which I have a content type called conferences, and each conference has several events. I do not want to create another content type for events and would want to ...
0
votes
0answers
14 views

Hook before the file insert, before the file come on the server ?

I want alter the URI's files before they are stocked in the server. The file insert, I mean, everywhere/time a file is uploaded via Drupal (all insert file process, not only when an user add a file ...
0
votes
3answers
21 views

How to call functions from another module in hook_language_negotiation_info()?

I am writing a new custom module which is dependent on geoip module. I'm trying to add another language negotiation in the language detection configurations which would trigger a callback function ...
0
votes
1answer
32 views

View page is taking lot of time to load

I have developed an application using Drupal 7, where I have created views and it has lots of data. Now its taking lot of time to load the page and all users are complaining about this issue. Can ...
1
vote
2answers
22 views

Creating a “Related pages” view which also excludes the current node in Drupal 7

I want to create a view-block of related articles. The base for distinction is a given vocabulary. The node which serves as base to such related content list should be excluded from the list. I ...
0
votes
0answers
3 views

Dialog module does not load View

I'm working with the Dialog module to show some content and forms in jquery dialog boxes. It is loading custom forms and nodes in Dialog boxes just fine. But when I try linking to a View, the Dialog ...
1
vote
1answer
16 views

Libraries require jQuery and not work

I load some libraries in my module by using this hook : function food_truck_form_views_pre_render(&$view) { if ($view->name == 'marqueurs_admin') { ...
0
votes
0answers
27 views

Local file migration not working

I am attempting to migrate a Drupal 7 site with another Drupal 7 site locally on my computer. Most all fields are coming over except files. Ive tried a few different settings without any avail. ...
0
votes
1answer
19 views

Add a checkbox on registration page for subscription newsletter with Simplenews

I'd like to add a checkbox for subscription to a newsletter on the user registration page. I'm using Simplenews. How could I do that?
0
votes
1answer
35 views

How to create a User search view?

I am trying to create User search view (using Views). But when I create the view, I am not able to see the search option in filter. What I am missing?