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
1 view

Flexislider crashes with jquery 1.7.1.min and jquery 1.7.2.min

Flexislider crashes with jquery 1.7.1.min and jquery 1.7.2.min When I add my script jquery 1.7.1.min or jquery 1.7.2.min, flexislider will not display anything until I remove them. How to solve this ...
1
vote
1answer
15 views

How to add a Javascript to a webform?

I want to add a Javascript to a webform. E.g. to add things like onclick, onchange, mouseover function to webform's textbox, textarea, select, email, etc. Can anybody help me about how to do so?
0
votes
0answers
6 views

Having trouble using the rate module with views

Below each node I have three rate widgets, "funny", "informative", and "boring". They're all individual "yes / no" widgets, with the second option removed. I want to display the top voted node of each ...
0
votes
0answers
5 views

Pull Entityform data into Rules

I am trying to create a rule that before a node is saved (by content type Review) it will check to see if that node has any entityform submissions from that user. Basically, in order for a user to ...
0
votes
0answers
15 views

Drop down of site pages for admin to choose

I have a content type which has a link (text type), and admin can manually insert his link. My site pages consist of the pages that work with views module (views page), and also pages that are ...
1
vote
1answer
6 views

Assign User Points in existing website which already contains content

Question specific to "User Points" module, backcopy of question from here due to no response: https://www.drupal.org/node/2492933 Drupal 7 - I have a website which is already running for more than ...
1
vote
1answer
13 views

Menu items visible based on checkbox

I want do show/hide menu items based on a checkbox that the user selects when he/she registers. I use profile2 for register. Should I use an external jquery script that calls on page load or should ...
0
votes
1answer
7 views

Need to add custom element in sitemap.xml file

I have installed sitmap module to create sitemap.xml file. Now I want to add some custom element like <expires>2010-10-10</expires> for some URLS.
0
votes
1answer
16 views

filter to remove external links from text

Do you know about a way to automatically remove external links after user submits node? I want to keep only internal ones. I am not able to find any text filter or module which does that. Thank you ...
0
votes
1answer
7 views

how to get searched item value in search form

how do I get the value of searched item value, if I searched for "cat" in a search box then it also displays on a search page?
0
votes
1answer
17 views

Pagination in search search results

I have installed search configuration module to alter pagination on search results. I've set the pager limit in Configuration > Search settings > ADDITIONAL NODE SEARCH CONFIGURATION > RESULTS to 3 ...
0
votes
1answer
20 views

Custom 404 - menu disappears

