0
votes
0answers
4 views

Correct use of the context module to overtake the blocks assignments page?

Currently I'm using the regular blocks page to make assignments to the head/footer regions as those are relatively static. But one issue im running into is that I need to assign the "main content" ...
3
votes
2answers
11 views

Why do I need to use .live() in Drupal Behaviors?

I am trying to be a good boy and use Drupal Behaviors to manage my JavaScript. My understanding is that one of the advantages of using Behaviors is that it frees you from having to use .live() to bind ...
0
votes
1answer
6 views

Quicktabs- Drupal7

I am newbie to Drupal and just started building website in Drupal-7. I have created Three Tables Block using View. And I have created tabs using Quicktabs Module. But Tab title displayed as HTML ...
0
votes
0answers
3 views

Links in sidebar to link to search results

I have a view in sidebar showing a taxonomy Category. There is a view on /search-page that displays search using Search API view and exposed filters. I want the sidebar Categories to link to the ...
0
votes
0answers
5 views

Facet API, exclude option, and a field with multiple values

Im getting headaches concerning this one ... Ive got a field, say a text field nammed "MyField", which can have multiple values. Ive created a feed that imports the data for this filed. After the ...
0
votes
0answers
6 views

Voting doesn't work in quicktabs

In my video gallery view, I have created two blocks, one shows recent videos and the other shows videos at random. Each video has a rating widget which I have made using the Rate module. I created two ...
0
votes
0answers
8 views

“Unable to send e-mail. Contact the site administrator if the problem persists.” [duplicate]

While sending a test mail the following error is displaying "Unable to send e-mail. Contact the site administrator if the problem persists."
0
votes
0answers
3 views

Does metatags quick module use tokens

I am trying to create metatags for a clients website. I would use the Metatag module, but their version of Drupal is not complient with the current version of the module and the site is not available ...
0
votes
0answers
14 views

Drupal 7 - Multiple choice question creation change checkbox to radio

Using quiz module, I am creating Multiple Choice question. In that there is a check box to select the correct answer. Check box enables users to select multiple answers for a single question, but I ...
0
votes
2answers
16 views

How can I hide specific user from dropdown list of users

Could you please help me with one little question. I'm using Drupal module Support Ticketing System. When the support ticket is created user can choose from dropdown form for whom this ticket is ...
0
votes
0answers
7 views

How to change order state when user cancels payment

In Drupal Commerce, when the customer has been redirected for payment, the order state will be set to Checkout:Payment, and the cart will be emptied, hence the user cannot change his mind by pressing ...
0
votes
0answers
10 views

Pagination not working

Can you anyone please help me for this issue. I got paged numbers 1 to 6 and previous/next options but when we press any number it shows same data in every page. // BUILD FORM $form['filter'] = ...
0
votes
1answer
13 views

Hide tabs on all pages

On every page on my site, there are always these tabs on display: News, Events, Grant. I have been able to hide them on specific pages using CSS Injector however I want to disable these tabs ...
0
votes
0answers
10 views

Metadata search in drupal?

Current search in my drupal site fetches the Content “File name” and also within the content as well either be it a file, forums, articles for which we has used “Apache Solr” and “tikka”.Tikka ...
2
votes
2answers
262 views

Risks of developping your own theme from scratch?

I read several answers about "Is it better to develop your own theme from scratch or extend a existing one?". Here is my situation: I just got an existing project and I have to debug it and evolve ...
0
votes
0answers
2 views

Views 2 - How to show exposed filters when results list is empty?

I have a page that displays all events after the current date. It has an exposed filter where you can set the date - all events after that date will be shown. This all works fine. However, if there ...
1
vote
0answers
18 views

Programatically add pager to View

