Questions tagged [7]

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

Filter by
Sorted by
Tagged with
0 votes
3 answers
760 views

receiving incorrect url from amazon s3 module

I am using drupal 7. I have installed amazon s3 module and its dependencies. I have created a bucket for saving my files on amazon server. Everything went good.. But when i try to get the path for the ...
0 votes
1 answer
395 views

Facebook Album fetcher

I am using facebook album fetcher module. It shows an error message An unknown error occurred while trying to fetch the album (empty reply). Can anyone tell me how to resolve this issue.
0 votes
3 answers
805 views

displaying taxonomy term as a header in a view

I have a view that displays 3 latest articles from a certain taxonomy term. The issue im having is I need to display the taxonomy term as a Header. I dont see the [field_myterm] under Header > Global :...
1 vote
1 answer
541 views

It's a way to select by default N/A checkbox

I want that if a fields is not mandatory the N/A options on select box is ticked by default. I have tried to tick default value N/A on the field but after the setting disappear. I use Drupal 7.15. ...
0 votes
2 answers
783 views

Change max length of signature field to more than 255 characters

How can I change the max length of the drupal 7 signature field to more than 255 characters? I've already changed the sql data type from 255 to varchar(900), yet drupal still shows the error, as soon ...
0 votes
3 answers
439 views

Custom DOM placement using AJAX

I'm using unlimited image upload option in my content type. Upload image and remove the uploaded image options are working fine with the unlimited option. Usually, the uploaded images will be ...
0 votes
2 answers
871 views

set min - max values drupal date_popup timepicker

Is it possible to set the minimum and maximum values of the timepicker in a date_popup field? I use this code for the field, but something like 'minTime' is not working. $form['fetch_date'] = array(...
0 votes
1 answer
463 views

How do I insert a user picture's thumbnail on the "Submitted by" field?

I want to insert user picture's thumbnail on "Submitted by" field, which is displayed in teaser such as the following. Submitted by [some_user] [someuser picture's thumbnail] on xx/xx/xx How do I ...
1 vote
1 answer
486 views

How to automatically delete all product displays when a product is deleted?

To automatically delete the product displays when a product is deleted, is a feature of the module Auto Product Display, but I don't need that module. Preferably using the Rules module, I would like ...
0 votes
1 answer
414 views

Add hidden field to checkbox and submit unchecked value

I want to submit a value if a checkbox is unchecked (on a node edit form). Using theme_form_element I can add the hidden field as follows: $variables['element']['#children'] = '$variables['element'][...
0 votes
1 answer
553 views

rewriting results in view: trim from the back