I have created a custom 404 page using hook_preprocess_page(): function THEME_preprocess_page(&$variables) { $header = drupal_get_http_header('status'); if($header == '404 Not Found') { ...
0
votes
0answers
7 views

Views Exposed Filters Ignoring Default Value

I have a view set up that uses ajax to provide a list of choices based on the choice of a radio button. All I am trying to do is get a default value to appear on the first page load. Instead I get " ...
1
vote
1answer
17 views

7 - Download file and generate page

I've got a form that gathers some data. The data is then modified and should be passed to the user as a file. To manage this I did the following: header('Cache-Control: must-revalidate, post-check=0, ...
0
votes
0answers
9 views

swap out rendered media item on same page with new url

Using Media and a few Media: [Service] modules to provide a website where the point is to provide all mirrors to a video under one page So the way I have this set up currently, is that each Video ...
0
votes
2answers
13 views

webform2pdf blank page

I am using webform2pdf. I'm having an issue with the download PDF button; it goes to a blank page when it goes to a path like /node/3/webform-results/downloadpdf. Does anyone have a fix for this?
0
votes
0answers
7 views

Send e-mail upon signup for an event with entity registration standard email

I am working with the entity registration module and works good, has many good features. But is has no feature for a confirmation mail to the user that just signed up for an event. Through the Rules ...
0
votes
0answers
14 views

add function on date selected through date popup field

I am using Date popup module for selecting a date in a registration form. Is it possible to fire an event on date select?
1
vote
0answers
28 views

How can I find which modules alter my form?

Is there a way to debug the list of modules which alters my form (using form_ID). I can get a list of modules implementing hook_form_alter using module_implements('form_alter') but how can I know ...
0
votes
1answer
15 views

Rendering a region in region--footer.tpl.php

I have my social media links in my sidebar_first region. And these social icons are included in my footer. So in region--footer.tpl.php, I have rendered sidebar_first region but it is not displaying, ...
0
votes
0answers
12 views

OG context not passed in Entity Reference View Widget

I am using Entity Reference View Widget module (ERVW) and set its view to have two args, 1st arg being the "Content: nid" set to "display all" on no filter value while the 2nd arg is "OG Membership: ...
0
votes
1answer
23 views

Embed form within a form

I am building on an existing site, adding / modifying functionality to it. There is a form, which is a part of a (sort of a) multi-step form which I need to alter, and add another form to it. So, I ...
0
votes
0answers
17 views

List of nodes which there is no reference to them

I have two content types: question and answer. each answer has a reference field which points to its question. How do I create a view from question nodes which there is no reference to them? (i.e. not ...
0
votes
0answers
16 views

problem accessing user variables in rules

I use module rules linkevent https://www.drupal.org/project/rules_linkevent to trigger a rule based on visited path. Tha problem I have that in condition I need to use user variables but get an error ...
0
votes
1answer
3 views

How to list taxonomy terms grouped by a field with Views

I have a taxonomy vocabulary called 'clients'. There's a field on that called 'category' which is a simple text list. I want a view that results in something like: Category Foo (rendered ...
0
votes
1answer
24 views

Flag not updating on user profile?

I'm using panels to display user profiles and each profile has a 'follow' flag (non global). I've used a view called 'follow-users' to capture few users and one of the field within that View is the ...
1
vote
1answer
14 views

Get the return value of a hook defined in a module?

Is there a way to get the return value of a hook defined in a particular module for eg: $views_theme_hook = module_invoke('views', 'theme'); By using module_invoke function, I got an array of ...
0
votes
2answers
20 views

Drupal 7 search form

I am using drupal's 7 built in search form and need to add placeholder property just for this form, in my template.php my snippet is like below: function mytheme_form_alter(&$form, ...
0
votes
1answer
16 views

Complete clueless how does Facebook OAuth (FBOAuth) work

I follow this video to get my Facebook App Id and secret :https://www.youtube.com/watch?v=wyDXlSUHaE8 Drupal module: https://www.drupal.org/project/fboauth In the setting I added Facebook App Id ...
0
votes
0answers
8 views

import into user address fields using user_import module

Im using user import module, Inside user fields I have a "Postal Address" field (I think it comes from location module ) this is a small screenchot how it look the setting of that field: So it ...
0
votes
1answer
11 views

Drupal module to know All Active sessions

Is there any way to find my opened/active sessions and close them in Drupal?. Like in Gmail, If there already exists a session for the logged in user they can be notified like the follows and they can ...
1
vote
1answer
30 views

Change URL to meaningful name when I use hyperlink target

Scenario: <a href="#block-block-1">Book</a> When I click book, it will scroll down to the block and url will be www.example.com/#block-block-1. Is there anyway to change url to ...
0
votes
1answer
24 views

How to add delete button to file field upload widget that actually deletes the file (not just association with content)?

After uploading a file with the File widget for the File field, the file is on the server and remove only disassociates the file from the field (and the content that the field belongs to). I would ...
-1
votes
0answers
7 views

Combining a view and form on the same page [on hold]

I would like to have a page that shows all of the users of a certain type and also includes a form that would allow the administrator to add more users of that type. Is it possible to do this with ...
1
vote
1answer
11 views

how to react on file save using rules module

How is it possible to react on newly uploaded file with rules? Is there any trigger like file upload or file update? Thank you.
0
votes
0answers
34 views

Default image is not generated

I have a case content-type that has an image_field. I have configured the field to use a default image in cases when no image is upload for a case. I then try to render the image using the following ...
0
votes
0answers
16 views

send variables other than $content and $subject to a custom block template

I have a custom block defined with Drupal 7 hook_block's, and I need to send a custom variable to the block template that will be set on block_view function, is this possible?
0
votes
0answers
15 views

How to override authenticated user permissions?

I'm looking after an intranet site on D7. Our system daily gets a user feed from active directory and puts everyone (new/existing users) as authenticated User. Authenticated users have the permission ...
0
votes
0answers
29 views

Error while adding any field in custom content type [duplicate]

I am unable to add any field in my custom content type, when I click on save button or click on upload after adding images it gives me the following error and for the text field the error is simply ...
0
votes
2answers
37 views

Download data from webform to excel file

I tried Microsoft Excel, but I cant open with Microsoft Excel 2007. I tried Delimited text. No data in the file. I have 10 records in the database. May I know what is the problem? Many Thanks
0
votes
1answer
15 views

How can I create a view that displays the most popular nodes based on an outgoing link?

The link is a text field that's value is pulled directly in node.tpl: <a class="list-parent-link" href="<?php echo $node->field_download_link['und'][0]['value']; ?>"> I'd like to be ...
1
vote
1answer
14 views

Why can anonymous users not vote (using fivestar), even though they have permission for it?

I created a "Stars (rated while viewing)" field in a content type (using the Fivestar module). I checked the box for anonymous under rate content in user permissions. As the admin I can vote fine. ...
1
vote
0answers
10 views

Create node via URL parameters to different drupal site

I am looking for a way to create a node via just a URL. I know the prepopulate module and similar can auto populate a form for a user to submit, but I would like to avoid the form altogether. After a ...
0
votes
1answer
8 views

Separate statistics on sites from Domain Access

Is it possible to separate statistics (like number of views) on shared node on few sites while using Domain Access module, so the same node can be viewed like 50 times on site1 and like 80 times on ...
1
vote
0answers
4 views

Does OG Mailing List “Domain Name” configuration setting allow different mail list address than address Drupal is installed under

Does OG Mailing List "Domain Name" configuration setting allow different mail list address than address Drupal is installed under In OG Mailinglist 7.x-1.1-alpha2 for Drupal 7 there is a setting ...
0
votes
1answer
57 views
+50

How to motivate visitors to comment (technically)

I want to configure my Drupal site in order to make commenting easy to motivate visitors. Which modules can I use to create a better commenting experience for visitors? For example, if a visitor ...
2
votes
3answers
25 views

Menus in drupal 7

In my sitemap, I am displaying main menu and footer menu, but as per requirement I dont want a specific menu item to display in sitemap. If my footer menu has following items: industrial mechanics ...
3
votes
2answers
60 views

What way should I use to load a file from a module?

What way should I use to load a file from a module? I am writing a module which is divided into 3 parts Custom core will be in the module which contains basic functions required for project Custom ...
1
vote
2answers
21 views

Can't get “time ago” date format to work

From this blog post http://drupalmotion.com/article/time-ago-date-format-drupal Function: /** * Format date implementing hook_preprocess_node(). */ function YOURTHEME_preprocess_node(&$vars) { ...
0
votes
1answer
15 views

$page not targetting views block but $is_front is. Need help with trying to solve this in any way

I wrote this poorly the first time, more succinctly: I need a custom node.tpl for the same content type in the front page teasers, the node itself, and a views listing of that node in the sidebar on ...