I have a view that select some nodes. In views_post_execute I remove some results that cannot be directly removed by the query. To do so, I have something like: foreach($view->result as $key ...
0
votes
0answers
17 views

remove a drupal select list option from a node add form [on hold]

Can i remove a drupal select list option from a node add form, but will stay on edit form having that option selected using hook_form_alter. thanks in advance
0
votes
0answers
8 views

Add all the fields to view automatically in csv export

I am using entity registration module for node registration.Now i wants to export the registrants. I am using view export module to export registrants list. Its working fine But as the registration ...
0
votes
1answer
10 views

Restrict operations to Specific user

I constructed my admin/content page using my custom module Steps i follow 1. retrieve data from multiple tables and displayed it in table 2. I gave edit and Delete options From admin/user edit and ...
0
votes
1answer
26 views

Get ID from a URL in drupal?

I have cretad a menu for edit a form in drupal... Code: function pricepackages_menu() { $items = array(); $items['membership/packages'] = array( 'title' => t('Add Membership ...
0
votes
1answer
12 views

A module to find linkable content

I am looking for a module that finds related pages for the purpose of linking them internally. For example, we have two pages, both have the name "Kill Bill" in their content, but they are not linked. ...
1
vote
0answers
14 views

Youtube embed won't work without other character or whitespace

I am not able to embed Youtube video in embed field or in normal body area, when the content is only the video embed code. But if I add any character or a whitespace it works. I am not able to explain ...
0
votes
0answers
16 views

problem with Single Page Website module

I wanted to try out the Single Page Website module for Drupal 7 I followed the instructions and all seemed to work well, except my anchor links wouldn't work i.e. it wouldn't scroll down the page ...
0
votes
1answer
16 views

Delete user account after checkout completion

Im trying to create a rule that deletes an user account after checkout completion for New users, but it is not working. Can anyone please help me to figure out what is wrong? after checkout ...
0
votes
1answer
23 views

Use product entity field as filter in Views

I have a product (type: "lamp") with a text field called "power". On the Product display node ("showcase") i also want to see a block made with Views. It must show three other products of the same ...
4
votes
2answers
78 views

What is the easiest way to install clean Drupal from scratch? [on hold]

What is the easiest/quickest way to install clean Drupal from scratch on empty folder for testing purposes by using drush.
0
votes
1answer
7 views

Using hook_query_TAG_alter to add 'OR' queries to EntityFieldQuery

I need to use the OR operator on an EntityFieldQuery which I understand can only be accomplished via addTag and hook_query_TAG_alter. My query at present: $query = new EntityFieldQuery(); ...
0
votes
1answer
16 views

Add Nested <ul> List into $form

I have something like this. How can I make $upload_items be a nested <ul> list under Upload examples Something like <ul> <li> Upload Ex </li> <ul> ...
0
votes
1answer
15 views

Rate widget not working in views

I have an image gallery which I've made using views and each image has a yes/no rate widget. When the image is clicked a popup box is shown with the image in it which I have made using colorbox. I ...
1
vote
2answers
17 views

Adding a views block to a menu? Or adding a menu to a views block?

I need to create a dropdown menu which consists of the menu items and also a views block of recent nodes. Yes this is technically a megamenu, but how would one build it without a megamenu using only ...
2
votes
1answer
21 views

Login 403. Hit with SA-CORE-2014-005

I don't know why, but I can't find a straight answer to this anywhere. I have a site that was by the vulnerability patched by SA-CORE-2014-005. I went into the database and deleted the user and ...
0
votes
1answer
14 views

Reset a page with multiple exposed filters

I have a view page which is the main page on my website. It is kind of a search using exposed filters. As I have many exposed filters I installed the module MEFIBS which allows me to split the exposed ...
0
votes
1answer
7 views

Display suite fields visibility restriction

Is there a way in DS fields visibility restriction with url pattern?
0
votes
1answer
9 views

How to alter tabs that have wildcard in bartik main menu

The problem is that I have some menu items with wildcard that I wanna add in main menu tabs, but can't realize how to do it. It can't be solved by hook_menu as I undestood. Tried use ...
3
votes
1answer
32 views

Drush updates core successfully to 7.32 but is still 7.31

I'm developing a site on Drupal 7 and using drush 7.0-dev to keep the core and modules up to date. I've run drush pm-update several times successfully in the past, until Drupal core version 7.32 came ...
0
votes
0answers
38 views

PHP Fatal error: Call to undefined function entity_crud_get_info() in #########\docroot\sites … in xxx/modules/entity/entity.rules.inc on line 96

I am getting the above error whenever I install the module. The above errors keep occuring on every page. How can I debug it or solve it? I am clueless and working for a solution Any pointers would ...
3
votes
1answer
14 views

How to best handle “sudo: no tty present and no askpass program specified”

Mac 10.9, Drush Version : 7.0-dev I have custom Drush commands that contain shell commands with 'sudo' included. This results in an error when calling with remote alias to execute on remote ...
0
votes
1answer
57 views

My Drupal was hacked: Remote Code Execution – base64_decode() with ‘PCT4BA6ODSE_’

today I woke up surprised that my website was hacked. I found scripts like this in several files of my Drupal instalation ...
0
votes
2answers
13 views

MedialEment.js module not seeing the installed library

I've just installed the MediaElement.js module and downloaded the corresponding library but in the modules page it won't turn on because it's not finding the library. i have other libraries running ...
0
votes
1answer
9 views

How to make custom Drush commands to work on remote instance

I have developed custom Drush commands that includes some shell commands all which work locally. I would like them to work also on the remote instance with aliases that have the remote settings. Here ...
0
votes
2answers
16 views

Scheduling a module to run at a specific time

Is there any way to schedule a particular sub-module to run at a specific time? I found hook_cron but it seems to rely on a scheduled cron job in crontab to run cron.php and then cron.php calls ...
1
vote
0answers
11 views

How to schedule an email message from a webform email address

Need: Schedule an email message to anyone that completes my WEBFORM +2 days in the future. I got this to work 90% of the way. Emails are being scheduled, but the 'TO:' email address is ...
0
votes
1answer
23 views

how to specify which region of panelpage can be displayed with php

I am using a page--front.tpl for my frontpage. It overrides a panelpage whice i use for my frontpage. I can display the content of my panelpage with <?php print $content; ?> Is it possible to ...
0
votes
0answers
14 views

Cannot replace html.tpl.php with new template in a single module

I am creating a module to handle the reformatting of pages for printing in D7. The structure of the URL is: /print/{nid} I need to use a separate template than html.tpl.php as I have to get rid of ...
0
votes
0answers
5 views

Field with type 'Term Reference' (only if I use View as data source) display N/A as first value

I have a field with type 'Term reference' and widget 'Check boxes/radio buttons'. As a first value I have a N/A and I've no clue why it appears there. Term reference works fine if I do not use View. ...
0
votes
0answers
18 views

How to Include a php file in a block from a custom module? [on hold]

I am new to Drupal and PHP. I am trying to create a module that when activated creates a page, then creates a block, configures block to only show on the created page, and then display an included PHP ...
0
votes
0answers
6 views

SearchAPI & FacetAPI: search box above

I need to have layout like this: [search box] [facet - taxonomy 1] [facet - taxonomy 2] [search results] But there is no block for the search box itself and no block only for the results. Is there ...
2
votes
1answer
14 views

How to programmatically stop a migration?

Say I want to stop a migration that I'd like to stop on preImport under similar circumstances as a dependency not being fulfilled, is there a way to do this? I would like to stop the migration and ...
0
votes
1answer
11 views

Add CSS class to <form> element using webform and template file

I have an existing webform in Drupal 7 which I am trying to theme. So far I managed to add CSS classes, placeholders, prefix, suffix,.. to form elements (fields) but not to the actual ...

15 30 50 per page