I am working on Drupal 7 Omega Subtheme, Panels Views. In one of my views I have a path field which displays the whole url and I need only the last 6 characters (6 digits, to be precise. Also, if it ...
0 votes
1 answer
410 views

No working link to network files

For an intranet solution I would like to add a bunch of rather static links in Drupal to network files which change from time to time and are maintained by people not using Drupal. To achieve this I ...
0 votes
2 answers
413 views

Titles not showing for tabs pages

Below is the array in my hook_menu The only issue that I have with it is that the titles are not displaying for tabs pages (the last three array collections). They are showing the title for the ...
1 vote
1 answer
533 views

Change the bulk operations confirmation page

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.
0 votes
1 answer
528 views

Can a subgroup of a public group be private and hidden?

I'm building my first Drupal Organic Groups site, and running into problems. Problem: My goal is to have top-level Groups that are visible to the public, but only members can participate in them. ...
1 vote
1 answer
408 views

a function to return the quiz nid

There is a template file in the quiz/template/quiz-report-form.tpl.php of Quiz module. this is the code: <?php /** * @file * Themes the question report * * Available variables: * $form - ...
1 vote
1 answer
782 views

How to change the SID of webforms to increment from a new starting number

We launched a new website that uses webforms but need to make sure our webforms are using an SID for results larger than the last number used on the old site. Please note that I am not referring to ...
0 votes
1 answer
411 views

How to insert a hashed password into table users?

I'm using services module, but i've created my own resource 'login', I'm using $data to store username + password. When i use postman, I put a text plain for password, and in my service code i've ...
0 votes
1 answer
1k views

How do I show the publishing date instead of the creation date?

When I create an article and I don't publish it, so I could edit the article later and publish it when it's finished, I notice Drupal shows the creation date, not the publishing date. Is there a way ...
0 votes
1 answer
452 views

Is there a function to get the system path for the current language?

If I'm using multiple languages on the site with path prefixing, is there a quick way to get a system path for the current language? For example, if the current language is English, and I'm ...
1 vote
1 answer
410 views

Popup map block

I'm trying to get a map to appear in a modal but haven't worked out a solution yet. I have a list of items and I would like a map with their locations to appear when I click a 'view map' button. I'm ...
0 votes
1 answer
408 views

an error when changing the date form

I need to change the date form of quiz module in quiz.module on line 1307 it was this: $form['quiz_availability']['quiz_open'] = array( '#type' => 'date', '#title' => t('Open Date'), ...
1 vote
1 answer
926 views

How can I get the translated path to the current node?

How to get path to current node but of another language? Available languages: English (URL prefix: en) Polish (default, no URL prefix) Enabled detection methods: URL (by prefix) Session (parameter:...
2 votes
1 answer
688 views

Why cannot anonymous users vote, even though they have permission for it?

I installed the Fivestar module and added the Stars (rated while viewing) field in a content type. I gave to the rate content permission anonymous users. They can see all the content and the voting ...
1 vote
1 answer
763 views

Associate an image with each checkbox

I'd like to have a graphics-oriented Webform, wherein the user will select from check boxes that have a specific image associated with each. For instance, I might have a row of checkboxes with a color ...
0 votes
1 answer
504 views

Confirmation pop up on login submit

I have built a site using drupal 7.41. I have added the login form by adding this line in my page.tpl.php "print render($page['login_container']);". When user click on the login button I want to show ...
0 votes
1 answer
409 views

Endpoint services with url alias name

Is it possible the to view xml/json format data with url alias name instead of endpoint_path/node/1 or endpoint_path/node/2
1 vote
1 answer
479 views

ckeditor in not showing up on one of my drupal site content type

I have installed ckeditor in my Drupal 7 site. It works well on all content types except one. Actually, on one of my content type it doesn't show on Body field when I write content. But when I open ...
0 votes
2 answers
2k views

RewriteRule causing internal redirect limit error

I am trying to server a static HTML site from /sites/default/files/staticsite and make it available via a subdomain. I'm hosting the site on Acquia Cloud, and their docs describe Maintaining a static ...
0 votes
1 answer
518 views

How to set the link in a view slideshow?

Currently, I'm creating a xyz resort website. In my home page, I implemented a slideshow by using views. I want the slideshow to be clickable: When I click on to the resort image in slideshow it ...
1 vote
1 answer
383 views

Email Attachment File Path

I am using Drupal 7 with the WebForm and MIME Mail modules. I've got webform attachments being sent in the email working fine. However the email also contains a path to view the email in a directory ...
0 votes
2 answers
419 views

Add exposed filter for user roles

In Ubercart, the uc_order view (admin/structure/views/view/uc_orders) uses exposed filters for status and order ID. I can add another filter, for example username, email and so on by clicking on Add ...
1 vote
2 answers
166 views

Sort Views table field by alphabet

Table field 'Manufacturer' is set to sort by ascending or descending and when you sort it. At first it looks like it's sorting by alphabet, it starts with A, B, C etc. but eventually ends up with A ...
1 vote
1 answer
358 views

HTML tags removed during Views Rewriting

Hello I created a sitemap with the modules "Views and data export". The sitemap of my page works fine, but I would add images to my page. The sitemap should look at first capture, I do a test with ...
3 votes
1 answer
509 views

Adding confirm email field to entityform

I am using email field module and entityform for a simple contact form on a Drupal 7 install. I need to add an extra field where the user re-enters their email address (no copy and paste) to prevent ...
2 votes
1 answer
446 views

Custom template for each profile2 profile type edit form

I am working on a Drupal 7 site and for a few days now, I've been struggling with this problem: I am trying to create a custom template for the edit profile form, but there are more profile types. I ...
2 votes
1 answer
470 views

How to create landing pages and Main Menu based on taxonomy

I'm trying to build a website for a non-profit which has multiple locations (~6) besides the headquarters. The frontpage needs to be generic for the whole organization and will contain content from ...
0 votes
3 answers
2k views

Implement hook_menu_block_tree_alter() to change CSS classes

I have installed the Menu block module. I am very happy with the result, but I'd like to change some classes in the structure. This is what I get right now. <div class="content"> <...
0 votes
1 answer
394 views

View button that links to current node

I'm trying to create this button in my views with a custom text, that needs to link to the current node. I know you can use links and that works, but.. i need something like a variable that makes the ...
0 votes
2 answers
656 views

How to hide nodes in a VIEW where the user is not referenced?

This is a follow-up to How to show nodes where the user is (not) in the reference field with Views? I have a node with multiple user references and need a node VIEW that hides all nodes where the ...
1 vote
1 answer
755 views

Cannot install modules

I am very new to Drupal so please excuse me if this is an easily answered question. Basically I wish to install CKEditor, however when I upload the module thorugh the online installer I am greeted ...
2 votes
1 answer
600 views

Hiding Menu Links Based on URL

Is there a way to hide menu links on the main menu based on the URL? For instance, if my URL is 'example.com/undergraduate', the main menu links would be different than if I were to go to 'example....
0 votes
1 answer
471 views

What configuration is required to use date_views with a field?

I have a custom entity "referral" which is available for views: function mymodule_entity_info() { return array( 'referral' => array( 'label' => t('Referral'), 'controller ...
0 votes
2 answers
411 views

Views partial Contextual Filter on username

I have a view of users with a contextual filter for username which works great for whole usernames, but I need to allow this to work with partial names, or specifically whole words (userames are full ...
0 votes
2 answers
779 views

Is it possible to find which user created an account?

I currently have a Drupal 7 site set up to allow users with the Doctor role to create users with the Patient role, via admin/people/create. Does Drupal store data about which user created a specific ...
0 votes
1 answer
402 views

Errors when Taxonomy is chosen in node's Term Reference field

I have created a vocabulary called "Recipes" with several terms underneath (Appetizers, Dinner, etc). I also have a content type called "Recipe" with a Term Reference field for the ...
1 vote
1 answer
433 views

Index custom content in apache solr

I have several custom modules that load and display data from custom tables. I have successfully managed to use the drupal search on these contents, using the drupal search hooks like, ...
2 votes
1 answer
809 views

How do I change the order of the form elements?

I am using Drupal 7, and trying to make a custom register form to fit my needs. I am also using a contrib module named "Auto Assign Role" to let the user choose his role. Now heres the issue, the ...
3 votes
2 answers
685 views

Is this the correct way to add a page with hook_menu()?

I'm trying to create a page through hook_menu() so I can add my custom block with context instead. function my_module_menu() { $items['my_page'] = array( 'title' => 'my_page', '...
0 votes
1 answer
589 views

How to alter the welcome message after successfull registration

A message is shown upon successful registration, with the following contents: A welcome message with further instructions has been sent to your e-mail address I would like to change the content of ...

1
2 3 4 5
530